Indexer-based requires scoring the entire KV cache at every decoding step, creating a bottleneck as context lengths grow. SPIN (Shadow Predictive Indexer) avoids this full scoring by using lightweight, history-based prediction to identify important KV blocks, treating blocks and as first-class design considerations.
Across evaluations on long-context and agentic benchmarks, SPIN achieves 30-40% block sparsity while preserving task quality. In end-to-end vLLM serving for DeepSeek-V4, SPIN improves output throughput by up to 14.9% and reduces median inter-token latency by up to 13.2%.
SPIN is training-free, introduces no new auxiliary layers, and is the first approach to sparsify the indexer input itself rather than the core attention. This makes it particularly relevant for models like DeepSeek-V4 where the indexer dominates decode latency at very long context lengths (512K–1M tokens).