Fast to Start, Slow to Finish: Revisiting Position-Independent Caching for Reasoning Models
No concrete benchmark grounding is available yet. Treat the page as context or an implementation starting point only.
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
Prefix caching rarely hits when prompts share text chunks in varying orders. Position-independent caching (PIC) instead prefills each chunk separately offline, reuses these compiled KV caches at any position, and recomputes a small share of tokens online to restore cross-chunk attention. PIC cuts first-token latency on short answers, but with long reasoning chains, that latency no longer reflects the time saved. We therefore revisit eight PIC methods in a unified reimplementation on four reasoning models and three QA benchmarks. At 20% recompute or less, the published methods lose accuracy against full prefill and generate more tokens in most of the 12 model-benchmark cells. In serving, two of them can even finish requests later than full prefill. To trace how a PIC cache damages reasoning, we replay full prefill's output over the cache. The damage begins with standalone compilation, whose displacement is largely shared across prompts. Compiling behind one fixed text therefore offsets much of it offline, leaving the rest to online recomputation. Since the recomputed tokens reveal their chunk's shift, propagating their mean change reduces the damage further. We assemble these three steps into a training-free recipe that outscores each published method at the same 20% recompute in 10-12 of the 12 cells and generates fewer tokens in 9-11. In serving on an H20 GPU, the recipe reaches 1.6-2.5x full prefill's peak completion rate over the loads tested.
Results and benchmarks
Prefix caching rarely hits when prompts share text chunks in varying orders.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Validation caveat
Framework baselines
- Hugging Face Transformers training guide
Modern transformer training baseline.
- PyTorch nn.Transformer docs
Reference transformer building block implementation.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Tasks
None detected
Methods
Transformer
Domains
None detected
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.