paper-with-me

홈 › Papers

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

2024-09-26 · Tongxuan Liu, Wenjiang Xu, Weizhe Huang, Xingyu Wang, Jiaxing Wang, Hailong Yang, Jing Li

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

📄 PDF Abstract BibTeX arXiv:2409.17539

Code (1)

phunterlau/paper_without_code/tree/main/examples/logic-of-thoughts/ pytorch

Tasks

Logical Reasoning

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Thought-Path Contrastive Learning via Premise-Oriented Data Augmentation for Logical Reading Comprehension

2024-09-22 · Chenxu Wang, Ping Jian, Zhen Yang

Logical reading comprehension is a challenging task that entails grasping the underlying semantics of text and applying reasoning to deduce the correct answer. Prior researches have primarily focused on enhancing logical…

Contrastive LearningcounterfactualData AugmentationLogical Reasoning+1

Injecting Logical Background Knowledge into Embeddings for Relation Extraction

2015-05-01 · HLT 2015 5 · Sebastian Riedel, Sameer Singh, Tim Rocktäschel
RelationRelation Extraction

Injecting Logical Constraints into Neural Networks via Straight-Through Estimators

2023-07-10 · Zhun Yang, Joohyung Lee, Chiyoun Park

Injecting discrete logical constraints into neural network learning is one of the main challenges in neuro-symbolic AI. We find that a straight-through-estimator, a method introduced to train binary neural networks, coul…

Injecting Hierarchical Biological Priors into Graph Neural Networks for Flow Cytometry Prediction

2024-05-28 · Fatemeh Nassajian Mojarrad, Lorenzo Bini, Thomas Matthes, Stéphane Marchand-Maillet

In the complex landscape of hematologic samples such as peripheral blood or bone marrow derived from flow cytometry (FC) data, cell-level prediction presents profound challenges. This work explores injecting hierarchical…

Multi-class Classification

Thought Graph: Generating Thought Process for Biological Reasoning

2024-03-11 · Chi-Yang Hsu, Kyle Cox, Jiawei Xu, Zhen Tan 외

We present the Thought Graph as a novel framework to support complex reasoning and use gene set analysis as an example to uncover semantic relationships between biological processes. Our framework stands out for its abil…