# RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill

RidgeFill：学習不要の後段層キャッシュ補完による高速なプリフィル

Dylan Johnston, Robert P. Smith · arXiv · 2026年11月6日

- **課題** 長いプロンプトのプリフィルでは、すべてのトークンをすべての層に通すため、最初の出力までに長い時間がかかります。
- **手法** 分割層の状態から閉じた形のリッジマップで後段層の入力を予測し、選ばれた行と尾部は正確に計算します。

## 長いプロンプトのプリフィルの待ち時間

プリフィル段階では、デコーダがすべてのプロンプトトークンをすべての層に通す必要があるため、最初の出力トークンが出るまでユーザーは長く待つことになります。たとえばQwen3.8-27Bで120,000トークンを処理するのに、A100で128秒かかると論文は報告しています。RidgeFillは、この待ち時間を減らすために、プロンプトの上位層の大部分を完全には計算しない方法です。この方法はモデルを学習せず、トークンも捨てません。これが中心となる制約です。

![Figure 1: Speculative decoding and RidgeFill each spend the resource their phase has spare. Decoding is bandwidth-bound, so a draft head spends the spare compu…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-1b470fe251e7171875b88df276b7e09e.png?thumb=512)

**Figure 1** .Speculative decoding and RidgeFill each spend the resource their phase has spare. Decoding is bandwidth-bound, so a draft head spends the spare compute guessing tokens and the full model verifies every guess. Prefill reuses each weight read across hundreds of prompt rows, so it is limited by arithmetic. RidgeFill spends the spare bandwidth on extra reads, the fill maps from VRAM or host memory, and in return skips most of the late layers’ arithmetic. A filled cache has no affordable verifier, so the rows most likely to matter are kept exact instead (§2.4).

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの2ページ目から図の部分を抽出しています。

この問題で難しいのは、スキップした層のキャッシュを埋める際に生じる誤差がどこに集中するかを把握することです。著者らは、全トークンの平均損失がこの誤差を隠してしまうと説明しています。そのうえで、埋められた領域での針探し、質問に依存するトークンの損失、埋めたキーや値を正確な値に置き換えるスプライス検査を、測定の道具として示しています。したがってこの説明の中心は、速度向上だけでなく、どの測定が誤差を明らかにするかにあります。

![Table 23: Splices at the primary split. RULER at 8K to 32K: 136 samples on Llama and 138 on Qwen3-8B. On Qwen3-8B, exact and RidgeFill differ on only 20 sample…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-5195390f4316d289d8a3677d5abf19e5.png?thumb=512)

**Table 23** .Splices at the primary split. RULER at 8K to 32K: 136 samples on Llama and 138 on Qwen3-8B. On Qwen3-8B, exact and RidgeFill differ on only 20 samples, too few for an interval on the gap closed. On Qwen3.5 the splices act on the five upper attention layers; the fifteen upper Gated DeltaNet layers stay filled in every row, including “exact keys and values”. Value-scale rows have no interval, and no value-scale run exists for Qwen3-8B.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの29ページ目から図の部分を抽出しています。

![Figure 14: Share of RidgeFill’s added novel-token loss removed by each splice at the primary split, with 95 % intervals where they exist. On Qwen3.5 the Gated…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-94767d1ae9b827e640b31559bfc31c16.png?thumb=512)

**Figure 14** .Share of RidgeFill’s added novel-token loss removed by each splice at the primary split, with 95 % intervals where they exist. On Qwen3.5 the Gated DeltaNet layers stay filled in every splice. Qwen3-8B’s exact-keys bar,−222 %, is off the scale.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの29ページ目から図の部分を抽出しています。

## リッジマップで後段層の入力を予測する方法

RidgeFillは、下位層を正確に実行したあと、分割層Sの隠れ状態x\_Sから、後段の各層ℓの入力を予測します。予測式はx̂\_ℓ = A\_ℓ x\_S + b\_ℓで、後段の層ごとに行列A\_ℓとベクトルb\_ℓの組を持ちます。この予測値はその層自身の正規化と射影をそのまま通るため、アテンション層ではキーと値が、Gated DeltaNet層では再帰状態の更新が計算されます。残りの層の演算、特にMLPは、埋められた行ではスキップされます。

![Figure 2: Two ways to fill a late layer’s cache from a middle layer’s state. (a) kishida’s KVA projector: trained heads on the layer-18 state write each late l…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-5f0995bd2bc50f1edfb8cedff3c1c8cd.png?thumb=512)

**Figure 2** .Two ways to fill a late layer’s cache from a middle layer’s state. (a) kishida’s KVA projector: trained heads on the layer-18 state write each late layer’s keys and values directly, bypassing the layer’s own key and value projections. (b) RidgeFill: a closed-form ridge map predicts each late layer’s input; the layer’s own projections run unchanged, and on a Gated DeltaNet layer so does its state update. Exact rows (§2.4) skip the map and run the layer from its exact input.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの3ページ目から図の部分を抽出しています。

マップは、校正テキストに対して一度のキャプチャパスで得た和を使い、閉じた形のリッジ回帰を解いて得られます。論文ではペナルティαをλ·tr(X^T X)/d\_inと定義しており、この式でλは入力の大きさに応じて調整される相対的な強さです。したがってモデルの重みは変わらず、学習ループなしで適合が終わります。

## 補完方法の比較設計と測定指標

主な比較対象は、同じ分割と尾部の条件でのidentity補完です。identity補完は後段層の入力をx\_Sのままコピーするもので、POPの補完にあたります。参照研究では、Llama-3.1-8B、Qwen3.5-9B、Qwen3-8Bの3モデルを使い、埋められた領域の検索、質問に依存するトークンの損失、スプライス実験を測定しました。主な分割は深さの3/8で、尾部は4,096トークンです。

![Table 1: Methods that skip late layers for prompt tokens, grouped by what they do with a skipped token’s cache and whether they train. The reference study comp…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-8ae7c3da097b93bcf6a96a37652e2a7a.png?thumb=512)

**Table 1** .Methods that skip late layers for prompt tokens, grouped by what they do with a skipped token’s cache and whether they train. The reference study compares within the top-left cell (fitted fill against identity fill at the same split and tail) and down the left column (the ridge map against SwiftKV’s trained projections).

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。

![Figure 3: The arms. (a) The four fills of §2.1, shown for the layers above the split: exact, no fill, identity (POP’s fill) and RidgeFill; the lower layers and…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-a7c20e4f9b2e9905aa0c279d615f45cb.png?thumb=512)

**Figure 3** .The arms. (a) The four fills of §2.1, shown for the layers above the split: exact, no fill, identity (POP’s fill) and RidgeFill; the lower layers and the tail run exactly in every arm. (b) The reference study’s controls (§3.3): attention-selected exact rows, the same number of random rows, the same number of rows added to the tail, and no fill with the tail lengthened to the fill’s cost. Row positions are illustrative.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

![Table 5: Evaluation sets in the reference study](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-7b0deb5d80ead87aaecabc7e513d5a2e.png?thumb=512)

**Table 5** .Evaluation sets in the reference study.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。

![Table 6: Baselines and controls in the reference study](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-62dda0d104af6eb1ae3d7b8c5db3a9ae.png?thumb=512)

**Table 6** .Baselines and controls in the reference study.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの16ページ目から図の部分を抽出しています。

![Table 21: POP comparison on filled-region retrieval. On Llama, exact and POP native score 99.6 and 93.4 in Appendix A and 99.8 and 94.1 here. These are two run…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-04d05f0d9bcbb908d64cdaa1fd8d21cf.png?thumb=512)

**Table 21** .POP comparison on filled-region retrieval. On Llama, exact and POP native score 99.6 and 93.4 in Appendix A and 99.8 and 94.1 here. These are two runs of the same configurations on different hardware, about one sample apart in 136; each is paired with the contrasts in its own table.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの28ページ目から図の部分を抽出しています。

埋められた領域の検索では、すべての針がプレフィックスにある標本のみを数えます。キートークンは、最後の4,096トークンだけを残したときに正確な損失が2 nats以上増えるトークンです。論文では、全体の平均損失が補完の効果を薄めると説明しているため、この2つの測定が方法間の差を直接示す指標として提示されています。27Bモデルは、機能を無効にした上流ビルドのstockと比較しており、identity補完は実行していません。Flash-Nextはフォークの正確な経路と比較しています。

