Do LLMs Dream of Discrete Algorithms?
Not on the map. Why?
Abstract (arXiv)
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 through experiments on the DABStep benchmark, showing improved precision, coverage, and system documentation in multi-step reasoning tasks. Our results indicate that combining LLMs with modular logic reasoning restores engineering rigor, enhances system reliability, and offers a scalable path toward trustworthy, interpretable AI agents across complex domains.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 54 references that are in the map. First posted on arXiv 29 Jun 2025.
Builds on
14 of 54 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 391
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 302
- 2024On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Taskscited by 142
- 2025From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMscited by 124
- 2024Graph-enhanced Large Language Models in Asynchronous Plan Reasoningcited by 37
- 2025CoT is Not True Reasoning, It Is Just a Tight Constraint to Imitate: A Theory Perspectivecited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach
- 2025Logical Reasoning in Large Language Models: A Survey
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems
- 2024Beyond LLMs: Advancing the Landscape of Complex Reasoning
- 2024Proof of Thought : Neurosymbolic Program Synthesis allows Robust and Interpretable Reasoning
- 2025A Modular Dataset to Demonstrate LLM Abstraction Capability
- 2024LLMs for Relational Reasoning: How Far are We?
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents