arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.19918cs.AIcs.LG
收藏

Meta-Reasoner:用于大型语言模型推理时间优化的动态指导

Meta-Reasoner: Dynamic Guidance for Optimized Inference-time Reasoning in Large Language Models

National University of Singapore(新加坡国立大学);Yale University(耶鲁大学)

Yuan Sui, Yufei He, Tri Cao, Simeng Han, Yulin Chen, Bryan Hooi

AI总结:

本文提出Meta-Reasoner框架,通过动态调整推理策略提升大语言模型的推理效率,实验显示在数学和科学任务中准确率提升9-12%,推理时间减少28-35%。

摘要:

大型语言模型(LLMs)在多步推理任务中常面临计算效率和错误传播的问题。尽管最近的提示和后训练技术使LLMs能够进行分步推理,但它们仍倾向于探索无用的解决方案路径,缺乏有效的回溯或策略调整。本文提出Meta-Reasoner,一种新的框架,使LLMs能够“思考如何思考”。它通过动态适应推理策略来优化推理过程。我们的方法采用上下文多臂老虎机(CMABs)学习适应性策略。它学习评估LLM的当前推理状态,并确定最可能导向成功结果的最优策略,例如是否回溯、切换到新方法或重新开始问题解决过程。这种元指导有助于避免推理过程中的无用路径探索,从而提高计算效率。我们在数学问题(如24点游戏、定理QA)和科学任务(如SciBench)上评估Meta-Reasoner。结果表明,我们的方法在相同计算预算下,准确率优于先前的SOTA方法9-12%,推理时间减少28-35%。此外,对创意写作的额外实验展示了我们的方法在多样推理密集型任务中的通用性。

英文摘要:

Large Language Models (LLMs) often struggle with computational efficiency and error propagation in multi-step reasoning tasks. While recent advancements on prompting and post-training have enabled LLMs to perform step-wise reasoning, they still tend to explore unproductive solution paths without effective backtracking or strategy adjustment. In this paper, we propose Meta-Reasoner, a new framework that empowers LLMs to "think about how to think". It optimizes the inference process by dynamically adapting reasoning strategies in real-time. Our approach employs contextual multi-armed bandits (CMABs) to learn an adaptive policy. It learns to evaluate the current state of LLM's reasoning and determine optimal strategy that is most likely to lead to a successful outcome during inference, like whether to backtrack, switch to a new approach, or restart the problem-solving process. This meta-guidance helps avoid unproductive paths exploration during inference and hence improves computational efficiency. We evaluate Meta-Reasoner on math problems (e.g., Game-of-24, TheoremQA) and scientific tasks (e.g., SciBench). Results show that our method outperform previous SOTA methods by 9-12% in accuracy, while reducing inference time by 28-35% under the same compute budget. Additional experiments on creative writing demonstrate the generalizability of our approach to diverse reasoning-intensive tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