![Figure 9: (a) Filled-region retrieval counts a sample only if every needle lies in the prefix. (b) A key token is one whose exact loss rises by more than 2 nat…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-aa2d7305cac4a2adcb4b3a13ddbb8917.png?thumb=512)

**Figure 9** .(a) Filled-region retrieval counts a sample only if every needle lies in the prefix. (b) A key token is one whose exact loss rises by more than 2 nats when the context is cut to its last 4,096 tokens.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。

## 速度と品質の主な結果

Qwen3.8-27Bで分割層16とVRAM常駐マップを使うと、RidgeFillの最初のトークンまでの時間は、16Kから120Kトークンにおいて1.25から1.31倍速くなりました。これらの差の95%区間は0を含みますが、著者らは、これが数点の損失を除外するものではないと説明しています。

![Table 7: Interval methods](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-47283ed8d29968f71f1812832f714f81.png?thumb=512)

**Table 7** .Interval methods.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの16ページ目から図の部分を抽出しています。

![Table 8: Qwen3.8-27B time to first token and peak VRAM over stock, one A100 PCIe 40 GB](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-c7e80219b11c63a4b8146497a2aaa4aa.png?thumb=512)

**Table 8** .Qwen3.8-27B time to first token and peak VRAM over stock, one A100 PCIe 40 GB.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの18ページ目から図の部分を抽出しています。

Qwen3.8-Flash-Nextでは、vLLMフォークで9Kから32Kトークンの範囲において、正確な実行より1.50から1.60倍速くなりました。RULERの針探し課題は99.8点で、正確な実行の100.0点と比べられています。新しいトークンの困惑度は2.65%高く、区間は−0.02%から+4.93%でした。参照研究では、Qwen3-8Bは埋められた領域のRULERスコアがidentity補完より49.6点高く、Llama-3.1-8Bは主な分割で損失がidentityより悪くなりました。同じLlamaについては、半分の深さで損失が下がりました。

![Figure 8: Qwen3-8B at the primary split: loss on 90 documents (63 for key tokens) and filled-region retrieval on 138 RULER samples. On novel-token loss RidgeFi…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-355f803b1fc088c0d20abeb5905741b3.png?thumb=512)

**Figure 8** .Qwen3-8B at the primary split: loss on 90 documents (63 for key tokens) and filled-region retrieval on 138 RULER samples. On novel-token loss RidgeFill looks slightly worse than the identity fill. On the tokens that need the prefix it is better, and on retrieval from the filled region it is far better.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。

![Table 9: RULER overall. Intervals are paired item bootstraps, 10,000 resamples, resampled within task](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-28d1e623c9499f2c6b43fcdf7be79dbd.png?thumb=512)

**Table 9** .RULER overall. Intervals are paired item bootstraps, 10,000 resamples, resampled within task.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの19ページ目から図の部分を抽出しています。

![Table 15: Quality on Qwen3.8-Flash-Next. The perplexity gap is measured on novel tokens. RULER has no interval: RidgeFill fell short of exact on two of 221 fil…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-aed0fb3d2cbabe0c8388d721564e5288.png?thumb=512)

**Table 15** .Quality on Qwen3.8-Flash-Next. The perplexity gap is measured on novel tokens. RULER has no interval: RidgeFill fell short of exact on two of 221 filled-region samples (§5.3).

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの23ページ目から図の部分を抽出しています。

![Table 16: Speedup over exact on Qwen3.8-Flash-Next; the last column also gives the median request time](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-7d6ea7c5289c475bb8cd1b42e1d7a99e.png?thumb=512)

**Table 16** .Speedup over exact on Qwen3.8-Flash-Next; the last column also gives the median request time.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの23ページ目から図の部分を抽出しています。

![Figure 11: Serving on Qwen3.8-Flash-Next. (a) Time-to-first-token speedup over exact, each a ratio of medians of five timed requests paired within a server sta…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-9c65e0eccac0164fc7a918a4346a57ac.png?thumb=512)

**Figure 11** .Serving on Qwen3.8-Flash-Next. (a) Time-to-first-token speedup over exact, each a ratio of medians of five timed requests paired within a server start, against the ceiling 1/r of §2.5. (b) Median time of a whole request over 25 single-needle samples at 64K, measured on separate server starts. No intervals were computed for the timings.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの23ページ目から図の部分を抽出しています。

![Figure 12: Novel-token loss across split depths. RidgeFill and identity use the same split and a 4,096-token tail. Lower is better; the dashed line at zero is…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-3c12ffba61a5309b0f04c61e81db4cc9.png?thumb=512)

**Figure 12** .Novel-token loss across split depths. RidgeFill and identity use the same split and a 4,096-token tail. Lower is better; the dashed line at zero is exact. Each panel has its own vertical scale. Llama improves sharply at half depth (S = 16), while both Qwen models stay within a few hundredths of a nat of exact. The horizontal axis shows the split layer and its depth; Qwen3-8B uses 9, 13, 18 and 22 of 36. The paired RidgeFill−identity intervals are in Table 17; the figure has no per-arm error bars.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの25ページ目から図の部分を抽出しています。

![Table 18: Paired RidgeFill− identity contrasts at the primary split. Positive is better for retrieval, agreement and LongBench; negative is better for loss. RU…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-8f168fe1cbde0089e76117533087022c.png?thumb=512)

**Table 18** .Paired RidgeFill− identity contrasts at the primary split. Positive is better for retrieval, agreement and LongBench; negative is better for loss. RULER uses 216 samples at 8K to 64K on Llama, 219 at 8K to 64K on Qwen3.5 and 138 at 8K to 32K on Qwen3-8B. On Llama’s 136 samples at 8K to 32K, the RULER contrast is +49.1 \[+39.3, +57.5\].

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの26ページ目から図の部分を抽出しています。

![Figure 13: RidgeFill − identity at the primary split, with paired 95 % bootstrap intervals. The shaded side favors RidgeFill: positive for retrieval and negati…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-ba18d66ba0a95bdd713e808cde2f6bbc.png?thumb=512)

**Figure 13** .RidgeFill − identity at the primary split, with paired 95 % bootstrap intervals. The shaded side favors RidgeFill: positive for retrieval and negative for loss. Blue points favor RidgeFill and red points favor the identity fill. RidgeFill improves retrieval strongly on the dense models, but at this aggressive Llama split it increases both novel-token and key-token loss. Key tokens are the scored tokens whose loss rises by more than 2 nats when the prefix is removed (§3.1). These comparisons do not include exact prefix rows.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの26ページ目から図の部分を抽出しています。

![Figure 15: Novel-token contrasts on Llama-3.1-8B, on the 126 original documents and on 30 fresh documents built after the splits were chosen. Below zero favors…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-8c760a5426383b21fa33e9fb8630e61e.png?thumb=512)

**Figure 15** .Novel-token contrasts on Llama-3.1-8B, on the 126 original documents and on 30 fresh documents built after the splits were chosen. Below zero favors RidgeFill. No 126-document interval exists for RidgeFill at 5/8−POP native, so only its point estimate is shown.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの30ページ目から図の部分を抽出しています。

## 適用範囲と残る限界

この結果は、3つの参照モデル、27Bモデル、Flash-Nextに限った測定です。Qwen3.8-27BのRULERと一致度の研究は32Kまでしか測定されておらず、それ以上の長文品質の根拠はLongBench v2の長いグループ108項目に限られます。Qwen3-8Bでは、attentionで選んだ行が埋められた領域の検索を93.7から89.9に下げ、ランダムな行は93.8点に達しました。著者らは、この現象の原因はまだ確認できていないと述べています。

![Table 11: LongBench v2, official CoT protocol, full length. Intervals are paired percentile bootstraps over items, 10,000 resamples, computed by our report scr…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-9e94c07a513071c0810e6301e5eda511.png?thumb=512)

**Table 11** .LongBench v2, official CoT protocol, full length. Intervals are paired percentile bootstraps over items, 10,000 resamples, computed by our report script.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの20ページ目から図の部分を抽出しています。

![Table 22: Exact-row contrasts on filled-region retrieval. Where a lower bound is given, it is the one-sided bound against the 2-point margin; at these sample s…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-c67ef51e0a891a52d1b0ae3e81f2f373.png?thumb=512)

