# SpectralKV: Redundancy-Aware KV Cache Compression via Spectral Coreset Selection

*Fangming Zhao, Fulun Ye, Xiaofei Yue, Ziming Zhao, Yu Peng, Junyu Chen, Tingting Li*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148958) · [OpenReview](https://openreview.net/forum?id=ttixAKQvFd) · [Open on the map](../papers.html#p148958)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [KV Cache Optimization](../pgroup/283.md) · Type: new method · Keywords: KV cache compression, attention concentration, spectral coreset, redundancy removal, LLM inference efficiency

Areas: [Long Context](../areas/longcontext.md) › Long-context mechanisms › KV cache eviction

## Summary
SpectralKV is a training-free framework that compresses KV caches by redistributing a global budget across layers based on attention concentration and selecting tokens via spectral coreset selection to eliminate redundancy.

## Explained to a 5-year-old
Large computer programs called language models need to remember a lot of information when they read long texts. This memory is stored in a special place called a key-value cache, but it takes up a lot of space. The new idea is to make this memory smaller by giving more space to the parts that are used a lot and removing duplicate information. It works without needing to train the program again, and it helps the programs use less computer memory.

## Explained to a 5-year-old, longer
When a big language model reads a very long story, it has to keep track of many words and ideas so it can answer questions later. To do this, it stores a copy of each word’s key and value in something called a key-value cache. This cache can become huge and use a lot of the computer’s memory, making it hard to run the model on regular hardware. The new method makes the cache smaller by looking at how often each part of the text is used and giving more space to the important parts. It also removes repeated or similar entries so that the cache keeps only the most useful information. Because it does not need to be trained again, it can be applied right away to existing models. This helps the models run faster and use less memory, which means more people can use powerful language models without needing super-expensive computers.

## For a technical reader
The method dynamically allocates a global KV cache budget across transformer layers based on attention entropy, concentrating slots where attention is denser. It then applies a spectral coreset selection within each layer, treating keys and values as points in a joint metric space and using residual pivoting to prune redundant entries while preserving geometric diversity. This training-free pipeline yields up to 44% VRAM reduction and maintains performance across LongBench and PG-19 benchmarks.

## Problem
Serving long-context large language models suffers from a memory and bandwidth bottleneck due to the key-value (KV) cache, which grows with context length. Existing compression methods often use uniform per-layer budgets and top-k token selection, ignoring variations in attention concentration across layers and failing to remove redundant key-value entries.

## Method
The approach redistributes a fixed global budget across layers based on attention concentration entropy, allocating more slots to layers with higher concentration. Within each layer, it treats keys and values as geometric objects in a joint feature space and selects tokens via residual pivoting to suppress near-duplicates while preserving distinct directions.

## Results
The approach achieves consistent improvements over seven baselines on LongBench and PG-19, with the largest gains at compression ratios as low as 6.25% keep, and a static-budget variant reduces peak prefill VRAM by up to 44% with negligible quality loss.

## Contributions
It introduces a training-free, redundancy-aware KV cache compression framework that jointly adapts per-layer budgets based on attention concentration and selects tokens via spectral coreset selection. The work also provides a static-budget variant that significantly reduces VRAM usage for LLM inference.

## Practical relevance
It enables more efficient deployment of long-context LLMs on existing hardware, lowering memory costs and improving scalability.

## Research questions this paper is counted under

- [How can we compress or evict key-value cache entries to reduce memory usage without degrading LLM performance?](../q/21.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148958)
