← Back to feed
2026-07-07infra

DepthWeave-KV: Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compression

Anna Cordoba, Adam Puente Tercero, Nerea Angulo Hijo, Mar Linares Tercero, Julia Barrientos, Ainhoa Miranda, Jesus Olivera

PDF preview for DepthWeave-KV: Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compression
Read on arXiv →

Key claim

Achieves 8.3x memory reduction with high task quality.

In plain English

Imagine you're working on a language model that needs to handle long texts, like books or lengthy articles. The challenge is that as the context length increases, the memory required to store information about what the model has seen grows rapidly. This can lead to slowdowns or even failures in performance because the model can't keep up with the memory demands. Current solutions often apply the same memory-saving techniques uniformly across all parts of the model, which can lead to problems. For instance, some important pieces of information might get compressed too much, making it hard for the model to retrieve them when needed. This is what's called uniform budget degradation.

What this paper introduces is a smarter way to manage memory by adapting the compression based on the specific needs of different tokens. Instead of treating all tokens the same, it uses a method that looks at the context and decides how much detail to keep for each token. This means that critical information can be preserved better, while less important details can be compressed more aggressively. The method also tracks errors in real-time during generation, allowing it to adjust on the fly without needing to retrain the model.

In practical terms, this means that DepthWeave-KV can significantly reduce the memory footprint of long-context models while still delivering high-quality outputs. It achieves an impressive 8.3x reduction in memory usage and maintains a high processing speed, which is crucial for applications like long-form question answering or summarization where efficiency and accuracy are both key.

Novelty
8.0/10

The method introduces a novel token-adaptive cache compression technique that significantly improves memory efficiency in long-context language models.

Reliability
8.0/10

The claims are supported by multiple benchmarks and a solid experimental setup demonstrating improvements over prior methods.

Deep reliability assessment

The methodology supports efficient memory usage and task quality retention through adaptive compression, but the claims of achieving near-full-cache task quality with substantial memory reduction may be overclaimed without extensive validation across diverse tasks.

Reproducibility

No open source code or dataset is mentioned in the paper.

Key figure

Figure 1 likely illustrates the DepthWeave-KV architecture, showing the shared low-rank channel bases and token-specific residuals across transformer layers.