Modelwire
Subscribe

LOCKS cuts long-context KV cache reads by selective page attention

LOCKS addresses a critical bottleneck in long-context LLM inference: the key-value cache that grows linearly with sequence length and must be read entirely at each decode step. The technique assigns every cache page its own low-rank spectral summary, roughly one-tenth the original size, enabling selective attention over only high-scoring pages without reading candidate keys upfront. Results on long-document QA and retrieval-dense benchmarks show minimal performance loss compared to full-cache attention, even at extreme budget constraints. This work matters because KV cache efficiency directly impacts serving economics and latency for production systems handling documents beyond 100K tokens.

Modelwire context

Explainer

LOCKS doesn't just compress the cache; it defers the decision of which keys to attend to until decode time by storing low-rank summaries per page. This is distinct from static pruning because the model can still route to any page based on query content, trading storage for compute in a way that adapts per token.

This completes a three-layer efficiency story Modelwire has been tracking. PIVOT (late July) solved the indexer bottleneck in sparse attention systems. The flow-control paper from the same week showed how compression and accuracy trade off in real-time systems. LOCKS now addresses the cache read bottleneck that remains even after sparse selection. Together, these papers suggest the inference stack is being optimized layer by layer rather than as a monolith. The spectral summary approach also echoes D-Score's use of hidden-state geometry for lightweight inference-time decisions.

If LOCKS maintains sub-5% perplexity loss on the RULER benchmark at 50% budget (versus the reported minimal loss at higher budgets), that signals the technique scales to tighter constraints. If a major serving framework (vLLM, SGLang) ships LOCKS support within six months, adoption will follow; if not, it remains a research artifact.

This analysis is generated by Modelwire’s editorial layer from our archive and the summary above. It is not a substitute for the original reporting. How we write it.

MentionsLOCKS · LongBench-v1 · RULER

MW

Modelwire Editorial

This synthesis and analysis was prepared by the Modelwire editorial team. We use advanced language models to read, ground, and connect the day’s most significant AI developments, providing original strategic context that helps practitioners and leaders stay ahead of the frontier.

Modelwire summarizes, we don’t republish. arXiv cs.LG originally reported this story as LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decoding”. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.

LOCKS cuts long-context KV cache reads by selective page attention · Modelwire