**Table 22** .Exact-row contrasts on filled-region retrieval. Where a lower bound is given, it is the one-sided bound against the 2-point margin; at these sample sizes it equals the binomial floor (§3.4). The first and last rows use 8K to 64K on Llama and Qwen3.5 (216 and 219 samples). The controls ran only at 8K to 32K, so the middle three rows use 136 and 139 samples. Qwen3-8B uses its 138 samples at 8K to 32K throughout. On Qwen3-8B the random-row and longer-tail controls differ on 13 of the 138 samples but have the same total, so their contrasts coincide.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの28ページ目から図の部分を抽出しています。

速度の面では、測定された高速化は、省略された演算量から予測した値より小さく、この差はまだプロファイリングされていません。したがって、この方法がすべてのモデルとクエリについて一般化した保証を与えるわけではありません。

![Figure 7: Compute against POP, from the multiply-accumulate model of §2.5. (a, b) Share of exact prefill compute for POP at its own split and for plain RidgeFi…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-1c195fab38e9f3f1c96cea78655cbf00.png?thumb=512)

**Figure 7** .Compute against POP, from the multiply-accumulate model of §2.5. (a, b) Share of exact prefill compute for POP at its own split and for plain RidgeFill with a 4,096-token tail and no exact prefix rows, on Llama-3.1-8B and Qwen3-8B. (c) RidgeFill’s cost relative to POP; above 1, RidgeFill costs more. Shaded: the 8K to 32K needle range.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの12ページ目から図の部分を抽出しています。

![Figure 10: Qwen3.8-27B on one A100. (a) Where the prompt’s rows go: filled, exact prefix rows, and the 4,096-token tail, as shares of prompt tokens. (b) Measur…](https://refivu.com/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe/figures/figure-d0cb6450af2833447d5e2127513aab7a.png?thumb=512)

**Figure 10** .Qwen3.8-27B on one A100. (a) Where the prompt’s rows go: filled, exact prefix rows, and the 4,096-token tail, as shares of prompt tokens. (b) Measured speedup over stock, resident and streamed, against the ceiling if time were proportional to multiply-accumulates, 1/(1− skipped share). The shaded gap is discussed in §4.4.

[出典](https://arxiv.org/abs/2611.09709v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dylan Johnston, Robert P. Smith · RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill · 論文の図を引用 · 元のPDFの18ページ目から図の部分を抽出しています。

## 論文情報

- **著者**: Dylan Johnston, Robert P. Smith
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月6日
- **登録日**: 2026年11月9日
- **更新日**: 2026年11月6日
- **バージョン**: v1
- **arXiv**: 2611.09709
- **DOI**: 10.5281/zenodo.23890246
- **カテゴリ**: cs.LG · cs.CL
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.09709v1) · [PDF ↗](https://arxiv.org/pdf/2611.09709v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

RidgeFill shortens prefill by not computing most of a model's upper layers for the prompt. The lower layers run exactly up to a split; from the split layer's state a per-layer map predicts every later layer's input, and each late layer writes its cache from that prediction. The design follows YOCO and DeepSeek-V4.1-Flash, where the projection is trained into the model. RidgeFill retrofits it onto models that were never trained for it: the map is a ridge regression fitted once in closed form from one pass over calibration text, the layer's own projections run unchanged, and a chosen set of rows, the last few thousand tokens, and every decoding step run the full model. Nothing is trained and no token is dropped. Most of the work was in measurement, finding a repeatable methodology. Loss averaged over all tokens hides RidgeFill's error. Needle retrieval in the filled region, loss on tokens that depend on distant context, and splice tests that swap filled keys or values for exact ones show which component carries it: the keys on Llama-3.1-8B, half of it in their scale, and the values and the recurrent state on Qwen3.5-9B. On Qwen3.8-27B in a llama.cpp fork on an A100, time to first token is 1.25 to 1.31x faster at 16K to 120K tokens with the maps in VRAM; RULER changes by -1.2 and -1.4 points and LongBench v2 by -1.4; the 95 % intervals include zero but do not rule out losses of a few points. On Qwen3.8-Flash-Next in vLLM it is 1.50 to 1.60x faster than exact at 9K to 32K tokens, with RULER's needle tasks at 99.8 against 100.0 and perplexity on novel tokens 2.65 % higher \[-0.02 %, +4.93 %\]. On three 8 to 9B reference models, at the same split and tail as the identity fill, the fitted map retrieves 49.1 and 49.6 more filled-region RULER points on the two dense models (at that split Llama's loss is worse), and its long-document loss is +/-0.03 nats of the released SwiftKV checkpoint's.

## この論文を引用

Dylan Johnston, Robert P. Smith (2026). RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill. arXiv:2611.09709v1. https://doi.org/10.5281/zenodo.23890246

**BibTeX**

```
@article{johnston2026ridgefill,
  title = {{RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill}},
  author = {Dylan Johnston and Robert P. Smith},
  year = {2026},
  eprint = {2611.09709},
  archivePrefix = {arXiv},
  doi = {10.5281/zenodo.23890246},
  url = {https://arxiv.org/abs/2611.09709v1}
}
```

## この論文の用語

- [Qwen3-8B](https://refivu.com/ja/terms/892b2cfc21c6-qwen3-8b)
- [Gated DeltaNet](https://refivu.com/ja/terms/867332aa385b-gated-deltanet)
- [QK-norm](https://refivu.com/ja/terms/85970dc59bea-qk-norm)
- [RULER](https://refivu.com/ja/terms/5b6224fe4e4c-ruler)
- [POP](https://refivu.com/ja/terms/580a834957ec-pop)
- [prefill](https://refivu.com/ja/terms/617dfbf8a58b-prefill)

## ほかの論文解説

- [Richness Is Not Evenness: Ordered Renyi Crossings under Self-Training](https://refivu.com/ja/papers/8f156087-5aad-4c0a-8749-e8d190333ac2-richness-is-not-evenness-ordered-renyi-crossings-under.md)
- [Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions](https://refivu.com/ja/papers/596b5353-6c04-4ada-a92e-25d0fee13147-natural-tts-synthesis-by-conditioning-wavenet-on-mel.md)
- [Analysis Methods in Neural Language Processing: A Survey](https://refivu.com/ja/papers/af63023c-352d-4d2a-8824-7925160dbde0-analysis-methods-in-neural-language-processing-a-survey.md)
- [Attention in Natural Language Processing](https://refivu.com/ja/papers/256bf9a6-8f17-4632-954e-011dbadca408-attention-in-natural-language-processing.md)
- [Universal Language Model Fine-tuning for Text Classification](https://refivu.com/ja/papers/f2470a4a-1c9b-423c-8757-ba73cfe37b54-universal-language-model-fine-tuning-for-text-classification.md)
- [BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension](https://refivu.com/ja/papers/13b055d5-7dcd-422f-b6d8-3704e3d48533-bart-denoising-sequence-to-sequence-pre-training-for.md)
- [Encoding Memory in World Models with Test-Time Model-Based Reinforcement Learning](https://refivu.com/ja/papers/ec709044-32af-41ae-8953-a79d5ad964d1-encoding-memory-in-world-models-with-test-time.md)
- [Transformer-FSQ: Discrete Latents for Extreme KV-Cache Compression](https://refivu.com/ja/papers/2bf6bae4-9cf0-4410-be66-f6384a0a3929-transformer-fsq-discrete-latents-for-extreme-kv-cache.md)
- [FOSCAR: Accelerating Decode Attention over 2- and 4-Bit KV Caches through Affine Folding](https://refivu.com/ja/papers/25f2b187-e0d8-4c67-863e-a4af04718667-foscar-accelerating-decode-attention-over-2-and-4.md)
- [Contextual Search and Bilateral Trade with a Trace-Square-Root Potential](https://refivu.com/ja/papers/be7285e2-7269-4708-81ac-c858b20806f4-contextual-search-and-bilateral-trade-with-a-trace.md)
- [Health-System-Wide Mapping of Demographic Information in Routine Clinical Histopathology](https://refivu.com/ja/papers/188d9a0e-7a3e-49cd-9ce6-a2fbf9f7ab80-health-system-wide-mapping-of-demographic-information-in.md)
- [Same Facts, Different Remedy: Linguistic Profiling and Arbitrariness in LLM and System One Decisions](https://refivu.com/ja/papers/651c228a-1123-4d3e-8f9b-c2f2f7e83e1c-same-facts-different-remedy-linguistic-profiling-and.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/f2af4fff-a22d-492c-b7f3-1f88268680fe-ridgefill-training-free-late-layer-cache-fill-for)
