mlsanityData to 14 Oct 2026

Logic-of-Thought: Empowering Large Language Models with Logic Programs for Solving Puzzles in Natural Language

arXiv 2505.16114 ↗First posted 22 May 2025cs.AIcited by 5

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

  1. 2024DeepSeek-V3 Technical Report27 Dec
  2. 2023LLaMA: Open and Efficient Foundation Language Models27 Feb

Other references · 5

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2023Mistral 7Bcited by 3,164
  3. 2024Large Language Models: A Surveycited by 525
  4. 2024FCoReBench: Can Large Language Models Solve Challenging First-Order Combinatorial Reasoning Problems?cited by 16
  5. 2024Mathematical Definition and Systematization of Puzzle Rulescited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Puzzle Solving using Reasoning of Large Language Models: A Survey
  2. 2023Leveraging Large Language Models to Generate Answer Set Programs
  3. 2025Enigmata: Scaling Logical Reasoning in Large Language Models with Synthetic Verifiable Puzzles
  4. 2025Logical Reasoning in Large Language Models: A Survey
  5. 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas
  6. 2025AutoLogi: Automated Generation of Logic Puzzles for Evaluating Reasoning Abilities of Large Language Models
  7. 2023Large Language Model Guided Tree-of-Thought
  8. 2024Navigating the Labyrinth: Evaluating LLMs' Ability to Reason About Search Problems