Chiosa
NLP & Language

A cache compressor rehearses likely answers before questions arrive

Rehearse Everything, Remember Nothing: Attic-KV Rehearses What Will Be Read · arXiv:2610.12133

3 min
Updated

In plain words

A language model keeps a small record of a long text so it can answer questions about it later. If the record is shortened before anyone knows what they will ask, rereading every sentence may waste space on details that are not useful.

Attic-KV is a way to choose what to keep: it rehearses likely answers quoted from the text, along with selected parts of the context. In tests of long-context retrieval and reasoning, it scored higher than whole-document rehearsal at a 3% cache budget on one model and test setting.

The research

If a cache must be compressed before its questions are known, how can it keep the details future answers need without spending its small memory budget rereading every sentence? The paper examines whether changing what the compressor rehearses can direct that budget toward useful information.

Attic-KV compresses a language model’s cache by rehearsing likely quoted answers and a context-adaptive set of anchor positions before future questions are known.

The authors compare Attic’s adaptive anchor rehearsal with a fixed rehearsal amount on Qwen3-8B’s RULER-4K development tasks. With similar average rehearsal amounts, Attic scored 78.0 versus 74.6, supporting the idea that context-specific amounts can help.

On RULER-4K test tasks with 3% of cache entries kept, Attic scored 73.4, above KV 2’s 67.0 and KVzip+’s 31.5. The comparison shows stronger average task performance in this setting, though the methods differ in rehearsal and, for KVzip+, scoring.

The results cover specific models, tasks, cache budgets, and evaluation settings. The main LongBench average excludes two synthetic tasks, and Attic’s single configuration was set using Qwen3-8B development data.

What the evidence shows

  • A cache for unknown questions

    Attic-KV is a training-free method for compressing a language model’s key–value cache before future questions are known. The cache must serve those later questions from a limited set of retained entries.

    The paper asks whether changing what the compressor rehearses can help that small budget preserve information useful for answering, rather than spreading it across a rereading of the whole context.

  • Rehearsal directs the budget

    The authors first tested whether rehearsed positions attract retained entries. On fact-sparse RULER-4K development tasks, semantic fact lists and geometric anchors covered 4.4–5.6% of the document but accounted for 20.6–32.9% of retained entries.

    RULER tests long-context retrieval, reasoning, aggregation, and question answering; its score measures task performance. The diagnostic suggests rehearsal directs where the cache budget goes, regardless of whether positions are selected for meaning or for their key patterns.

  • A small cache can hold answers

    A second RULER-4K development diagnostic checked whether a 5% cache was too small to hold answers. Rehearsing each question together with its gold answer produced a score of 93.5, close to 94.7 without compression; rehearsing the whole document scored 37.8 with the same scorer and budget.

    This answer-aware result shows that the small cache can preserve answers when rehearsal directs it toward them, though future questions are unavailable to Attic when it compresses a cache.

  • Adaptation and test results

    Attic adapts the amount of anchor rehearsal to the context. On Qwen3-8B’s RULER-4K development tasks, it scored 78.0 while rehearsing 34% on average, versus 74.6 for a fixed 35% rehearsal.

    On the test tasks at a 3% keep ratio, Attic scored 73.4, compared with 67.0 for KV 2’s fixed-share anchor rehearsal and 31.5 for KVzip+’s whole-context rehearsal. The test scores average task performance in this setting.

  • Adding rehearsal to other methods

    The authors also added Attic’s rehearsal to methods with different scoring procedures. Across reported test settings, its largest gains were 17.1 score points for gradient-based KVgrad and 28.1 for RestoreKV+, which uses trained restore tokens; these are maxima in particular settings.

    On LooGLE, where each document is compressed once before its questions are answered, adding Attic to RestoreKV+ improved both reported answer scores on short- and long-dependency sets. This extends the result to that one-model, one-dataset setting.

Deep

Next paperAgents can drop old cache states without rewriting their history