CLLGApr 13

Transactional Attention: Semantic Sponsorship for KV-Cache Retention

arXiv:2604.1128888.3h-index: 1
AI Analysis

For LLM serving systems, this provides a practical solution to a critical failure mode in KV-cache compression that no prior method addresses.

Transactional Attention solves the problem of dormant tokens (e.g., credentials) that are missed by all existing KV-cache compression methods, achieving 100% credential retrieval at K=16 where baselines achieve 0%, and sustaining 100% accuracy across 200 function-calling trials with less than 1% latency overhead.

At K=16 tokens (0.4% of a 4K context), every existing KV-cache compression method achieves 0% on credential retrieval. The failure mode is dormant tokens: credentials, API keys, and configuration values that receive near-zero attention but become essential at generation time. Because these tokens lack the statistical signals that eviction policies rely on, no method based on attention scores, reconstruction loss, or learned retention gates retains them. We introduce Transactional Attention (TA), a sponsorship mechanism in which structural anchor patterns (e.g., "key:", "password:") protect adjacent value-bearing tokens from eviction. TA achieves 100% credential retrieval at K=16 where six baselines (H2O, TOVA, SnapKV, StreamingLLM, PyramidKV, DynamicKV) achieve 0%, and sustains 100% accuracy across 200 function-calling trials. TA-Fast, an attention-free variant, reduces memory overhead by 52% and is compatible with SDPA and FlashAttention. TA is orthogonal to existing compression methods and adds less than 1% latency overhead.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes