AI RESEARCH

Retrospective Sparse Attention for Efficient Long-Context Generation

arXiv CS.LG

ArXi:2508.09001v2 Announce Type: replace-cross Large Language Models (LLMs) are increasingly deployed in long-context tasks such as reasoning, code generation, and multi-turn dialogue. However, inference over extended contexts is bottlenecked by the Key-Value (KV) cache, whose memory footprint grows linearly with sequence length and dominates latency at each decoding step. While recent KV cache compression methods identify and load important few tokens, they focus predominantly on input contexts and fail to address the cumulative attention errors that arise during long decoding.