Skip to main content
QUICK REVIEW

[论文解读] ConFu: Contemplate the Future for Better Speculative Sampling

Zongyue Qin, Raghavv Goel|arXiv (Cornell University)|Mar 9, 2026
Topic ModelingComputer Science被引用 0
一句话总结

ConFu 引入面向未来的沉思标记与基于动态 Mixture-of-Experts 的提示,指导草拟标记,在各任务和模型规模下的推测解码中相较于 EAGLE-3 提高接受率与速度。

ABSTRACT

Speculative decoding has emerged as a powerful approach to accelerate large language model (LLM) inference by employing lightweight draft models to propose candidate tokens that are subsequently verified by the target model. The effectiveness of this paradigm critically depends on the quality of the draft model. While recent advances such as the EAGLE series achieve state-of-the-art speedup, existing draft models remain limited by error accumulation: they condition only on the current prefix, causing their predictions to drift from the target model over steps. In this work, we propose extbf{ConFu} (Contemplate the Future), a novel speculative decoding framework that enables draft models to anticipate the future direction of generation. ConFu introduces (i) contemplate tokens and soft prompts that allow the draft model to leverage future-oriented signals from the target model at negligible cost, (ii) a dynamic contemplate token mechanism with MoE to enable context-aware future prediction, and (iii) a training framework with anchor token sampling and future prediction replication that learns robust future prediction. Experiments demonstrate that ConFu improves token acceptance rates and generation speed over EAGLE-3 by 8--11% across various downstream tasks with Llama-3 3B and 8B models. We believe our work is the first to bridge speculative decoding with continuous reasoning tokens, offering a new direction for accelerating LLM inference.

研究动机与目标

  • 通过推测解码,在不牺牲采样质量的前提下加速大模型推断。
  • 解决仅根据当前前缀进行条件建模的草拟模型中的误差累积问题。
  • 提出面向未来的机制,以提升草拟标记的质量并与目标模型的轨迹对齐。

提出的方法

  • 引入沉思标记和软提示,以在几乎无成本的情况下暴露目标模型的面向未来信号。
  • 利用专家混合(MoE)实现动态沉思标记机制,以使沉思标记更好地适应上下文。
  • 通过锚标记采样与未来预测复制来训练 ConFu,以学习稳健的未来预测。
(a) Draft model hidden representations without future prediction.
(a) Draft model hidden representations without future prediction.

实验结果

研究问题

  • RQ1沉思标记加软提示是否能为草拟模型提供来自目标模型的有用未来导向信号?
  • RQ2动态基于 MoE 的沉思标记是否能在不同任务中改善未来预测与草拟标记的接受度?
  • RQ3与最先进的 EAGLE-3 相比,ConFu 在不同 LLaMA3 目标模型和解码设置下的接受率与速度提升如何?
  • RQ4在温度、草拟树预算和任务类别(如写作、问答、摘要、翻译、编码、数学/推理)之间,性能提升是否保持一致?

主要发现

  • 在各任务以及 Llama-3 3B 与 8B 模型上,ConFu 相对于 EAGLE-3 的标记接受率和解码速度平均提升8-11%。
  • 在解码配置、温度和草拟树预算(30 或 60 节点)等方面,性能提升具有鲁棒性。
  • 通过 MoE 的动态沉思标记与未来预测复制都对提高平均接受长度和加速有贡献。
  • 由于目标分布更尖锐,较低温度下对 ConFu 的相对收益更大,因为更易预测未来方向。
  • 消融实验显示基于 MoE 的动态沉思标记与复制相比静态沉思设置提供额外收益。
(b) Draft model hidden representations with future prediction.
(b) Draft model hidden representations with future prediction.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。