对抗性推测推理提升长程智能体

·

研究论文 · 2026/11/05

本文挑战了推测解码仅作为系统优化而不改变模型行为的传统观点。作者在复杂智能体任务上评估前沿开放权重模型,发现数值噪声在验证窗口内增长,且思考过程的草稿接受结果可在30步后改变模型的输出分布,从而随机影响长视野智能体的推理准确性。通过训练草稿模型在关键推理点被拒绝,使这些关键思考令牌由目标模型在最不易受噪声影响的条件下采样,从而提升推理能力。在复杂智能体编码基准上,该方法在不改变目标模型或其输出分布的情况下提高了端到端成功率,仅需训练托管参数的0.06%至0.28%。

本文揭示了推测解码对长视野智能体推理的随机影响,并提出一种仅训练少量参数即可提升推理准确性的方法,对智能体系统优化具有重要启示。

Speculative decoding has been treated purely as a systems optimization that speeds up large language model decoding without changing the model behavior. Under this view, the growing effort to train better draft models has been focused solely on acceptance rate. We argue that this view does not hold true for long-horizon agent reasoning. Measuring frontier open-weight models on complex agentic tasks with different speculative decoding approaches, we found that numerical noise grows within verification windows, and the draft acceptance results of the thinking process can change the output distribution of the model after 30 steps, thus noticeably influencing the reasoning accuracy of long-horizon agents in random directions. In this work, we improve the reasoning capability of target models by controlling such noise. While we cannot change the overall token distribution verified by the target model, we can encode critical reasoning with highest precision by training the draft model to be rejected. We identify these points in agent traces and train the draft model to favor adversarial preference. At inference the trained draft and the target part ways precisely at these decision points, verification restarts, so that critical thinking tokens are sampled from the target model and encoded under its least noisy conditions. This approach makes critical reasoning better indexed and more durable over a long horizon. On complex agentic coding benchmarks, our approach raises end-to-end success rate with no change to the target model or its output distribution. Our results recast the speculative decoding mechanism from a pure accelerator into an active allocator for context precision that improves the accuracy of long-horizon agents by training 0.06% to 0.28% of hosted parameters.

阅读原文

参与讨论