LLM KV cache eviction research
This project trains a model to predict how long each token should stay in a transformer's KV cache using only its key vectors, enabling selective cache eviction that can be added after the fact without retraining the core model.
What it addresses
Most tokens in a sequence are irrelevant to attention outside a very small window, yet current approaches either keep all cache values forever or dump them all once they hit a certain age.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
LLM KV cache eviction research
This project trains a model to predict how long each token should stay in a transformer's KV cache using only its key vectors, enabling selective cache eviction that can be added after the fact without retraining the core model.
Problem: Most tokens in a sequence are irrelevant to attention outside a very small window, yet current approaches either keep all cache values forever or dump them all once they hit a certain age.
Posted by @enjeyw · Original source ↗
Source text · @enjeyw · · Source ↗
Overly specific LLM research into KV cache eviction.