FLARE: Faithful Logic-Aided Reasoning and Exploration
Abstract
Modern Question Answering (QA) and Reasoning approaches based on Large Language Models (LLMs) commonly use prompting techniques, such as Chain-of-Thought (CoT), assuming the resulting generation will have a more granular exploration and reasoning over the question space and scope. However, such methods struggle with generating outputs that are faithful to the intermediate chain of reasoning produced by the model. On the other end of the spectrum, neuro-symbolic methods such as Faithful CoT (F-CoT) propose to combine LLMs with external symbolic solvers. While such approaches boast a high degree of faithfulness, they usually require a model trained for code generation and struggle with tasks that are ambiguous or hard to formalise strictly. We introduce Faithful Logic-Aided Reasoning and Exploration (\ours), a novel interpretable approach for traversing the problem space using task decompositions. We use the LLM to plan a solution, soft-formalise the query into facts and predicates using a logic programming code and simulate that code execution using an exhaustive multi-hop search over the defined space. Our method allows us to compute the faithfulness of the reasoning process w.r.t. the generated code and analyse the steps of the multi-hop search without relying on external solvers. Our methods achieve SOTA results on 7 out of 9 diverse reasoning benchmarks. We also show that model faithfulness positively correlates with overall performance and further demonstrate that {\ours} allows pinpointing the decisive factors sufficient for and leading to the correct answer with optimal reasoning during the multi-hop search.
Community
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- CoMAT: Chain of Mathematically Annotated Thought Improves Mathematical Reasoning (2024)
- Textualized Agent-Style Reasoning for Complex Tasks by Multiple Round LLM Generation (2024)
- Unlocking Reasoning Potential in Large Langauge Models by Scaling Code-form Planning (2024)
- ProSLM: A Prolog Synergized Language Model for explainable Domain Specific Knowledge Based Question Answering (2024)
- StruEdit: Structured Outputs Enable the Fast and Accurate Knowledge Editing for Large Language Models (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
The paper introduces a new LLM reasoning paradigm based on logic-aided search simulation and exploration.
- We compare with CoT and Faithful CoT prompting and show that the models benefit from formalising the Natural Language Query into formal logic-programming representation and are capable of measuring the faithfulness of the final answer w.r.t. the simulated search.
- We find that model faithfulness and performance have a strong correlation.
- We further show that the method allows us to detect hallucinations and sub-optimal underutilized knowledge and show that these factors are the main contributors for final performance.
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper