Towards Logically Sound Natural Language Reasoning with Logic-Enhanced Language Model Agents
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Large language models (LLMs) are increasingly explored as general-purpose reasoners, particularly in agentic contexts. However, their outputs remain prone to mathematical and logical errors. This is especially challenging in open-ended tasks, where unstructured outputs lack explicit ground truth and may contain subtle inconsistencies. To address this issue, we propose Logic-Enhanced Language Model Agents (LELMA), a framework that integrates LLMs with formal logic to enable validation and refinement of natural language reasoning. LELMA comprises three components: an LLM-Reasoner, an LLM-Translator, and a Solver, and employs autoformalization to translate reasoning into logic representations, which are then used to assess logical validity. Using game-theoretic scenarios such as the Prisoner's Dilemma as testbeds, we highlight the limitations of both less capable (Gemini 1.0 Pro) and advanced (GPT-4o) models in generating logically sound reasoning. LELMA achieves high accuracy in error detection and improves reasoning correctness via self-refinement, particularly in GPT-4o. The study also highlights challenges in autoformalization accuracy and in evaluation of inherently ambiguous open-ended reasoning tasks.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 21 of its 37 references that are in the map. First posted on arXiv 28 Aug 2024.
Builds on
21 of 37 references.
Closest ancestors · 2
Same direction, newest first
- 2024GTBench: Uncovering the Strategic Reasoning Limitations of LLMs via Game-Theoretic Evaluations19 Feb
- 2024LLMs Can't Plan, But Can Help Planning in LLM-Modulo Frameworks2 Feb
Other references · 19
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 391
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
- 2022Autoformalization with Large Language Modelscited by 263
- 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
- 2023Playing repeated games with Large Language Modelscited by 217
- 2024Foundational Challenges in Assuring Alignment and Safety of Large Language Modelscited by 199
- 2024Agent AI: Surveying the Horizons of Multimodal Interactioncited by 170
- 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
7 more
- 2023Can Large Language Models Serve as Rational Players in Game Theory? A Systematic Analysiscited by 92
- 2024LLM-based NLG Evaluation: Current Status and Challengescited by 73
- 2023nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Modelscited by 60
- 2023NL2TL: Transforming Natural Languages to Temporal Logics using Large Language Modelscited by 59
- 2023Coupling Large Language Models with Logic Programming for Robust and General Reasoning from Textcited by 59
- 2023Language Models can be Logical Solverscited by 24
- 2022Fifty Years of Prolog and Beyondcited by 15
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025Approximating Human Strategic Reasoning with LLM-Enhanced Recursive Reasoners Leveraging Multi-agent Hypergamescited by 7
- 2024Autoformalization of Game Descriptions using Large Language Modelscited by 5
- 2025The Influence of Human-inspired Agentic Sophistication in LLM-driven Strategic Reasonerscited by 3
- 2026VeryTrace: Verifying Reasoning Traces through Compilable Formalism and Structured Verificationcited by 1
- 2026VeryTrace: Verifying Reasoning Traces through Compilable Formalism and Structured Verification23 Jun 2026
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025The Influence of Human-inspired Agentic Sophistication in LLM-driven Strategic Reasoners14 May 2025
- 2025Approximating Human Strategic Reasoning with LLM-Enhanced Recursive Reasoners Leveraging Multi-agent Hypergames11 Feb 2025
- 2024Autoformalization of Game Descriptions using Large Language Models18 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2025Logical Reasoning in Large Language Models: A Survey
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems
- 2024Logic Agent: Enhancing Validity with Logic Rule Invocation
- 2025AutoLogi: Automated Generation of Logic Puzzles for Evaluating Reasoning Abilities of Large Language Models
- 2024LogicGame: Benchmarking Rule-Based Reasoning Abilities of Large Language Models
- 2024Large Language Models Are Neurosymbolic Reasoners
- 2025MastermindEval: A Simple But Scalable Reasoning Benchmark
- 2026PrologMCP: A Standardized Prolog Tool Interface for LLM Agents