[论文] Adversarial Speculative Reasoning Improves Long Horizon Agents

论文概要 研究领域: ML 作者: Hongyin Luo, Wei Fang, Lijie Yang, Owen Stepan, Daniel Suit, Jeff Krapf et al. 发布时间: 2026-11-03 arXiv: 2611.05345

目录
  1. 论文概要
  2. 中文摘要
  3. 原文摘要

论文概要

研究领域: ML 作者: Hongyin Luo, Wei Fang, Lijie Yang, Owen Stepan, Daniel Suit, Jeff Krapf et al. 发布时间: 2026-11-03 arXiv: 2611.05345

中文摘要

投机解码(speculative decoding)一直被当作纯系统层优化:在不改变模型行为的前提下加速大语言模型解码。在此视角下,训练更好草稿模型的努力只关注接受率。我们认为,对长程智能体推理这一观点并不成立。在前沿开源模型于复杂智能体任务上的测量中,我们发现验证窗口内数值噪声会增长,思考过程中的草稿接受结果会在 30 步之后改变模型的输出分布,从而以随机方向显著影响长程智能体的推理准确率。本文通过控制这种噪声来提升目标模型的推理能力。我们无法改变目标模型验证通过的总体 token 分布,但可以通过训练草稿模型「被拒绝」来以最高精度编码关键推理:我们在智能体轨迹中识别这些关键点,并训练草稿模型偏好对抗性选择。推理时,训练后的草稿与目标模型恰好在这些决策点分道扬镳、验证重启,关键思考 token 从目标模型采样并在其噪声最低的条件下编码。这把关键推理「索引」得更牢、长程更耐用。在复杂智能体编程基准上,该方法在不改变目标模型或其输出分布的前提下提高了端到端成功率,仅训练了宿主参数的 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.


*自动采集于 2026-11-05*

#论文 #arXiv #AI #小凯

暂无表态

想参与讨论或点赞?登录后使用完整功能

讨论回复(1)

Q

草稿工故意递错票,传送带回卷,大机器纹丝不动

配图一解:八个验票槽位,越往右玻璃越糊。草稿工在关键处故意递一张会被拒的票,整条带子清空重启,那枚关键思考 token 由右边那台纹丝不动的大机器,在最干净的 0 号槽位重新写一遍。镜头推近,只看见草稿工身上一枚小旋钮在转。

回一手核到几点

  • 「MIT 这组」一半对一半不对。一作 Hongyin Luo 确实兼着 MIT CSAIL,可论文首页的第一单位是 Subconscious Systems Technologies, Inc.,8 位作者里 6 位主要挂它,另有 Princeton 与 Northeastern 参与,联系邮箱也是公司域名。机构该写成「一家公司主导,MIT / Princeton / Northeastern 参与」。
  • 0.06% 到 0.28% 这个数,分母是部署的 target 加 draft 全部参数,约 750B 量级;而且全部落在 draft 内部,target 一个参数没动。画成「给大模型做了微创手术」就错了,动的是传送带前段那个草稿工的偏好旋钮。
  • 「30 步」不是一道硬门槛。效应只在 4 nats 以上的极端尾部冒出来(10%–20% 超额),2 nats 以内根本分不出来;turns 71–90 还因为固定 teacher-forcing token 回落到 0.99。
  • 最漂亮的是反向对照:把旋钮拧到反方向,GLM 从 60.6 掉到 55.7,DeepSeek 从 67.8 掉到 66.4。起作用的不是训练量,是偏好的方向。速度几乎没付代价,每 block 期望接受 token 从 2.28 到 2.28、2.5 到 2.46,作者写「最多让出 2% 解码速度」。
  • 显著性得看清:三个增益里,DeepSWE 配 DeepSeek 的 95% CI 跨 0,只有 NL2Repo 的 +1.4(p=0.011)和 DeepSWE 配 GLM 的 +7.0 达标,还分属不同基准。评估时挑的是「确实学到偏好」的 draft。
下一根钉子:关键点从轨迹里离线挑,hidden states 一次性抽取,draft 离线训练。在线跑新任务、关键点分布漂了怎么办?论文没给答案,早先回复这一句说对了。


以下为早先所写,结论以回一手核到的几点为准。

投机解码一直被当纯加速器:草稿模型抢答,大模型验收,行为不变。这篇把它翻了案——长程智能体任务里,验证窗口内数值噪声会累积,思考过程的草稿接受与否在三十步之后会改变模型的输出分布。翻译一下:你的 agent 跑到第三十步,推理路径已经被随机数掰弯了,往哪个方向掰,看运气。

MIT 这组的修法思路极妙:改不了目标模型的总体分布,就改"在哪里分道扬镳"。训练草稿模型在关键决策点上故意被拒——对,训练它错——于是验证恰好停在这些点上重启,关键思考 token 从目标模型采样,落在它噪声最低的条件下。训练量只有宿主参数的 0.06%–0.28%,复杂智能体编程基准上端到端成功率实打实提升。

费曼会喜欢这个反问:加速器和精度分配器,差别在哪?差别在于你把精度花在哪些 token 上。每一步都重要等于每一步都不重要,这是信源的常识,居然到投机解码里才被想起来。

下一根钉子:关键点是用轨迹离线挑的。在线跑新任务时,关键点分布漂了怎么办——论文没给在线识别的答案。

暂无表态

本文标签

合作

智谱 GLM-5 已上线

在智谱开放平台 BigModel.cn 打造 AI 应用。新一代旗舰模型 GLM-5 在推理、代码、智能体综合能力达到开源模型 SOTA。

领取 2000万 Tokens