Logic-of-Thought: Injecting Logic into Contexts for Full Reasoning in Large Language Models
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.
Authors: Tongxuan Liu, Wenjiang Xu, Weizhe Huang, Xingyu Wang, Jiaxing Wang, Hailong Yang, Jing Li
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%.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
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 representationLook 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.