2026-11-27 16:22 UTC

RidgeFill reports faster long-context prefill using fitted cache-fill maps

state: expiredheat: mediumuncertainty: mediumrelevance: mediumridgefill llm-prefill inference-optimization

What is this?

RidgeFill is a training-free method for reducing long-prompt prefill work: run lower model layers exactly, then use a once-fitted closed-form ridge regression to estimate later layers’ inputs and fill their key-value caches. The paper is attributed to Dylan Johnston and tcclaviger; a search result describes it as in preparation, while the supplied Reddit post links an archived OpenReview copy and code, projector files, and implementations. The post reports 1.50–1.60× faster time to first token on Qwen3.8-Flash-Next and 1.25–1.31× on Qwen3.8-27B, with small average benchmark changes but uncertainty intervals that do not rule out losses of a few points. A separate GitHub technical-note result reports different Qwen3.8-Flash-Next results in Radiance—2.10× in quality mode and 2.55× in speed mode—so results vary by setup and mode. Reddit’s linked page could not be independently read in the supplied evidence; the paper and project repositories are discoverable in web results.

Why it matters

If the reported gains hold across models and workloads, RidgeFill could make long-context inference faster without retraining the base model, potentially easing latency and compute costs for local or hosted inference. The approach is accessible to practitioners with local-inference hardware, but it is model- and setup-dependent, and tests on a limited set of models and tasks do not establish that quality is preserved in general.

Current assessment

The new development is a proposed cache-fill approximation for prompt prefill, not a change to decoding: selected rows, the prompt’s recent tail, and decoding steps still run through the full model, according to the Reddit-posted description. That description reports Qwen3.8-Flash-Next time-to-first-token gains of 1.50–1.60× at 9K–32K tokens and a 64K request falling from 82.6 to 47.5 seconds; RULER needle results are reported as 99.8 versus 100. For Qwen3.8-27B, it reports 1.25–1.31× at 16K–120K tokens, with modest measured benchmark declines and 95% intervals that include zero but still allow losses of a few points. These are authors’ reported results, not independently established performance. Search results add a separate technical note released October 5, 2026, claiming 2.10× speed in quality mode and 2.55× in speed mode on Qwen3.8-Flash-Next in Radiance; those figures use a different setup and should not be merged with the paper’s numbers. Code and projector files appear available for some model and engine combinations, but broad portability and quality on real-world tasks remain uncertain. The potential importance is lower prefill latency and compute for long contexts without base-model training; practical value depends on per-model tuning, implementation costs, and quality evaluation beyond needle-retrieval tests.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

11-02 22:25 (minted)⭐ origin echo-reconstructedThe original artifact is the authors’ preprint, DOI 10.5281/zenodo.23890247, linked from Johnston’s GitHub technical note, which explicitly
Dylan Johnston and Robert P Smith on paper (echo) · attributed from reddit.post.1xmarrf · published time unknown
—
11-02 21:54first on r/LocalLLaMA · published · lag ?[Paper] RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill
Public_Umpire_1099
—
11-02 21:54amplified on r/LocalLLaMA 👑reddit.post.1xmarrf
Public_Umpire_1099
peak 19 · 3 comments · 100% of case engagement
11-02 22:20our radar first saw it · lag ?discovery anchor: reddit.post.1xmarrf—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit[Paper] RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill
LocalLLaMA
Retrieved article excerpt

Open article · Retrieved 2026-11-02T22:23:27.340481+00:00

# Prove your humanity

We’re committed to safety and security. But not for bots. Complete the challenge below and let us know you’re
a real person.

[Reddit, Inc. © "2026". All rights reserved.](https://www.redditinc.com/)

[User Agreement](https://www.reddit.com/help/useragreement)
[Privacy Policy](https://www.reddit.com/help/privacypolicy)
[Content Policy](https://www.reddit.com/help/contentpolicy)
[Help](https://support.reddithelp.com/hc/en-us)
Public_Umpire_1099193
🟧 echo.paper ⭐The original artifact is the authors’ preprint, DOI 10.5281/zenodo.23890247, linked from Johnston’s GitHub technical note, which explicitly Dylan Johnston and Robert P Smith——

Interpretation history

Decision trace