arXiv:2502.19918cs.AIcs.LG2025-02ACL被引 29

让大模型学会动态调整推理策略,更准更快地解题。

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

  • 用上下文多臂老虎机动态学习最优推理路径
  • 数学与科学任务准确率提升9-12%,推理时间减少28-35%
  • 适用于需要复杂推理的各类任务,如解题、写作

大语言模型在多步推理任务中常面临计算效率低和错误传播问题。尽管提示工程与后训练技术已使模型具备分步推理能力,但仍易陷入无产出的解题路径,缺乏回溯或策略调整机制。本文提出Meta-Reasoner框架,赋予模型‘思考如何思考’的能力,通过上下文多臂老虎机(CMABs)实时学习自适应推理策略,判断是否回溯、切换方法或重启求解过程。该元引导机制有效避免无效路径探索,提升推理效率。我们在数学任务(如Game-of-24、TheoremQA)和科学任务(如SciBench)上验证该方法,结果表明,在相同计算预算下,准确率相比现有最先进方法提升9-12%,推理时间减少28-35%。此外,创造性写作实验也验证了该方法在多样化推理任务中的泛化能力。

原文摘要 · Abstract (English)

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.

大模型推理元推理动态策略效率优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。