Thought-Like-Pro: Enhancing Reasoning of Large Language Models through Self-Driven Prolog-based Chain-of-Thought
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Large language models have demonstrated remarkable capabilities as general-purpose assistants, excelling in a wide range of reasoning tasks and supporting various aspects of daily web usage. This achievement represents a significant step toward achieving artificial general intelligence. Despite these advancements, the effectiveness of large language models often hinges on the specific prompting strategies employed, and there remains a lack of a robust framework to facilitate learning and generalization across diverse reasoning tasks. To address these challenges, we introduce a novel learning framework, Thought-Like-Pro. In this framework, we utilize imitation learning to imitate the Chain-of-Thought process which is verified and translated from reasoning trajectories generated by a symbolic Prolog logic engine. This framework proceeds in a prompt-guided but self-bootstrapped manner, that enables large language models to formulate rules and statements from given instructions and leverage the symbolic Prolog engine to derive results. Subsequently, large language models convert Prolog-derived successive reasoning trajectories into natural language chain-of-thought for imitation learning. The empirical findings indicate that our proposed approach greatly improves the reasoning capacity of large language models. By employing model averaging techniques, our method exhibits only a marginal decline in performance for distributional extrapolation tasks, showing robust generalization capabilities. We present a technical approach that integrates symbolic reasoning with language modeling, with the potential to support the development of large language models as cognitively inspired systems. The part of the dataset we used has been open-sourced.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 52 of its 68 references that are in the map. First posted on arXiv 18 Jul 2024.
Builds on
52 of 68 references.
Closest ancestors · 10
Same direction, newest first
- 2024Chain-of-Thought Reasoning Without Prompting15 Feb
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Models18 Aug
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting7 May
- 2023Faithful Chain-of-Thought Reasoning31 Jan
- 2022Teaching Small Language Models to Reason16 Dec
- 2022Automatic Chain of Thought Prompting in Large Language Models7 Oct
- 2022Complexity-Based Prompting for Multi-Step Reasoning3 Oct
- 2022Large Language Models are Zero-Shot Reasoners24 May
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Models21 Mar
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan
Other references · 42
- 2023GPT-4 Technical Reportcited by 18,132
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023A Survey of Large Language Modelscited by 2,537
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
30 more
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 743
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2018An Algorithmic Perspective on Imitation Learningcited by 455
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 379
- 2015Neural Module Networkscited by 375
- 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 334
- 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 331
- 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
- 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 248
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 222
- 2023Large Language Model Guided Tree-of-Thoughtcited by 218
- 2023A Stitch in Time Saves Nine: Detecting and Mitigating Hallucinations of LLMs by Validating Low-Confidence Generationcited by 202
- 2022Factuality Enhanced Language Models for Open-Ended Text Generationcited by 200
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
- 2019Learning by Abstraction: The Neural State Machinecited by 113
- 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
- 2022LAMBADA: Backward Chaining for Automated Reasoning in Natural Languagecited by 66
- 2019Neural Module Networks for Reasoning over Textcited by 65
- 2022Entailer: Answering Questions with Faithful and Truthful Chains of Reasoningcited by 38
- 2023A Comparative Study of Open-Source Large Language Models, GPT-4 and Claude 2: Multiple-Choice Test Taking in Nephrologycited by 26
- 2016Learning a Natural Language Interface with Neural Programmercited by 14
- 2023STREET: A Multi-Task Structured Reasoning and Explanation Benchmarkcited by 13
- 2023Challenges and Contributing Factors in the Utilization of Large Language Models (LLMs)cited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
- 2025Fast Thinking for Large Language Models
- 2025From Reasoning to Learning: A Survey on Hypothesis Discovery and Rule Learning with Large Language Models
- 2025The Challenge of Teaching Reasoning to LLMs Without RL or Distillation
- 2025Activation Control for Efficiently Eliciting Long Chain-of-thought Ability of Language Models
- 2024On the Hardness of Faithful Chain-of-Thought Reasoning in Large Language Models
- 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agents
- 2024ReGenesis: LLMs can Grow into Reasoning Generalists via Self-Improvement