Logic-of-Thought: Injecting Logic into Contexts for Full Reasoning in Large Language Models

Auteurs : Tongxuan Liu, Wenjiang Xu, Weizhe Huang, Xingyu Wang, Jiaxing Wang, Hailong Yang, Jing Li

Soumis à arXiv le 26 Sep. 2024
Licence : CC BY 4.0
Résumé scientifique

Large Language Models (LLMs) have demonstrated remarkable capabilities across various tasks but their performance in complex logical reasoning tasks remains unsatisfactory. Although some prompting methods, such as Chain-of-Thought, can improve the reasoning ability of LLMs to some extent, they suffer from an unfaithful issue where derived conclusions may not align with the generated reasoning chain. To address this issue, some studies employ the approach of propositional logic to further enhance logical reasoning abilities of LLMs. However, the potential omissions in the extraction of logical expressions in these methods can cause information loss in the logical reasoning process, thereby generating incorrect results. To this end, we propose Logic-of-Thought (LoT) prompting which employs propositional logic to generate expanded logical information from input context, and utilizes the generated logical information as an additional augmentation to the input prompts, thereby enhancing the capability of logical reasoning. The LoT is orthogonal to existing prompting methods and can be seamlessly integrated with them. Extensive experiments demonstrate that LoT boosts the performance of various prompting methods with a striking margin across five logical reasoning tasks. In particular, the LoT enhances Chain-of-Thought's performance on the ReClor dataset by +4.35%; moreover, it improves Chain-of-Thought with Self-Consistency's performance on LogiQA by +5%; additionally, it boosts performance of Tree-of-Thoughts on ProofWriter dataset by +8%.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche
    Enhancing Zero-Shot Chain-of-Thought Reasoning in Large Language Models through Logic
    Xufeng Zhao, Mengdi Li, Wenhao Lu et al. · 2023 · Computation and Language · cité 91 fois · Résumé IA disponible
    Résumé scientifique

    Recent advancements in large language models have showcased their remarkable generalizability across various domains. However, their reasoning abilities still have significant room for improvement, especially when confronted with scenarios requiring multi-step reasoning. Although large language models possess extensive knowledge, their behavior, particularly in terms of reasoning, often fails to effectively utilize this knowledge to establish a coherent thinking paradigm. Generative language models sometimes show hallucinations as their reasoning procedures are unconstrained by logical principles. Aiming to improve the zero-shot chain-of-thought reasoning ability of large language models, we…

  2. Très proche
    Advancing Reasoning in Large Language Models: Promising Methods and Approaches
    Avinash Patil · 2025 · arXiv.org · preprint, non relu par les pairs · cité 70 fois · Pas encore résumé
    Résumé scientifique

    Large Language Models (LLMs) have succeeded remarkably in various natural language processing (NLP) tasks, yet their reasoning capabilities remain a fundamental challenge. While LLMs exhibit impressive fluency and factual recall, their ability to perform complex reasoning-spanning logical deduction, mathematical problem-solving, commonsense inference, and multi-step reasoning-often falls short of human expectations. This survey provides a comprehensive review of emerging techniques enhancing reasoning in LLMs. We categorize existing methods into key approaches, including prompting strategies (e.g., Chain-of-Thought reasoning, Self-Consistency, and Tree-of-Thought reasoning), architectural in…

  3. Très proche
    Large Language Models as an Indirect Reasoner: Contrapositive and Contradiction for Automated Reasoning
    Yanfang Zhang, Yi-Liu Sun, Yi-Bing Zhan et al. · 2024 · International Conference on Computational Linguistics · cité 6 fois · Pas encore résumé
    Résumé scientifique

    Recently, increasing attention has been focused on improving the ability of Large Language Models (LLMs) to perform complex reasoning. Advanced methods, such as Chain-of-Thought (CoT) and its variants, are found to enhance their reasoning skills by designing suitable prompts or breaking down complex problems into more manageable sub-problems. However, little concentration has been put on exploring the reasoning process, \textit{i.e.}, we discovered that most methods resort to Direct Reasoning (DR) and disregard Indirect Reasoning (IR). This can make LLMs difficult to solve IR tasks, which are often encountered in the real world. To address this issue, we propose a Direct-Indirect Reasoning (…

  4. Très proche
    Learning To Teach Large Language Models Logical Reasoning
    Meiqi Chen, Yubo Ma, Kaitao Song et al. · 2023 · Artificial Intelligence · cité 32 fois · Résumé IA disponible
    Résumé scientifique

    Large language models (LLMs) have gained enormous attention from both academia and industry, due to their exceptional ability in language generation and extremely powerful generalization. However, current LLMs still output unreliable content in practical reasoning tasks due to their inherent issues (e.g., hallucination). To better disentangle this problem, in this paper, we conduct an in-depth investigation to systematically explore the capability of LLMs in logical reasoning. More in detail, we first investigate the deficiency of LLMs in logical reasoning on different tasks, including event relation extraction and deductive reasoning. Our study demonstrates that LLMs are not good reasoners …

  5. Très proche
    Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
    Mihir Parmar, Nisarg Patel, Neeraj Varshney et al. · 2024 · Computation and Language · cité 108 fois · Résumé IA disponible
    Résumé scientifique

    Recently developed large language models (LLMs) have been shown to perform remarkably well on a wide range of language understanding tasks. But, can they really "reason" over the natural language? This question has been receiving significant research attention and many reasoning skills such as commonsense, numerical, and qualitative have been studied. However, the crucial skill pertaining to 'logical reasoning' has remained underexplored. Existing work investigating this reasoning ability of LLMs has focused only on a couple of inference rules (such as modus ponens and modus tollens) of propositional and first-order logic. Addressing the above limitation, we comprehensively evaluate the logi…

  6. Très proche
    A Survey of Complex Reasoning Enhancement Methods for Large Language Models
    Ya-Jun Huang · 2025 · 2025 22nd International Computer Conference on Wavelet Active Media Technology and Information Processing (ICCWAMTIP) · Pas encore résumé
    Résumé scientifique

    While Large Language Models (LLMs) have achieved remarkable success in Natural Language Processing (NLP), they continue to struggle with complex, multi-step, and cross-domain reasoning tasks due to limitations in logical depth and error propagation. This survey systematically bridges this gap by proposing a comprehensive taxonomy of reasoning enhancement methodologies. We categorize and critically analyze four primary strategies: (1) Inference Optimization, covering advanced prompting mechanisms like Chain-of-Thought (CoT) and Tree-of- Thought (ToT); (2) Self-Correction, utilizing self-optimization and Process Reward Models (PRM); (3) External Augmentation, integrating Knowledge Graphs (KG) …

  7. Très proche
    R3 Prompting: Review, Rephrase and Resolve for Chain-of-Thought Reasoning in Large Language Models under Noisy Context
    Qingyuan Tian, Hanlun Zhu, Lei Wang et al. · 2023 · Conference on Empirical Methods in Natural Language Processing · cité 11 fois · Pas encore résumé
    Résumé scientifique

    With the help of Chain-of-Thought (CoT) prompting, Large Language Models (LLMs) have achieved remarkable performance on various reasoning tasks. However, most of them have been evaluated under noise-free context and the dilemma for LLMs to produce inaccurate results under the noisy context has not been fully investigated. Existing studies utilize trigger sentences to encourage LLMs to concentrate on the relevant information but the trigger has limited effect on final answer prediction. Inspired by interactive CoT method, where intermediate reasoning steps are promoted by multiple rounds of interaction between users and LLMs, we propose a novel prompting method, namely R$^3$ prompting, for Co…

  8. Très proche
    Non-Interactive Symbolic-Aided Chain-of-Thought for Logical Reasoning
    Phuong Minh Nguyen, Dang Huu-Tien, Naoya Inoue · 2025 · Pacific Asia Conference on Language, Information and Computation · cité 5 fois · Pas encore résumé
    Résumé scientifique

    This work introduces Symbolic-Aided Chain-of-Thought (CoT), an improved approach to standard CoT, for logical reasoning in large language models (LLMs). The key idea is to integrate lightweight symbolic representations into few-shot prompts, structuring the inference steps with a consistent strategy to make reasoning patterns more explicit within a non-interactive reasoning process. By incorporating these symbolic structures, Symbolic-Aided CoT preserves the generalizability of standard prompting techniques while enhancing the transparency, interpretability, and analyzability of LLM logical reasoning. Extensive experiments on four well-known logical reasoning benchmarks -- ProofWriter, FOLIO…

Les travaux antérieurs sur lesquels il s’appuie

  1. Très proche Utilisé en profondeur par cet article Une méthode qu’il utilise
    Satisfiability-Aided Language Models Using Declarative Prompting
    Xi Ye, Qiaochu Chen, I. Dillig et al. · 2023 · Neural Information Processing Systems · cité 192 fois · Pas encore résumé
    Résumé scientifique

    Prior work has combined chain-of-thought prompting in large language models (LLMs) with programmatic representations to perform effective and transparent reasoning. While such an approach works well for tasks that only require forward reasoning (e.g., straightforward arithmetic), it is less effective for constraint solving problems that require more sophisticated planning and search. In this paper, we propose a new satisfiability-aided language modeling (SatLM) approach for improving the reasoning capabilities of LLMs. We use an LLM to generate a declarative task specification rather than an imperative program and leverage an off-the-shelf automated theorem prover to derive the final answer.…

  2. Très proche Utilisé en profondeur par cet article
    Tree of Thoughts: Deliberate Problem Solving with Large Language Models
    Shunyu Yao, Dian Yu, Jeffrey Zhao et al. · 2023 · Computation and Language · cité 5 269 fois · Résumé IA disponible
    Résumé scientifique

    Language models are increasingly being deployed for general problem solving across a wide range of tasks, but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges, we introduce a new framework for language model inference, Tree of Thoughts (ToT), which generalizes over the popular Chain of Thought approach to prompting language models, and enables exploration over coherent units of text (thoughts) that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate d…

  3. Très proche Une méthode qu’il utilise
    LAMBADA: Backward Chaining for Automated Reasoning in Natural Language
    Mehran Kazemi, Najoung Kim, Deepti Bhatia et al. · 2022 · Annual Meeting of the Association for Computational Linguistics · cité 110 fois · Pas encore résumé
    Résumé scientifique

    Remarkable progress has been made on automated reasoning with natural text, by using Large Language Models (LLMs) and methods such as Chain-of-Thought prompting and Selection-Inference. These techniques search for proofs in the forward direction from axioms to the conclusion, which suffers from a combinatorial explosion of the search space, and thus high failure rates for problems requiring longer chains of reasoning. The classical automated reasoning literature has shown that reasoning in the backward direction (i.e. from intended conclusion to supporting axioms) is significantly more efficient at proof-finding. Importing this intuition into the LM setting, we develop a Backward Chaining al…

  4. Très proche Une méthode qu’il utilise
    Faithful Chain-of-Thought Reasoning
    Qing Lyu, Shreya Havaldar, Adam Stein et al. · 2023 · International Joint Conference on Natural Language Processing · cité 489 fois · Pas encore résumé
    Résumé scientifique

    While Chain-of-Thought (CoT) prompting boosts Language Models' (LM) performance on a gamut of complex reasoning tasks, the generated reasoning chain does not necessarily reflect how the model arrives at the answer (aka. faithfulness). We propose Faithful CoT, a reasoning framework involving two stages: Translation (Natural Language query $\rightarrow$ symbolic reasoning chain) and Problem Solving (reasoning chain $\rightarrow$ answer), using an LM and a deterministic solver respectively. This guarantees that the reasoning chain provides a faithful explanation of the final answer. Aside from interpretability, Faithful CoT also improves empirical performance: it outperforms standard CoT on 9 o…

  5. Très proche
    Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
    Jason Wei, Xuezhi Wang, Dale Schuurmans et al. · 2022 · Computation and Language · cité 23 481 fois · Résumé IA disponible
    Résumé scientifique

    We explore how generating a chain of thought -- a series of intermediate reasoning steps -- significantly improves the ability of large language models to perform complex reasoning. In particular, we show how such reasoning abilities emerge naturally in sufficiently large language models via a simple method called chain of thought prompting, where a few chain of thought demonstrations are provided as exemplars in prompting. Experiments on three large language models show that chain of thought prompting improves performance on a range of arithmetic, commonsense, and symbolic reasoning tasks. The empirical gains can be striking. For instance, prompting a 540B-parameter language model with just…

Les articles qui le citent

  1. Très proche Utilise cet article en profondeur
    Empowering LLMs with Logical Reasoning: A Comprehensive Survey
    Fengxiang Cheng, Haoxuan Li, Fenrong Liu et al. · 2024 · International Joint Conference on Artificial Intelligence · cité 103 fois · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) have achieved remarkable successes on various tasks. However, recent studies have found that there are still significant challenges to the logical reasoning abilities of LLMs, which can be categorized into the following two aspects: (1) Logical question answering: LLMs often fail to generate the correct answer within a complex logical problem which requires sophisticated deductive, inductive or abductive reasoning given a collection of premises and constrains. (2) Logical consistency: LLMs are prone to producing responses contradicting themselves across different questions. For example, a state-of-the-art question-answering LLM Macaw, answers Yes to both question…

  2. Très proche Utilise cet article en profondeur
    IFDNS: An Iterative Feedback-Driven Neuro-Symbolic Method for Faithful Logical Reasoning
    Xiaoheng Wang, Tong-Xuan Liu, Zi Gong et al. · 2026 · arXiv.org · preprint, non relu par les pairs · Pas encore résumé
    Résumé scientifique

    Large language models (LLMs) have demonstrated impressive capabilities across a wide range of reasoning tasks, including logical and mathematical problem-solving. While prompt-based methods like Chain-of-Thought (CoT) can enhance LLM reasoning abilities to some extent, they often suffer from a lack of faithfulness, where the derived conclusions may not align with the generated reasoning chain. To address this issue, researchers have explored neuro-symbolic approaches to bolster LLM logical reasoning capabilities. However, existing neuro-symbolic methods still face challenges with information loss during the process. To overcome these limitations, we introduce Iterative Feedback-Driven Neuro-…

  3. Très proche
    The Promise and Limits of LLMs in Constructing Proofs and Hints for Logic Problems in Intelligent Tutoring Systems
    Sutapa Dey Tithi, Arun Kumar Ramesh, Clara DiMarco et al. · 2025 · Computers and Education: Artificial Intelligence · cité 6 fois · Pas encore résumé
    Résumé scientifique

    Intelligent tutoring systems have demonstrated effectiveness in teaching formal propositional logic proofs, but their reliance on template-based explanations limits their ability to provide personalized student feedback. While large language models (LLMs) offer promising capabilities for dynamic feedback generation, they risk producing hallucinations or pedagogically unsound explanations. We evaluated the stepwise accuracy of LLMs in constructing multi-step symbolic logic proofs, comparing six prompting techniques across four state-of-the-art LLMs on 358 propositional logic problems. Results show that DeepSeek-V3 achieved superior performance up to 86.7% accuracy on stepwise proof constructi…

  4. Très proche
    LogicReward: Incentivizing LLM Reasoning via Step-Wise Logical Supervision
    Jundong Xu, Hao Fei, Hui-Chi Zhou et al. · 2025 · cité 10 fois · Pas encore résumé
    Résumé scientifique

    Although LLMs exhibit strong reasoning capabilities, existing training methods largely depend on outcome-based feedback, which can produce correct answers with flawed reasoning. Prior work introduces supervision on intermediate steps but still lacks guarantees of logical soundness, which is crucial in high-stakes scenarios where logical consistency is paramount. To address this, we propose LogicReward, a novel reward system that guides model training by enforcing step-level logical correctness with a theorem prover. We further introduce Autoformalization with Soft Unification, which reduces natural language ambiguity and improves formalization quality, enabling more effective use of the theo…

  5. Très proche
    Beyond Correctness: Exposing LLM-generated Logical Flaws in Reasoning via Multi-step Automated Theorem Proving
    Xinyi Zheng, Ning-Ke Li, Xiao-Kun Luan et al. · 2025 · Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering · cité 7 fois · Pas encore résumé
    Résumé scientifique

    Large Language Models (LLMs) have demonstrated impressive reasoning capabilities, leading to their adoption in high-stakes domains such as healthcare, law, and scientific research. However, their reasoning often contains subtle logical errors masked by fluent language, posing significant risks for critical applications. While existing approaches like fact-checking, self-consistency methods, and rule-based validation provide partial solutions, they fail to detect complex logical flaws in multi-step reasoning. To overcome these challenges, we present MATP, an evaluation framework for systematically verifying LLM reasoning via Multi-step Automatic Theorem Proving. MATP translates natural langua…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 2 novembre 2026.

Le guide illustré des articles autour d’un article