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

AI-generated keywords: Large Language Models (LLMs)

AI-generated Key Points

  • Large Language Models (LLMs) excel in NLP tasks but struggle with complex logical reasoning.
  • Chain-of-Thought (CoT) prompting introduces intermediate steps for logical reasoning enhancement.
  • Existing methods like CoT may suffer from unfaithful reasoning, leading to misaligned conclusions.
  • Some studies integrate propositional logic to improve LLMs' logical reasoning abilities.
  • Logic-of-Thought (LoT) prompting proposes using propositional logic to extract expanded logical information and augment input prompts for LLMs.
  • LoT aims to enhance logical reasoning while preserving the original input prompt and can be seamlessly integrated with existing methods.
  • Extensive experiments show that LoT significantly improves performance across various logical reasoning tasks:
  • Enhances Chain-of-Thought's performance on ReClor dataset by +4.35%
  • Improves Chain-of-Thought with Self-Consistency on LogiQA by +5%
  • Boosts Tree-of-Thoughts on ProofWriter dataset by +8%
  • LoT guides LLMs to produce more accurate and reliable results in logical reasoning tasks compared to traditional prompting methods.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

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

20 pages
License: CC BY 4.0

Abstract: 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%.

Submitted to arXiv on 26 Sep. 2024

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2409.17539v1

, , , , In recent years, Large Language Models (LLMs) have shown impressive capabilities in various NLP tasks. However, they still struggle with complex logical reasoning tasks. To enhance their logical reasoning abilities, Chain-of-Thought (CoT) prompting has been introduced as a method to add intermediate steps in the reasoning process. While this has shown promise, existing methods like CoT suffer from unfaithful reasoning where derived conclusions may not align with the generated chain of thought. To address this challenge, some studies have integrated propositional logic to improve LLMs' logical reasoning abilities. However, there are potential omissions in extracting logical expressions that can lead to information loss and incorrect results. To overcome these limitations, a new approach called Logic-of-Thought (LoT) prompting is proposed in this paper. LoT utilizes propositional logic to extract expanded logical information from the input context and integrates it as additional augmentation to the input prompts for LLMs. The LoT approach aims to enhance the capability of logical reasoning while preserving the original input prompt. It is complementary to existing prompting methods and can be seamlessly integrated with them. Extensive experiments have demonstrated that LoT significantly boosts the performance of various prompting methods across five logical reasoning tasks. For instance, it enhances Chain-of-Thought's performance on the ReClor dataset by +4.35%, improves Chain-of-Thought with Self-Consistency on LogiQA by +5%, and boosts Tree-of-Thoughts on ProofWriter dataset by +8%. By incorporating expanded logical information into the input prompts, LoT effectively guides LLMs in producing more accurate and reliable results in logical reasoning tasks compared to traditional prompting methods.
Created on 30 Sep. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.