轨迹触发的稀疏协同解码 Trajectory-Triggered Sparse Collaborative Decoding 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-16
👁️ 预览文献
💡 AI 中文简介
大模型推理时常用“草稿模型先写、目标模型逐字检查”的密集验证方式,计算开销大。本研究提出稀疏协同解码:草稿模型负责大部分生成,只在关键处调用目标模型做短段纠错。核心难题是判断何时调用。作者发现熵、负对数似然等局部不确定性指标几乎无法预测失败(AUC仅0.50-0.53),而草稿置信度路径的整体轨迹形状特征可达AUC 0.86。据此训练的在线触发策略在GSM8K上比最优固定调度提升5.3-20.0个准确率点,在StrategyQA上提升5.0-8.3点。
领域自然语言处理 / 大语言模型高效推理
适合谁读需要一定专业背景(了解推测解码与大模型推理机制)
核心贡献1. 揭示局部不确定性指标(熵、NLL、logit margin等)对草稿失败的预测能力接近随机,而草稿置信度路径的聚合轨迹形状特征显著更强(AUC 0.86);2. 提出轨迹触发的在线稀疏协同解码策略,仅用草稿正确性标签训练轻量逻辑回归预测器,在多个数据集上稳定超越最优开环调度。
关键数据局部不确定性特征AUC 0.50-0.53;轨迹形状特征AUC 0.86;GSM8K五组草稿-目标模型对提升+5.3至+20.0准确率点;MATH-500提升7.0-13.5点(依赖早期预测与目标模型能力匹配);StrategyQA提升5.0-8.3点。
推荐理由如果你关心大模型推理加速,这篇用“看轨迹而非看单点”的思路把稀疏协同解码的触发时机问题讲透了,数据扎实、结论反直觉,值得一读。
关键词["稀疏协同解码", "推测解码", "轨迹特征", "触发时机", "大模型推理加速", "草稿-目标模型协作"]

原文摘要

查看英文原文摘要

Dense assistance methods such as speculative decoding repeatedly verify draft tokens with a target model, keeping target computation coupled to generation. We study sparse collaborative decoding, where a draft model generates most tokens and a target model is invoked only for short corrective segments. The key problem is deciding when to call the target. We show that local uncertainty is a weak trigger: entropy, negative log-likelihood, logit margin, top-$k$ mass, and velocity features give near-chance failure prediction, with AUC 0.50-0.53. In contrast, aggregate trajectory-shape features over the draft confidence path reach AUC 0.86 using a lightweight logistic predictor trained only from draft correctness labels. This induces a trigger-timing tradeoff: early calls have more leverage but weaker evidence, while later calls have stronger evidence but less ability to redirect the trajectory. Used online, learned sparse collaborative decoding improves over the best open-loop schedule by +5.3 to +20.0 accuracy points across five GSM8K draft-target pairs. On MATH-500, it gains 7.0-13.5 points when early prediction and target competence align, but loses when either is weak. On StrategyQA, it improves over open-loop by 5.0-8.3 points, showing transfer beyond arithmetics.