Do LLMs Dream of Discrete Algorithms?
Claudionor Coelho Jr, Yanen Li, Philip Tee

TL;DR
This paper introduces a neurosymbolic framework that combines LLMs with logic-based modules to improve reasoning, interpretability, and reliability in complex AI tasks, addressing limitations of probabilistic inference.
Contribution
It presents a novel hybrid architecture integrating LLMs with first-order logic and rule systems, enhancing reasoning accuracy and robustness.
Findings
Improved precision and coverage on the DABStep benchmark.
Enhanced interpretability and system documentation.
Reduced hallucination and incorrect reasoning in multi-step tasks.
Abstract
Large Language Models (LLMs) have rapidly transformed the landscape of artificial intelligence, enabling natural language interfaces and dynamic orchestration of software components. However, their reliance on probabilistic inference limits their effectiveness in domains requiring strict logical reasoning, discrete decision-making, and robust interpretability. This paper investigates these limitations and proposes a neurosymbolic approach that augments LLMs with logic-based reasoning modules, particularly leveraging Prolog predicates and composable toolsets. By integrating first-order logic and explicit rule systems, our framework enables LLMs to decompose complex queries into verifiable sub-tasks, orchestrate reliable solutions, and mitigate common failure modes such as hallucination and incorrect step decomposition. We demonstrate the practical benefits of this hybrid architecture…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsExplainable Artificial Intelligence (XAI) · Bayesian Modeling and Causal Inference · Topic Modeling
