Reasoning Paths Optimization: Learning to Reason and Explore From Diverse Paths

Yew Ken Chia, Guizhen Chen, Weiwen Xu, Luu Anh Tuan, Soujanya Poria +1 more
10/7/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: DAMO-NLP-SG/reasoning-paths-optimization (11 stars, Apache-2.0, last commit 2024-10-30).

Abstract

Advanced models such as OpenAI o1 exhibit impressive problem-solving capabilities through step-by-step reasoning. However, they may still falter on more complex problems, making errors that disrupt their reasoning paths. We attribute this to the expansive solution space, where each step has the risk of diverging into mistakes. To enhance language model reasoning, we introduce a specialized training framework called Reasoning Paths Optimization (RPO), which enables learning to reason and explore from diverse paths. Our approach encourages favorable branches at each reasoning step while penalizing unfavorable ones, enhancing the model's overall problem-solving performance. Reasoning Paths Optimization does not rely on large-scale human-annotated rationales or outputs from closed-source models, making it scalable and data-efficient. We focus on multi-step reasoning tasks, such as math word problems and science-based exam questions. The experiments demonstrate that our framework significantly enhances the reasoning performance of large language models, with up to 3.1% and 4.3% improvement on GSM8K and MMLU (STEM) respectively. Our data and code can be found at https://reasoning-paths.github.io.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[EMNLP 2024] Reasoning Paths Optimization: Learning to Reason and Explore From Diverse Paths

112Shell, PythonOct 7, 20241 years agoApache-2.0
llmreasoning

Similar Papers

Cite this paper

@article{chia2024reasoning,
  title  = {Reasoning Paths Optimization: Learning to Reason and Explore From Diverse Paths},
  author = {Yew Ken Chia and Guizhen Chen and Weiwen Xu and Luu Anh Tuan and Soujanya Poria and Lidong Bing},
  year   = {2024},
  eprint = {2410.10858},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.10858v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.10858.svg)](https://codeofpaper.com/paper/2410.10858)

Discussion