arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.10245cs.AIcs.CLcs.LG
收藏

TRIM:通过多步推理任务中的目标逐步路由进行混合推理

TRIM: Hybrid Inference via Targeted Stepwise Routing in Multi-Step Reasoning Tasks

Carnegie Mellon University(卡内基梅隆大学);Amazon(亚马逊)

Vansh Kapoor, Aman Gupta, Hao Chen, Anurag Beniwal, Jing Huang, Aviral Kumar

AI总结:

TRIM通过目标逐步路由在多步推理任务中提升推理效率,通过识别错误步骤并分配不同模型处理,实现更高的成本效率。

摘要:

多步推理任务如数学问题解决容易受到级联故障的影响,其中一步错误会导致整个解决方案崩溃。当前LLM路由方法将整个查询分配给一个模型,将所有推理步骤视为平等。我们提出了TRIM(多步推理任务中的目标路由),仅将关键步骤——那些可能使解决方案偏离的步骤——路由到更大的模型,而让较小的模型处理常规的延续。我们的关键见解是,通过目标步骤级干预可以从根本上改变推理效率,通过将昂贵的调用限制在那些需要更强模型以防止级联错误的步骤中。TRIM在步骤级别运行:它使用过程奖励模型来识别错误步骤,并基于步骤级别的不确定性和预算约束做出路由决策。我们开发了几种TRIM内的路由策略,从简单的阈值策略到更表达性的策略,这些策略能够推理关于长周期准确性-成本权衡和步骤级正确性估计的不确定性。在MATH-500上,即使是最简单的阈值策略也比先前的路由方法提高了5倍的成本效率,而更高级的策略使用80%更少的昂贵模型令牌匹配强、昂贵模型的性能。在更难的基准如AIME上,TRIM实现了高达6倍的成本效率。所有方法在数学推理任务中都能有效泛化,证明步骤级难度代表了推理的根本特征。

英文摘要:

Multi-step reasoning tasks like mathematical problem solving are vulnerable to cascading failures, where a single incorrect step leads to complete solution breakdown. Current LLM routing methods assign entire queries to one model, treating all reasoning steps as equal. We propose TRIM (Targeted routing in multi-step reasoning tasks), which routes only critical steps$\unicode{x2013}$those likely to derail the solution$\unicode{x2013}$to larger models while letting smaller models handle routine continuations. Our key insight is that targeted step-level interventions can fundamentally transform inference efficiency by confining expensive calls to precisely those steps where stronger models prevent cascading errors. TRIM operates at the step-level: it uses process reward models to identify erroneous steps and makes routing decisions based on step-level uncertainty and budget constraints. We develop several routing strategies within TRIM, ranging from a simple threshold-based policy to more expressive policies that reason about long-horizon accuracy-cost trade-offs and uncertainty in step-level correctness estimates. On MATH-500, even the simplest thresholding strategy surpasses prior routing methods with 5x higher cost efficiency, while more advanced policies match the strong, expensive model's performance using 80% fewer expensive model tokens. On harder benchmarks such as AIME, TRIM achieves up to 6x higher cost efficiency. All methods generalize effectively across math reasoning tasks, demonstrating that step-level difficulty represents fundamental characteristics of reasoning.

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

↑