Preprint
Machine Learning

AutoReason Improves Multi-step Reasoning

Arda Sevinc, Abdurrahman Gumus
December 9, 2024arXiv.org2 citations

2

Citations

0

Influential Citations

arXiv.org

Venue

2024

Year

Abstract

Chain of Thought (CoT) was introduced in recent research as a method for improving step-by-step reasoning in Large Language Models. However, CoT has limited applications such as its need for hand-crafted few-shot exemplar prompts and no capability to adjust itself to different queries. In this work, we propose a system to automatically generate rationales using CoT. Our method improves multi-step implicit reasoning capabilities by decomposing the implicit query into several explicit questions. This provides interpretability for the model, improving reasoning in weaker LLMs. We test our approach with two Q\&A datasets: StrategyQA and HotpotQA. We show an increase in accuracy with both, especially on StrategyQA. To facilitate further research in this field, the complete source code for this study has been made publicly available on GitHub: https://github.com/miralab-ai/autoreason.

Analysis

Why This Paper Matters

Chain-of-thought (CoT) prompting has become a standard technique to improve reasoning in large language models (LLMs), but it typically requires hand-crafted few-shot exemplars and does not adapt to different queries. AutoReason addresses these limitations by automatically generating rationales, making CoT more practical and scalable. This is particularly important for weaker LLMs that struggle with multi-step reasoning, as the method provides interpretable intermediate steps that guide the model.

The paper's focus on automatic decomposition of implicit queries into explicit sub-questions is a novel approach that enhances both accuracy and interpretability. By breaking down complex questions, the model can reason step-by-step, which is a key factor in improving performance on challenging QA datasets like StrategyQA and HotpotQA.

Technical Contributions

  • Automatic Rationale Generation: AutoReason eliminates the need for hand-crafted exemplars by automatically generating rationales using CoT.
  • Query Decomposition: The system decomposes implicit queries into several explicit sub-questions, making the reasoning process transparent and interpretable.
  • Improved Reasoning in Weaker LLMs: The method is shown to boost reasoning capabilities in models that typically underperform on multi-step tasks.
  • Open Source: The complete source code is publicly available, facilitating reproducibility and further research.

Results

The paper reports accuracy improvements on two QA datasets: StrategyQA and HotpotQA. The gains are especially pronounced on StrategyQA, which requires implicit multi-step reasoning. While specific numbers are not provided in the abstract, the consistent improvement across both datasets suggests the method's robustness. The authors highlight that the approach is particularly beneficial for weaker LLMs, indicating that it can bridge the gap between strong and weak models.

Significance

AutoReason contributes to the growing body of work on automated prompting and reasoning enhancement. By reducing reliance on manual prompt engineering, it lowers the barrier for applying CoT in real-world applications. The interpretability aspect also aligns with the need for transparent AI systems. This work could inspire further research into automatic decomposition strategies and their integration with other reasoning frameworks, potentially leading to more capable and trustworthy LLMs.