論文解説
Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting
テキストの自己高速化:セッションローカルなdraft作成における最近性と抑制
- 課題 Speculative decodingでは、KV cacheを使うverifierの検証コストが下がると、draftの生成コストが速度のボトルネックになります。
- 手法 学習を使わず、プロンプトと受理されたトークンだけを見るsession-local drafterを設計し、最近の一致コピーと信頼度ゲートの効果を分けて比較します。
draft生成コストがボトルネックになる理由
Speculative decodingでverifierがKV cacheを使うと、検証コストは下がります。すると、draftトークンを作るコストが全体の速度を左右するようになります。この論文は、学習を使わず、プロンプトと既に生成されたテキストだけを見てdraftを作るsession-local drafterが、この条件を満たすかを問うています。学習済みのdraftモデルは、ドメインが変わると性能が下がるため、学習を要しない方法が代わりの選択肢になります。
Prompt lookupとsession memoryの動作
Prompt lookup decodingは、現在のシーケンスから完全に一致するn-gramを探し、その後ろに続くトークンをコピーしてdraftとして使います。この論文では、一致位置の選び方だけを変えて、earliestの一致とmost recentの一致を比べています。Session memoryは、減衰させたカウントを使う可変次数のn-gramストアで、最も長い一致次数からバックオフして次のトークンを予測します。信頼度κは、一致次数のスコアと正規化エントロピーの補数を掛け合わせて定義され、ゲートはκがβ=0.5以上のときだけdraftを使います。

Table 1 : The session-local drafters compared. All draw only on the prompt and verifier-accepted tokens.
出典 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 論文の図を引用 · 元のPDFの3ページ目から図の部分を抽出しています。速度に最も効く要因が最近性である理由
100トークン生成では、most recentの一致はearliestの一致より、一般テキストのspeedupを+0.016から+0.027高くしました。500トークン生成では差が広がり、法律テキストで+0.084、一般テキストで+0.089でした。Session memoryはmost recent lookupより低い結果で、重みとバックオフによる測定可能な追加の効果は見られませんでした。著者らは、長い生成では最近の一致がverifierの現在の反復をよりよく示すためと解釈しています。

Table 2 : Prompt lookup decoding versus session memory, KV-cached Mistral-7B, 100-token generations, 100 prompts per domain. Speedup is the per-prompt ratio to plain decoding in the same session, mean with 95% bootstrap interval over prompts.recencyis most-recent minus earliest match (what recency alone buys);weighting is session memory minus most-recent lookup (what recency weighting and backoff add on top). ∗: interval excludes zero.
出典 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。
Table 5 : Accepted draft tokens per verifier step by po- sition within 500-token greedy generations (k= 5, 30 prompts per domain). Drafting value rises as the out- put accumulates, and the gap between most-recent and earliest-match lookup widens.
出典 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。エネルギー削減とゲートの役割
エネルギーについては、draftを多く提案することは有利ではありませんでした。中程度のmedicalとlegalのテキストでは、unselective drafterは速度を上げたものの平均電力も上がり、100トークンあたりのエネルギーは減りませんでした。Gated session memoryは、most recent lookupより100トークンあたり2.7、3.6、3.9 J少なく使いました。3-token floorの検索も同程度の削減を示しました。これは、短い文脈でdraftを控えるルールが鍵だという解釈と一致します。

Table 3 : 500-token generations, k= 5 , 30 prompts per domain. Acceptance is per proposed token;abstainis the share of draft calls that proposed nothing; tokens per step counts verifier calls. The gate raises acceptance by abstaining, which lowers tokens per step and speed.
出典 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。
Table 6 : Energy in joules per 100 generated tokens (CPU+GPU+ANE power integrated over each generation; mean over prompts).Abstainis the mean share of draft calls that proposed nothing. ∗: paired difference from gated session memory has a 95% bootstrap interval excluding zero. A 3-token order floor on lookup comes within 1 J of gated session memory in every column.
出典 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。反復ペナルティ条件での結果
verifierの自己反復が長い生成での速度向上を大きくしていないかを確かめるため、θ=1.2の反復ペナルティを適用しました。この条件では、すべてのdrafterの500トークンspeedupが1.08から1.16の範囲に下がりました。それでもmost recent lookupはearliest lookupを上回りました。法律テキストでは、3-token floorが通常のデコーディングより100トークンあたり4.4 J削減しました。

