Hamza
Naseem.
Neuro-Symbolic AI Researcher · Stanford Section Leader · Systems Engineer
Hi, I'm Hamza — a neuro-symbolic AI researcher and Stanford Code in Place Section Leader based in Karachi. I study whether AI systems can reason as rigorously as classical deductive logic demands. My research, LogicGuard, adapts Ibn Sina's 11th-century syllogistic framework (Qiyas) into a deterministic LLM verification engine — achieving 100% precision across 525 TruthfulQA benchmarks with zero false positives.
Research Interests
News
Awards & Credentials
Teaching
I believe rigorous thinking is teachable — if you connect abstract ideas to a learner's existing mental models, and give them real problems to reason through, not just syntax to memorize.

Research & Education
What I study, current research focus, and test scores.
I spent 8 years studying classical Aristotelian logic (Mantiq) — a formal system for deductive reasoning refined in the Islamic Golden Age by scholars like Ibn Sina and Al-Farabi. When I first encountered large language models, I noticed something troubling: they can mimic sound reasoning without actually performing it. That gap — between linguistic fluency and logical validity — is what I work on.
Most AI evaluations test whether an LLM can produce a plausible-sounding answer. My research focuses on a more foundational question: can we mathematically verify that an AI's deduction is sound before it is delivered to a user?
With LogicGuard, my co-author Moiz Ali and I adapted Ibn Sina's 11th-century syllogistic logic (Qiyas) into a deterministic premise-validation engine. Evaluated across 525 TruthfulQA benchmarks on open-weight models (LLaMA and Mistral), it caught logical hallucinations with 100% precision and zero false positives.
I am currently extending this logic-first verification model to autonomous multi-agent pipelines and clinical phone operations at Bytelytic and CALLE-AI.
Work & Projects
4Production systems, open-source architectures, neuro-symbolic research, and hackathon prototypes.
Experience
5Teaching leadership, engineering roles, and institutional operations.


Activity
Consistent daily shipping — research, client systems, and open-source. Pulled live from GitHub.
Contact
If you are a professor, researcher, or educator working in computer science, AI alignment, CS pedagogy, or neuro-symbolic reasoning — I would welcome a conversation. I am also open to research collaboration and always appreciate feedback on my work.


