MARS: 用于并行LLM测试时扩展的边际对抗风险控制停止策略
MARS: Margin-Adversarial Risk-controlled Stopping for Parallel LLM Test-time Scaling
AI总结:
提出MARS停止规则,通过监测中间检查点的聚合投票并利用对抗性边界估计未来投票变化,在保证准确率的同时节省25-47%的自一致性token。
摘要:
并行测试时扩展采样多个推理轨迹并对答案进行多数投票,提高了LLM的准确性,但需要轨迹运行至完成,导致大量计算开销。我们观察到,在中间检查点探测部分轨迹可以在不中断生成的情况下提取当前答案,揭示出不断演变的聚合投票。基于这一观察,我们引入了MARS,一种边际对抗性停止规则,它估计哪些活跃轨迹可能改变其答案,并在未来投票移动的保守边界下,一旦领先者保持安全就停止。该规则分离了两种不确定性来源。它学习轨迹级别的切换概率,这些概率决定了当前边际有多少可能被保留,同时通过从预热轨迹中校准的对抗性边界处理切换轨迹落在哪里的更难问题。在真实切换概率下,MARS以高概率保证提前停止的答案与完整预算投票一致。在实践中,一个五特征逻辑模型紧密匹配了神谕切换行为。在三个推理模型和三个竞赛数学基准上,MARS节省了25-47%的自一致性token,并在DeepConf Online(一个已经过滤和截断弱轨迹的强置信加权基线)之上额外节省14-29%,同时匹配相应完整预算基线的准确率。
英文摘要:
Parallel test-time scaling samples many reasoning traces and majority-votes their answers, improving LLM accuracy but requiring traces to run to completion, incurring substantial computational overhead. We observe that probing partial traces at intermediate checkpoints can extract current answers without disrupting generation, revealing an evolving aggregate vote. Based on this observation, we introduce MARS, a margin-adversarial stopping rule that estimates which active traces are likely to change their answers and stops once the leader remains safe under a conservative bound on future vote movement. The rule separates two sources of uncertainty. It learns the trace-level switch probabilities that determine how much of the current margin is likely to be retained, while handling the harder question of where switching traces land through an adversarial bound calibrated from warmup traces. With true switch probabilities, MARS guarantees with high probability that the early-stopped answer matches the full-budget vote. In practice, a five-feature logistic model closely matches oracle switching behavior. Across three reasoning models and three competition-math benchmarks, MARS saves 25-47% of self-consistency tokens and 14-29% on top of DeepConf Online, a strong confidence-weighted baseline that already filters and truncates weak traces, while matching the accuracy of the corresponding full-budget baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。