Table 4 : 500-token generations with a repetition penalty ( θ=1.2) on the verifier, k= 5 , 30 prompts per domain, against greedy decoding. The penalty lowers the share of positions in the last 100 tokens whose preceding 4-gram occurred earlier from 81% to 28% (legal) and from 84% to 44% (general). Energy in joules per 100 tokens; ∗: paired saving over plain decoding with a 95% bootstrap interval excluding zero.
出典 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。Greedy出力との一致
100トークン生成2,700件のうち2,539件、つまり94.0%が、greedyデコーディングとトークン単位で一致しました。不一致だった47か所では、verifierの上位2候補のlogit差が最大0.023でした。中央値は0で、全生成位置の中央差3.0と比べるとごくわずかです。そのため著者らは、不一致を数値上の同点として解釈しています。float32での再実行はメモリの制約により行いませんでした。

Table 7 : Exact token agreement between speculative output and greedy decoding (2,700 100-token genera- tions). The 47 distinct divergence points have a top-two logit margin of at most 0.023 (median 0.0) against a median of 3.03 over all generated positions; in 45 of 47 the speculative token is the reference’s runner-up.
出典 · CC BY 4.0 · Antal van den Bosch · Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting · 論文の図を引用 · 元のPDFの10ページ目から図の部分を抽出しています。実験範囲の限界
すべての測定は、Mistral-7Bという1つのverifierと、1つの消費者向けプラットフォームで行われました。サンプリングデコーディングは検証しておらず、greedyデコーディングのみを使いました。Session memoryは呼び出しごとにストアを作り直すため、累積コストは出力長に対して二乗で増えます。エネルギーの数値はシステム全体と特定のハードウェアに結びついた値なので、プラットフォーム間の絶対比較には使えません。
論文情報
- 著者
- Antal van den Bosch
- 学会・ジャーナル
- arXiv · プレプリント
- 公開日
- 2026年11月14日
- 登録日
- 2026年11月17日
- 更新日
- 2026年11月14日
- バージョン
- v1
- arXiv
- 2611.19455
- カテゴリ
- cs.CL
- ライセンス
- CC BY 4.0
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。
アブストラクト
Speculative decoding lets a cheap draft model propose tokens that a large language model verifies in a single forward pass. When the verifier keeps a KV cache, verification is cheap and drafting must be nearly free. Session-local drafters, which predict from the prompt and the text generated so far, meet that bar without training. We compare a recency-weighted, backing-off, confidence-gated session memory against prompt lookup decoding in its reference form, which copies from the earliest earlier match, and in a variant that copies from the most recent one, with paired per-prompt bootstrap intervals throughout. On general, medical, and legal text with a Mistral-7B verifier, recency accounts for the speed: most-recent lookup gains up to 0.09 in speedup over earliest-match lookup on 500-token generations, and session memory's weighting and backoff add nothing measurable on top, at 30 to 40 times the drafting cost. Energy tells a different story. On medical and legal text, unselective drafters are 14% faster than plain decoding yet use as much energy per token, while drafters that abstain on weak evidence save 3 to 4 joules per 100 tokens; a three-token minimum match length on prompt lookup matches the confidence-gated session memory. Outputs are token-identical to greedy decoding in 94% of generations, with every divergence at a numerical near-tie. Under a repetition penalty, long-generation speedups shrink from 1.4-1.7x to 1.1-1.2x, but recency still helps and the length floor is the only drafter that saves energy in both domains.
この論文を引用
Antal van den Bosch (2026). Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting. arXiv:2611.19455v1. https://arxiv.org/abs/2611.19455v1
BibTeX
@misc{bosch2026text,
title = {{Text Speeding Itself Up: Recency and Restraint in Session-Local Drafting}},
author = {Antal van den Bosch},
year = {2026},
eprint = {2611.19455},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.19455v1}
}