[論文レビュー] ConFu: Contemplate the Future for Better Speculative Sampling
ConFu は future-aware contemplate tokens および dynamic MoE-based prompts を導入し、draft tokens を導くことで受理率と速度を向上させ、EAGLE-3 に比べてタスクとモデルサイズを問わず推測デコードの受理率と速度を改善します。
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.
研究の動機と目的
- 推測デコードを通じてサンプリング品質を犠牲にせず LLM 推論の高速化を動機づける。
- 現在のプレフィックスのみを条件とするドラフトモデルにおける誤差蓄積に対処する。
- ドラフトトークンの品質とターゲットモデルの軌道との整合性を改善する未来志向のメカニズムを提案する。
提案手法
- ターゲットモデルから未来志向の信号を露出させるための contemplation tokens とソフトプロンプトを導入し、ほとんどコストをかけずに取得する。
- 文脈に適応する contemplation tokens を動的に調整する Mixture-of-Experts (MoE) を用いた動的 contemplate token メカニズムを実装する。
- アンカー トークンサンプリングと未来予測の再現を伴う ConFu の学習により、堅牢な未来予測を学習する。

実験結果
リサーチクエスチョン
- RQ1contemplate tokens とソフトプロンプトはターゲットモデルからの有用な未来志向信号をドラフトモデルに提供できるか。
- RQ2動的な MoE ベースの contemplate token は未来予測とドラフトトークンの受理をタスク横断で改善するか。
- RQ3ConFu の受理率と速度の向上は、異なる LLaMA3 ターゲットモデルとデコード設定で最先端の EAGLE-3 と比較してどうか。
- RQ4温度、ドラフトツリー予算、執筆、QA、要約、翻訳、コーディング、数学/推論などのタスクカテゴリで性能向上は一貫しているか。
主な発見
- ConFu は EAGLE-3 を平均で 8-11% 上回り、タスク横断かつ Llama-3 3B および 8B モデルで token の受理率とデコード速度を改善する。
- デコード設定、温度、ドラフトツリー予算(30 ノードまたは 60 ノード)に対して性能向上は頑健である。
- 動的 contemplate tokens(MoE)と未来予測の再現は、平均受理長と速度向上に寄与する。
- 低温度は ConFu に相対的な利益をもたらす。ターゲット分布がより鋭くなるため、未来の方向を予測しやすくなる。
- アブレーションにより、MoE ベースの動的 contemplate tokens および再現は、静的 contemplate セットアップと比較して追加の利益を提供することが示された。

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。