SALSA: Training-Consistent Sparse Caching with Sink Preservation for Linearized LLMs
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:03 UTC · d82ad37f937d ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "ceK6OC01Xv"- }- ],- "title": "SALSA: Training-Consistent Sparse Caching with Sink Preservation for Linearized LLMs",- "authors": [],- "abstract": "The full attention mechanism in standard Transformer architectures incurs quadratic \ncomputational complexity with respect to sequence length and linearly growing KV cache \noverhead, posing severe efficiency bottlenecks in long-sequence scenarios. Although \nlinear attention reduces computational and cache overhead, its compression of history \ninto a fixed-size hidden state prevents precise recall of distant information. \nExisting conversion methods, such as LoLA, attempt to introduce a sparse cache into \nhybrid architectures to retain hard-to-compress tokens, but add it only during \ninference. This causes the attention mechanism learned during conversion to differ \nfrom the one actually executed at deployment, leading to a training-inference \ncomputation graph mismatch. The core insight of this paper is that the sparse cache \nshould not be merely an inference-time patch; rather, it should be incorporated into \nthe conversion computation graph from the attention distillation stage onward, so \nthat training and inference execute the same attention mechanism. Based on \nthis, we propose SALSA (Sink-Aligned Linearization with Sparse Adaptive Caching), a \ntraining-inference-consistent sparse caching linearization framework. SALSA partitions \nhistory into three components—a sliding window, a sparse global cache, and a linear \nattention hidden state—and enables the sparse cache to participate in both attention \ndistillation and fine-tuning, thereby eliminating training-inference distribution \nshift. On this basis, we further propose two supporting refinements: (1) retaining \ninitial sink tokens in the sliding window to stabilize the attention distribution; \nand (2) offline layer-wise sparse cache budget allocation based on inter-layer \nheterogeneity. Experiments on Llama-3.1-8B show that SALSA substantially outperforms \nprior state-of-the-art methods such as LoLCATs and LoLA on S-NIAH, improving average \naccuracy by more than 20 absolute points over LoLA while closely matching the \nfull-attention baseline on S-NIAH-1 at 0.5K--2K context lengths. On the efficiency side, SALSA \nkeeps decode cost nearly constant as context grows and, at 32K, achieves $4.0\\times$ \nhigher maximum decode throughput than FA2 under memory constraints, with nearly flat \ndecode memory.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "6f22ed95-fd03-49d3-8966-caf4f302baa6"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "SALSA: Training-Consistent Sparse Caching with Sink Preservation for Linearized LLMs",+ "authors": [],+ "abstract": "The full attention mechanism in standard Transformer architectures incurs quadratic \ncomputational complexity with respect to sequence length and linearly growing KV cache \noverhead, posing severe efficiency bottlenecks in long-sequence scenarios. Although \nlinear attention reduces computational and cache overhead, its compression of history \ninto a fixed-size hidden state prevents precise recall of distant information. \nExisting conversion methods, such as LoLA, attempt to introduce a sparse cache into \nhybrid architectures to retain hard-to-compress tokens, but add it only during \ninference. This causes the attention mechanism learned during conversion to differ \nfrom the one actually executed at deployment, leading to a training-inference \ncomputation graph mismatch. The core insight of this paper is that the sparse cache \nshould not be merely an inference-time patch; rather, it should be incorporated into \nthe conversion computation graph from the attention distillation stage onward, so \nthat training and inference execute the same attention mechanism. Based on \nthis, we propose SALSA (Sink-Aligned Linearization with Sparse Adaptive Caching), a \ntraining-inference-consistent sparse caching linearization framework. SALSA partitions \nhistory into three components—a sliding window, a sparse global cache, and a linear \nattention hidden state—and enables the sparse cache to participate in both attention \ndistillation and fine-tuning, thereby eliminating training-inference distribution \nshift. On this basis, we further propose two supporting refinements: (1) retaining \ninitial sink tokens in the sliding window to stabilize the attention distribution; \nand (2) offline layer-wise sparse cache budget allocation based on inter-layer \nheterogeneity. Experiments on Llama-3.1-8B show that SALSA substantially outperforms \nprior state-of-the-art methods such as LoLCATs and LoLA on S-NIAH, improving average \naccuracy by more than 20 absolute points over LoLA while closely matching the \nfull-attention baseline on S-NIAH-1 at 0.5K--2K context lengths. On the efficiency side, SALSA \nkeeps decode cost nearly constant as context grows and, at 32K, achieves $4.0\\times$ \nhigher maximum decode throughput than FA2 under memory constraints, with nearly flat \ndecode memory.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}