Mitigating Information Loss from Permanent Token Eviction

123 concepts106 papers

When Large Language Models (LLMs) process long documents or engage in extended conversations, they rely on the Key-Value (KV) cache to store the historical context of the session. Because this cache grows linearly with sequence length, it quickly becomes a massive memory bottleneck.

To keep memory footprints bounded, standard engineering practices often employ token eviction—permanently discarding older or seemingly less important tokens from the cache based on local heuristics or early attention weights. However, this hard deletion introduces a fundamental flaw: irreversible information loss.

Attention in transformers is highly dynamic and query-dependent. As Goyal et al. point out in Recycled Attention: Efficient inference for long-context language models, a token that appears completely irrelevant during the early steps of generation might become critical for context or reasoning hundreds of tokens later. When a system permanently deletes these tokens, it creates permanent gaps in the model's memory (Nawrot et al.), leading to a performance "death spiral," severe hallucinations, or a total failure to maintain global coherence (Shim et al.).

To resolve this tension between memory limits and long-term accuracy, a new wave of research focuses on architectures that compress or offload context without permanently destroying historical data.


Hierarchical Retrieval and Speculative Prefetching

One prominent strategy to avoid irreversible loss is to decouple the active computation footprint from the total context footprint. Instead of erasing evicted tokens from existence, these methods move them to a cheaper, larger secondary storage layer (such as CPU RAM) and dynamically retrieve them only when a query demands it.

[ GPU Cache (Active) ] <--- Speculative Prefetching --- [ CPU Memory (Full Context) ]
         |                                                          ^
         v                                                          |
   Current Query ----------------- Geometric Digest -----------------+

To make this efficient without stalling the GPU, researchers leverage speculative architectures:


Token Merging: Preserving the Contextual Backdrop

When offloading to CPU memory is constrained by hardware bandwidth, an alternative approach is to compress the cache directly within the GPU. Instead of a "hard eviction" that drops tokens entirely, these techniques blend or merge redundant tokens into their neighbors, retaining a continuous global representation.

Hard Eviction:   [Token A] [Token B] [Token C]  --->  [Token A] [       ] [Token C]  (Info Lost!)
Token Merging:   [Token A] [Token B] [Token C]  --->  [Token A] [ B + C ]            (Info Blended)

This approach works by exploiting mathematical redundancies within the attention mechanism itself:


Dynamic Cache Refreshing

A third paradigm shifts away from trying to pick the "perfect" static subset of tokens to keep. Instead, it accepts that the optimal cache contents change as the model generates text, and solves the problem by periodically rebuilding the active cache.

In RefreshKV: Updating Small KV Cache During Long-form Generation, Xu and Choi demonstrate the power of this approach. Their framework maintains the full context in memory but decodes primarily from a much smaller, highly active KV cache. As the generation topic shifts, the system periodically re-indexes the full context to refresh the active cache based on new attention patterns.

By allowing the model to dynamically re-evaluate what is important, this approach achieves the latency benefits of aggressive eviction methods while completely bypassing the catastrophic information loss that occurs when tokens are permanently deleted early in the generation process.

History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_token_eviction_information_loss_06219614,
  title = {token eviction information loss},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/token-eviction-information-loss/rdr_0621961450d14e21ab7e5949881affda},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_token_eviction_information_loss_06219614_v1,
  title = {token eviction information loss},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/token-eviction-information-loss/rdr_0621961450d14e21ab7e5949881affda/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake