TensorX
返回文献探索

Paper · arXiv 2502.04404

Step Back to Leap Forward: Self-Backtracking for Boosting Reasoning of Language Models

Xiao-Wen Yang, Xuan-Yi Zhu, Wen-Da Wei, Ding-Chu Zhang, Jie-Jing Shao, Zhi Zhou, Lan-Zhe Guo, Yu-Feng Li

25 upvotesFebruary 6, 2025arXiv 预印本
AI 摘要

Introducing a self-backtracking mechanism to LLMs enhances reasoning efficiency and capability, outperforming supervised fine-tuning methods.

large language models (LLMs)Level 2 AGI Reasonerso1overthinkingauxiliary reward modelssearch processself-backtracking mechanismtraininginferencereasoning abilityoptimizationperformance gainoptimal-path supervised fine-tuning method

Abstract

The integration of slow-thinking mechanisms into large language models (LLMs) offers a promising way toward achieving Level 2 AGI Reasoners, as exemplified by systems like OpenAI's o1. However, several significant challenges remain, including inefficient overthinking and an overreliance on auxiliary reward models. We point out that these limitations stem from LLMs' inability to internalize the search process, a key component of effective reasoning. A critical step toward addressing this issue is enabling LLMs to autonomously determine when and where to backtrack, a fundamental operation in traditional search algorithms. To this end, we propose a self-backtracking mechanism that equips LLMs with the ability to backtrack during both training and inference. This mechanism not only enhances reasoning ability but also efficiency by transforming slow-thinking processes into fast-thinking through self-improvement. Empirical evaluations demonstrate that our proposal significantly enhances the reasoning capabilities of LLMs, achieving a performance gain of over 40 percent compared to the optimal-path supervised fine-tuning method. We believe this study introduces a novel and promising pathway for developing more advanced and robust Reasoners.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Step Back to Leap Forward: Self-Backtracking for Boosting Reasoning of Language Models | TensorX