Logic-of-Thought: Empowering Large Language Models with Logic Programs for Solving Puzzles in Natural Language
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Solving puzzles in natural language poses a long-standing challenge in AI. While large language models (LLMs) have recently shown impressive capabilities in a variety of tasks, they continue to struggle with complex puzzles that demand precise reasoning and exhaustive search. In this paper, we propose Logic-of-Thought (Logot), a novel framework that bridges LLMs with logic programming to address this problem. Our method leverages LLMs to translate puzzle rules and states into answer set programs (ASPs), the solution of which are then accurately and efficiently inferred by an ASP interpreter. This hybrid approach combines the natural language understanding of LLMs with the precise reasoning capabilities of logic programs. We evaluate our method on various grid puzzles and dynamic puzzles involving actions, demonstrating near-perfect accuracy across all tasks. Our code and data are available at: https://github.com/naiqili/Logic-of-Thought.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 7 of its 39 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
7 of 39 references.
Closest ancestors · 2
Same direction, newest first
- 2024DeepSeek-V3 Technical Report27 Dec
- 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
Other references · 5
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Mistral 7Bcited by 3,164
- 2024Large Language Models: A Surveycited by 525
- 2024FCoReBench: Can Large Language Models Solve Challenging First-Order Combinatorial Reasoning Problems?cited by 16
- 2024Mathematical Definition and Systematization of Puzzle Rulescited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025Towards a Common Framework for Autoformalizationcited by 7
- 2025PuzzleClone: A DSL-Powered Framework for Synthesizing Verifiable Datacited by 0
- 2025Intermediate Languages Matter: Formal Languages and LLMs affect Neurosymbolic Reasoningcited by 0
- 2025Bridging Natural Language and ASP: A Hybrid Approach Using LLMs and AMR Parsingcited by 0
- 2026SOM: Structured Opponent Modeling for LLM-based Agents via Structural Causal Modelcited by 0
- 2026SOM: Structured Opponent Modeling for LLM-based Agents via Structural Causal Model8 May 2026
- 2025Bridging Natural Language and ASP: A Hybrid Approach Using LLMs and AMR Parsing11 Nov 2025
- 2025Towards a Common Framework for Autoformalization11 Sep 2025
- 2025Intermediate Languages Matter: Formal Languages and LLMs affect Neurosymbolic Reasoning4 Sep 2025
- 2025PuzzleClone: A DSL-Powered Framework for Synthesizing Verifiable Data21 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2024Puzzle Solving using Reasoning of Large Language Models: A Survey
- 2023Leveraging Large Language Models to Generate Answer Set Programs
- 2025Enigmata: Scaling Logical Reasoning in Large Language Models with Synthetic Verifiable Puzzles
- 2025Logical Reasoning in Large Language Models: A Survey
- 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas
- 2025AutoLogi: Automated Generation of Logic Puzzles for Evaluating Reasoning Abilities of Large Language Models
- 2023Large Language Model Guided Tree-of-Thought
- 2024Navigating the Labyrinth: Evaluating LLMs' Ability to Reason About Search Problems