betaFeedback

WorksComputer Science

SPIN: Shadow Predictive Indexer for Sparse Attention

Abstract

Indexer-based sparse attention reduces the cost of core attention by passing only a fixed, small number of important tokens to it. However, the indexer must still score the entire KV cache at every decoding step. This scoring overhead becomes a major bottleneck as the context length grows. We propose SPIN (Shadow Predictive Indexer) to reduce this indexer overhead. SPIN uses lightweight, history-based prediction to identify important KV blocks, avoiding the need to score the full KV cache at every decoding step. SPIN keeps the score history fresh with random exploration and allocates the block budget across layers by their measured miss rates. SPIN treats KV blocks and speculative decoding as first-class design and implementation considerations. Across extensive evaluations on long-context and agentic benchmarks, SPIN achieves 30-40% sparsity while preserving task quality. With larger exploration shares and per-layer block budgets, SPIN keeps task quality on the especially difficult MRCRv2 benchmark close to baseline at 50-57% effective block sparsity. In end-to-end vLLM serving, SPIN improves output throughput by up to 13.9% and reduces median inter-token latency by up to 13.6%.

Introduction

DeepSeek Sparse Attention [12] (DSA) is a sparse attention architecture that relies on an indexer to score each token in the context. DSA and its variants have seen significant adoption among frontier open-source models, including DeepSeek-V4 [13], GLM-5.2 [29], MiniMax-M3 [18], and LongCat-2.0 [20]. Core attention processes a fixed top-KK budget, whereas the indexer scales linearly with context length, making it the dominant bottleneck in long-context inference. DeepSeek-V4’s compressed sparse attention (CSA) layer [13] combines the original DSA with a new token-level compressor, effectively reducing DSA’s context length by 4×4\times. This, however, does not change the indexer’s linear scaling with context length; thus, at very long context lengths (e.g., 512K–1M), the indexer remains a major contributor to DeepSeek-V4’s decode inter-token latency (ITL).

We observe that DSA’s indexer patterns are predictable, similar to temporal patterns previously observed in attention scores [26, 27]. Indexer scores can be positively correlated with (1) previous DSA layers’ indexer scores in the same decode iteration (prev-layer) and (2) the same layer’s scores from previous iterations (prev-iter). Our benchmarking results show that prev-iter signals correlate more strongly with current scores than prev-layer signals. This motivates Shadow Predictive Indexer (SPIN), which uses simple per-request statistics of each DSA layer’s scores from previous decoding iterations to predict token importance and skip less important context tokens, thereby sparsifying the indexer input. Because skipped blocks receive no score updates, SPIN reserves a small share of a fixed block budget for random exploration, which refreshes them at low overhead. Indexer scores are also not equally predictable across layers, so SPIN sizes a per-layer block budget by each layer’s miss rate, measured at periodic dense probe steps. To enable efficient implementation in LLM serving frameworks, SPIN applies sparsity at the KV-block level. SPIN is training-free and introduces no new auxiliary layers or networks.

We implement SPIN for the DeepSeek-V4 model class in vLLM [17] for accuracy evaluation. Across the long-context benchmarks LongBench-v2 [4], AA-LCR [3], MRCRv2 [21], and RULER [15], and the agentic benchmark τ2-airline [7, 28], SPIN preserves comparable task quality at 30–40% block sparsity. On MRCRv2, scaling the exploration share with target block sparsity keeps task quality close to baseline at 50% block sparsity, and per-layer block budgets reach 57% effective block sparsity with the default 5% share. We further integrate SPIN into vLLM, where the 57% setting improves output throughput by 13.9% and reduces median inter-token latency by 13.6%.

Our concrete contributions are as follows:

  1. We evaluate various prev-iter and prev-layer prediction signals for the indexer in DeepSeek-V4 and show

that prev-iter indexer scores provide the most accurate predictions.

  1. We propose Spin to sparsify the indexer based on prev-iter scores and an exploration mechanism and ablate various methods to pool the per-token scores into a block-level prediction.

  1. We compare exploration methods on MRCRv2 and show that exploration keeps task quality close to baseline within the same block budget when the exploration share grows with target block sparsity.

  1. We size Spin’s block budget per layer with a min-max partition of per-layer miss curves measured from periodic dense probe steps, which keeps MRCRv2 task quality close to baseline at 57% effective block sparsity.

  1. We evaluate Spin on DeepSeek-V4 across long-context and agentic benchmarks and integrate it into vLLM, improving output throughput by 13.9% and reducing median inter-token latency by 13.6% at 57% effective block sparsity.

  1. We evaluate Spin during speculative target-model verification using DeepSeek-V4’s native multi-token prediction (MTP) on SPEED-Bench [1].

DSA Indexer Patterns and Prediction

In each decode iteration, DSA’s indexer computes a scalar score for each context token. For query token tt, the indexer projects its representation into a multi-head query qt\boldsymbol{q}_t. The key ki\boldsymbol{k}_i for each context token ii is generated earlier and cached during inference. Rotary positional encodings (RoPE) [22] are applied to half of each head’s dimensions. The indexer score for context token ii is zt[i]=∑h=1nhwhReLU⁡(qt,h⋅ki,h)z_t[i] = \sum_{h=1}^{n_h} w_h \operatorname{ReLU}(\boldsymbol{q}_{t,h} \cdot\boldsymbol{k}_{i,h}), where nhn_h is the number of heads, and qt,h\boldsymbol{q}_{t,h}, ki,h\boldsymbol{k}_{i,h}, and whw_h are the query, key, and weight for head hh. The top-KK tokens with the highest scores are selected and passed to core attention, with KK in practice ranging from 512 to 2048.

The DSA indexer exhibits patterns that can be predicted in different ways. Figure 1 visualizes the top-KK selection mask from a single layer on a prompt from SUMMSCREENFD [9]. The vertical axis represents decode iterations. Vertical-line and diagonal-band patterns are clearly visible. Vertical lines indicate that the indexer tends to select the same tokens across multiple iterations. Diagonal bands resemble well-documented "slash" patterns in some attention heads [11, 27], which are known to be caused by RoPE [6, 10]. Among the DSA models we examine, DeepSeek-V3.2 is the only one with prominent diagonal bands; the others exhibit mostly vertical patterns. Both patterns allow prediction of indexer scores using scores from the previous iteration (prev-iter prediction).

DSA indexer top-$K$ patterns for DeepSeek-V3.2 and DeepSeek-V4

Figure 1. Indexer top-KK patterns from a single DSA layer on a prompt from SUMMSCREENFD. The y-axis represents decode iterations. The prompt is 9.7K tokens long, and 1,400 context KV slots are visualized along the x-axis. DeepSeek-V3.2 exhibits prominent diagonal bands and vertical lines, whereas DeepSeek-V4 exhibits mostly vertical patterns.

Indexer scores can also be predicted using scores from earlier layers in the same decode iteration (prev-layer prediction). This is the core idea behind GLM-5’s IndexCache [5] and indexer sharing across adjacent layers in GLM-5.2 [29]. We compare four predictors derived from two signal sources—previous layers and previous decode iterations—against a random baseline. Each method constructs a proxy for the target indexer scores:

  1. Random: Sample indexer scores independently and uniformly at random. The expected score correlation is zero.

  1. Prev-layer: Reuse the indexer scores from the preceding DSA layer in the same decode iteration.

  1. Prev-layer (best-of-5 oracle): Consider the indexer scores from the five preceding DSA layers and report the best of the five.

  1. Prev-iter: Reuse the indexer scores from the preceding decode iteration at the same DSA layer.

  1. Prev-iter (offset 1): Shift the prev-iter indexer scores by one position to align with the diagonal pattern.

To test whether the prediction signals generalize across models, tasks, and context lengths, we evaluate them on both DeepSeek-V3.2 and DeepSeek-V4 Flash using two diagnostic prompts: a 9.7K-token SUMMSCREENFD summarization prompt and a 94K-token AA-LCR [3] reasoning prompt. At each decode iteration, we compare the predicted scores and top-KK indices with the original indexer outputs, reporting Pearson correlation for score prediction and recall for top-KK selection. For SUMMSCREENFD, we disable thinking and evaluate all DSA layers. For AA-LCR, we enable thinking but evaluate only layers {0,10,20,30,40,50,60}\{0, 10, 20, 30, 40, 50, 60\} and omit the prev-layer best-of-5 oracle to limit evaluation cost.

Table 1 shows the score correlation and top-KK recall for each prediction method, averaged over layers and decode iterations. Prev-iter prediction is the most accurate method and also scales well to longer contexts. From SUMMSCREENFD to AA-LCR, the context length increases by a factor of 9.7, and the random recall baseline drops proportionally. However, the prev-iter recall rate is largely maintained. Prev-layer prediction works better on DeepSeek-V4 than on DeepSeek-V3.2 but lags prev-iter on both models.

DeepSeek-V3.2DeepSeek-V4 Flash
Methodsummscreenfd Pearson correlationsummscreenfd top-KK recallAA-LCR Pearson correlationAA-LCR top-KK recallsummscreenfd Pearson correlationsummscreenfd top-KK recallAA-LCR Pearson correlationAA-LCR top-KK recall
Random baseline0.0000.2030.0000.0220.0000.2030.0000.022
Prev-layer0.2890.3590.4310.1640.5470.4820.5190.306
Prev-layer (Bo5)0.5000.461––0.6260.525––
Prev-iter0.9130.8240.9020.6150.8760.7510.8490.577
Prev-iter (offset 1)0.8070.6600.6650.3140.5260.4600.5710.302

Table 1. Comparison of indexer prediction methods — profiling results for one prompt each from SUMMSCREENFD (length: 9.7k) and AA-LCR (length: 94k). Values are averaged over layers and decode iterations. The best method is shown in bold, and the second-best method is underlined.

Motivated by these results, we design SPIN to predict block importance from per-layer statistics accumulated across previous decode iterations.

SPIN

Overview

SPIN extends naïve prev-iter score prediction in four ways:

  1. Maintain exponential moving averages (EMAs) of previous indexer scores along the vertical and diagonal patterns. This allows SPIN to capture longer-term signals in both patterns.

  1. Pool the predicted token-level scores into blocks. This allows SPIN to skip entire KV blocks and integrate efficiently with paged-attention backends.

  1. Reserve a small share of the block budget for random exploration. This allows SPIN to refresh observations of skipped blocks without increasing the number of blocks scored.

  1. Allocate a per-layer block budget by each layer’s miss rate, measured at periodic dense probe steps. Layers with higher miss rates receive more blocks.

Algorithm 1: Core SPIN block-selection and EMA-update logic for one decode iteration

Input: Indexer query position qtq_t; context length NtN_t in KV slots; state V,DV,D; block size bb; post-indexer selection size KK; target block sparsity ρ\rho; EMA decay α\alpha

Output: Post-indexer top-KK slot set TtT_t and updated state V,DV,D

  1. Bt←⌈Nt/b⌉B_t \leftarrow\lceil N_t/b\rceil; // total number of context blocks

  2. for j←0j \leftarrow0 to Bt−1B_t-1 do

  3. St[j]←max⁡jb≤i<min⁡{(j+1)b,Nt}max⁡{V[i],D[qt−i]}S_t[j] \leftarrow\max_{j b \le i < \min\{(j+1)b,N_t\}} \max\{V[i],D[q_t-i]\}; // predicted scores

  4. mt←min⁡{Bt,max⁡(⌈K/b⌉,⌈(1−ρ)Bt⌉)}m_t \leftarrow\min\{B_t,\max(\lceil K/b\rceil,\lceil(1-\rho)B_t\rceil)\}; // number of blocks to select

  5. MtB←TopK⁡({St[0],…,St[Bt−1]},mt)M_t^B \leftarrow\operatorname{TopK}(\{S_t[0],\ldots,S_t[B_t-1]\},m_t); // selected blocks

  6. zt←Indexer⁡(MtB)z_t \leftarrow\operatorname{Indexer}(M_t^B); // indexer scores in logical KV-slot coordinates

  7. Tt←TopK⁡(zt,K)T_t \leftarrow\operatorname{TopK}(z_t,K);

  8. foreach i∈dom⁡(zt)i \in\operatorname{dom}(z_t) do

  9. V[i]←αV[i]+(1−α)zt[i]V[i] \leftarrow\alpha V[i]+(1-\alpha)z_t[i]; // EMA updates

  10. D[qt−i]←αD[qt−i]+(1−α)zt[i]D[q_t-i] \leftarrow\alpha D[q_t-i]+(1-\alpha)z_t[i];

Spin Algorithm

SPIN operates over the KV slots visible to the indexer; for DeepSeek-V4, each slot corresponds to a compressed token.

To predict the indexer score of slot ii at query position qtq_t, SPIN combines two EMA statistics: V[i]V[i], the vertical score associated with absolute slot ii, and D[qt−i]D[q_t-i], the diagonal score associated with relative offset qt−iq_t-i. The predicted score is

z^t[i]=max⁡(V[i],D[qt−i]).(1)\hat{z}_t[i] = \max\left(V[i],D[q_t-i]\right). \tag*{(1)}

SPIN partitions the slots into logical blocks of size bb, matching the block size used by the attention backend, and defines b(i)=⌊i/b⌋b(i)=\lfloor i/b\rfloor as the block containing slot ii. It then max-pools the predicted scores within each block to produce a predicted block score:

St[j]=max⁡i: b(i)=jz^t[i].(2)S_t[j] = \max_{i:\,b(i)=j} \hat{z}_t[i]. \tag*{(2)}

We study alternative pooling methods in § 4.7.

Let KK denote the output size of the post-indexer top-KK selection. The target block sparsity ρ∈[0,1]\rho\in[0,1] denotes the desired fraction of context blocks to skip. The resulting number of selected blocks, mtm_t, is lower-bounded by ⌈K/b⌉\lceil K/b\rceil to provide capacity for at least KK slots and capped by the number of available blocks. The mtm_t highest-scoring blocks are passed to the indexer, which computes scores for all slots in those blocks. The original post-indexer top-KK operator then selects KK slots from these scores for core attention. The pre-indexer block selection operates over one predicted score per block rather than one per slot, reducing the size of the selection problem.

After the indexer evaluates the selected blocks, their scores update the corresponding VV and DD EMA states. Because skipped blocks produce no scores, SPIN updates its EMA state from partial observations at each decode iteration. Slots in skipped blocks keep their previous statistics until they are observed again, and exploration (§ 3.2.1) keeps these observations fresh.

By design, SPIN’s block prediction and EMA update can be scheduled asynchronously and overlapped with the forward pass of other layers.

Algorithm 1 summarizes SPIN’s core block-selection and EMA-update logic. For clarity, it omits several practical details. SPIN resets VV and DD to zero after prefill. For multi-turn inference, it repeats this reset at the start of each turn. In both cases, the first decode iteration runs without block pruning to initialize the EMA state. We also always retain the sink block and the newest active block. Exploration is described separately below.

Exploration

Blocks outside the selection receive no EMA updates, yet they can become important at later decode steps. SPIN refreshes them within the existing block budget by reserving part of it for exploration.

At each iteration, SPIN reserves a fraction γ\gamma of the block budget mtm_t for exploration. We call γ\gamma the exploration share and use 5% by default. The remaining budget retains the forced blocks and the highest-scoring blocks following Algorithm 1. Exploration fills the reserved positions with distinct blocks chosen from those not already selected. Forced blocks count toward mtm_t, and the exploration budget is capped by the remaining capacity. The total number of selected blocks remains unchanged, preserving the block budget.

The explored blocks receive fresh indexer scores and EMA updates, allowing previously missed slots to reflect their current importance. SPIN uses random exploration, which needs no per-block state. § 4.7 compares exploration methods and exploration shares.

Per-Layer Block Budgets

Indexer scores are not equally predictable across layers. With the same 50% block sparsity in every layer, the miss rate, the fraction of the dense indexer’s top-KK slots that fall into skipped blocks, ranges from 0.8% to 10.0% across the 21 CSA layers, the only layers with an indexer, on AA-LCR. The layer ordering is similar across the four prompt sets we probe (Figure 2). A uniform budget would leave the least predictable layers short of blocks, so SPIN sizes the budget per layer. A per-layer block budget lets each CSA layer ll keep its own fraction klk_l of context blocks, its keep ratio, subject to a fixed total budget

Figure 2. Per-layer miss rate of block prediction for DeepSeek-V4 Flash (FP8, GB300 TP4), from dense probe steps while decoding 16 prompts from each of WildChat [31], SWE-bench [16], AA-LCR, and MRCRv2. (a) Miss rate per CSA layer with the same 50% block sparsity in every layer; the legend gives each prompt set’s median length. Pairwise Spearman correlations of the layer ordering across prompt sets range from 0.59 to 0.94. (b) Miss rate versus per-layer keep ratio on AA-LCR; the layers with the lowest, median, and highest miss at keep ratio 0.5 are highlighted.

∑lkl≤L(1−ρ),kl∈G={kmin⁡,kmin⁡+δ,…,1},\sum_l k_l \le L(1-\rho), \qquad k_l \in\mathcal{G} = \{k_{\min}, k_{\min}+\delta,\ldots,1\},

where LL is the number of CSA layers. Each layer’s indexer cost is close to linear in klk_l, so total indexer work depends only on the mean keep ratio.

Every PP decode steps, where PP is the probe period, a dense probe step scores all blocks. Before the EMA update, SPIN records, for every keep ratio k∈Gk \in\mathcal{G}, the miss rate of its top-ranked ⌈kBt⌉\lceil kB_t\rceil predicted blocks. This gives each layer’s miss curve μl(k)\mu_l(k) at the cost of one dense indexer step.

SPIN chooses the keep ratios that minimize the worst layer’s miss, min⁡max⁡lμl(kl)\min\max_l \mu_l(k_l), under the budget constraint. This min-max partition has an exact threshold-scan solution. For a miss threshold τ\tau, each layer takes the smallest keep ratio that meets it, and SPIN takes the smallest threshold that fits the budget,

kl(τ)=min⁡{k∈G:μl(k)≤τ},τ⋆=min⁡{τ∈{μl(k)}:∑lkl(τ)≤L(1−ρ)}.k_l(\tau)=\min\{k \in\mathcal{G}:\mu_l(k)\le\tau\}, \qquad\tau^\star=\min\{\tau\in\{\mu_l(k)\}:\sum_l k_l(\tau)\le L(1-\rho)\}.

Because ∑lkl(τ)\sum_l k_l(\tau) never increases with τ\tau, one scan over the measured miss values finds τ⋆\tau^\star. SPIN spends any leftover budget one grid step δ\delta at a time on the layer with the highest current miss, and the floor kmin⁡k_{\min} bounds how far any layer can be starved. Each layer ll then runs Algorithm 1 with its own target block sparsity 1−kl1-k_l.

A background thread re-solves the partition every 60 s when any miss curve drifts by more than 0.02, and publishes the keep ratios to a device-side table that works under CUDA-graph replay without recompilation. Probe steps skip no blocks, so we report per-layer block budgets at their effective block sparsity ρ(1−1/P)\rho(1 - 1/P). We use δ=0.05\delta= 0.05, kmin⁡=0.1k_{\min} = 0.1, and the default 5% exploration share. A SPIN configuration is set by ρ\rho, γ\gamma, and PP. Without probe steps, every layer keeps 1−ρ1 - \rho.

Speculative Decoding

For a speculative draft of length dd, the target model evaluates d+1d + 1 verifier queries in a single forward pass, indexed by rows r∈{0,…,d}r \in\{0, \ldots, d\}. Row rr is valid if the first rr draft tokens are accepted; row 0 is therefore always valid. These verifier queries share the same context KV cache but have different query positions and hidden states.

A potential concern when applying SPIN to speculative decoding is that independently predicted block masks for each query may have a large union, reducing the realized block sparsity. However, we observe that the block masks selected for adjacent verifier queries overlap substantially (§ 4.6). Based on this observation, SPIN predicts a block mask for each verifier query and uses their union as the shared indexer-input mask.

EMA updates are deferred until the verification outcomes are known. If aa draft tokens are accepted, the observations from rows 0,…,a0, \ldots, a are replayed in order to update the EMA state. The remaining rows are off the committed decode path and are discarded.

We evaluate this design using DeepSeek-V4’s native MTP implementation and study its impact on speculative-decoding acceptance in § 4.6.

Experimental Evaluation

In this section, we evaluate SPIN’s impact on inference quality and performance. We also conduct microbenchmarks of its key design choices. Specifically, we answer the following questions:

  1. How does SPIN affect task quality on long-context and agentic benchmarks?

  2. How much does SPIN improve end-to-end output throughput and inter-token latency in vLLM?

  3. How does SPIN interact with speculative decoding, and does applying it during target-model verification affect average acceptance length?

  4. How do block pooling, exploration, and per-layer block budgets contribute to SPIN’s selection accuracy and task quality?

Experimental Setup

We evaluate SPIN on DeepSeek-V4 Flash and Pro, using Flash as the primary model. The evaluation covers long-context benchmarks (LongBench-v2, AA-LCR, MRCRv2, and RULER), the agentic benchmark tau2-airline, and speculative decoding with SPEED-Bench. Unless otherwise specified, sparse experiments use logical blocks of 64 compressed indexer slots, max block pooling, and an EMA decay of 0.5. The LongBench-v2, AA-LCR, RULER, and tau2-airline results run SPIN without exploration, which already keeps their task quality comparable to all-keep (§ 4.2). MRCRv2 is where exploration matters (§ 4.3). The block-reduction and MTP results also run without exploration. The MRCRv2 study compares exploration methods and exploration shares. Unless a table lists the exploration share, results with exploration, including the end-to-end implementation, use random exploration with a 5% share. Results use the same block budget in every layer unless they list a probe period PP. Per-layer results report effective block sparsity, the target block sparsity with every probe step counted as dense (§ 3.2.2). We use SPIN (x%x\%) to denote a target block sparsity of x%x\%, meaning that x%x\% is the intended fraction of context blocks to skip. Realized block sparsity is the measured fraction skipped after budget rounding, forced-block retention, and, for speculative decoding, mask union. We compare each SPIN configuration with a matched all-keep baseline, in which no blocks are skipped, using the same model and evaluation protocol.

To measure mean and p99 miss, we compute dense indexer scores within the DeepSeek-V4 indexer path and apply Spin’s block masks before top-KK selection. As in sparse execution, Spin updates its EMA states only from the selected blocks. We report the task-specific score as the primary quality metric and top-KK miss rate (mean and p99) as auxiliary diagnostic metrics. The miss rate is the fraction of ground truth top-KK indices removed due to Spin’s block-sparse mask. In the MRCRv2 exploration study, the indexer scores only the selected blocks, and we report task scores. Benchmark-specific setup details and hyperparameters are described in their respective subsections. End-to-end serving performance is measured using the integrated vLLM implementation described in § 4.5.

Long-context Benchmarks

Cross-model quality. We evaluate whether Spin preserves task quality on DeepSeek-V4 Flash and Pro using LongBench-v2. We follow the official evaluation protocol but increase the maximum output length from 128 to 1,024 tokens to reduce output truncation. Table 2 reports the zero-shot exact-match scores for all-keep and Spin configurations. Across target sparsities from 20% to 50%, all Spin scores differ from the corresponding all-keep score by at most 2.6% in relative terms. These results show that Spin maintains comparable task quality on both Flash and Pro with up to 50% target block sparsity.

ConfigurationDeepSeek-V4 FlashDeepSeek-V4 Pro
All-keep53.4858.05
Spin (20%)53.0857.85
Spin (30%)52.0957.06
Spin (40%)54.2758.25
Spin (50%)54.0858.65

Table 2. LongBench-v2 exact-match score (%) over all 503 examples. Spin runs without exploration.

Sensitivity to selection misses. We evaluate how sensitive task quality is to the selection misses introduced by Spin on AA-LCR and RULER using DeepSeek-V4 Flash. The AA-LCR evaluation contains 100 questions with mean and maximum prompt lengths of 95.5K and 115.2K tokens, respectively. We repeat the evaluation five times with different random seeds to obtain a more stable score estimate. RULER covers 13 tasks at six context lengths from 4K to 128K, with 500 examples per task–length cell, yielding 39,000 examples per configuration. Given this large evaluation set, we run each configuration once.

Table 3 reports the task score, mean miss, and p99 miss for all-keep and different sparse configurations. Across target sparsities from 20% to 50%, AA-LCR scores differ from all-keep by at most 2.4 points, or 3.7% in relative terms, without a monotonic decrease. On RULER, scores decrease slightly and monotonically as miss rates increase. RULER exhibits substantially higher miss rates than AA-LCR: at 50% sparsity, its p99 miss reaches 48.83%, but task-score degradation remains small—only 1.24 points, or 1.4% relative to all-keep.

ConfigurationAA-LCR ScoreAA-LCR Mean missAA-LCR P99 missRULER ScoreRULER Mean missRULER P99 miss
All-keep64.40––90.20––
Spin (20%)62.600.88%7.81%90.135.72%19.92%
Spin (30%)64.601.92%13.48%90.0010.07%29.49%
Spin (40%)64.003.46%20.31%89.6914.87%38.67%
Spin (50%)62.005.78%28.52%88.9620.68%48.83%

Table 3. AA-LCR and RULER results for DeepSeek-V4 Flash. AA-LCR scores are averaged over execution-level runs; RULER scores are macro-averaged over task–length cells. Spin runs without exploration.

MRCRv2 Stress Test

We evaluate Spin on DeepSeek-V4 Flash using the 8-needle MRCRv2 setting at 256K, 512K, and 1M context lengths. Each configuration uses the same 100 official prompts per context bin over 40 seeded repeats, with thinking enabled at maximum reasoning effort and an output limit of 8,192 tokens. We serve the model with vLLM v0.31.0 on four GB300 GPUs (TP4) with FP8 KV and indexer caches, batch size 4, 16K-token chunked prefill, and prefix caching. All-keep uses the same deployment with Spin disabled. The three examples that exceed the model context limit in the 1M bin retain zero scores. Table 4 reports Spin with its default 5% exploration share and, as an ablation, without exploration.

Table 4 | MRCRv2 task scores of Spin with the same block budget in every layer, with 5% random exploration and, as an ablation, without exploration. Each score averages 40 repeats over 100 fixed prompts per context bin. The 95% confidence intervals of the paired difference from all-keep span ±0.9 to ±1.5 points.

Target block sparsity256K Random256K No exploration512K Random512K No exploration1M Random1M No exploration
All-keep74.6759.5743.19
20%75.3873.5158.9358.4142.6642.13
30%73.9870.7559.6153.8442.3740.15
40%73.2963.7556.9948.5541.3936.90
50%70.3154.9054.7744.0939.8833.93

Table 4.

With a 5% exploration share, Spin keeps task quality close to all-keep at 20–30% block sparsity across all three context lengths, and a 30% share keeps it close up to 50% (§ 4.7). Exploration matters most on this stress test. Without it, skipped blocks keep stale scores, and MRCRv2 task quality falls as block sparsity grows. § 4.7 shows how the share grows with block sparsity.

Agentic Benchmarks

tau2-airline We evaluate Spin with DeepSeek-V4 Flash on tau2-airline, a multi-turn agentic benchmark containing 50 tasks. We run four seeded trials per task for each configuration, yielding 200 trajectories per configuration. The target agent uses temperature 0 and top-pp 1. The hosted GPT-5.2 user simulator is fixed across all configurations at temperature 0.

Table 5 | tau2-airline results for DeepSeek-V4 Flash. Mean and p99 miss are selection-fidelity metrics over eligible sparse decode rows and are not applicable to the all-keep control. Spin runs without exploration.

Agent configurationScoreMean missP99 miss
All-keep72.5%––
Spin (20%)70.5%5.9%21.1%
Spin (30%)73.5%10.9%30.9%
Spin (40%)70.0%17.3%41.4%
Spin (50%)69.5%25.7%53.1%

Table 5.

At 30% target sparsity, Spin shows no degradation in task score. Even at 50% sparsity, the score decreases by only 4.1% relative to all-keep, despite the mean miss reaching 25.7%.

In a separate evaluation on Terminal-Bench 2.1 with DeepSeek-V4 Flash, Spin at 40% target sparsity matches the all-keep score (62.5% for both).

End-to-End vLLM Performance

We integrate Spin into vLLM v0.31.0 and evaluate its end-to-end serving performance with DeepSeek-V4 Flash on eight NVIDIA B300 GPUs using tensor parallelism of eight (TP8) and expert parallelism of eight (EP8). The routed experts use NVFP4 weights and activations. Attention, the shared experts, the LM head, and the KV and indexer caches use FP8. Serving uses full and piecewise CUDA graphs with TP disabled. These runs use the same block size, max pooling, EMA decay, warmup, and forced-block policies as the task-quality evaluations. Table 6 lists the exploration share of each configuration, and § 4.3 and § 4.7 report MRCRv2 task quality for each row.

Target block sparsityExploration shareProbe periodEffective block sparsityOutput TPSTPS gainMedian ITL (ms)ITL reduction
0% (all-keep)–––4788.86–17.777–
30%5%–30%5000.56+4.4%16.9354.7%
40%20%–40%5192.38+8.4%16.2788.4%
50%20%–50%5362.07+12.0%15.59412.3%
65%5%856.9%5455.49+13.9%15.35513.6%

Table 6. End-to-end serving performance for DeepSeek-V4 Flash with 507K cached context tokens and 5K new input tokens. The batch size is 96, and each request generates 16K tokens. TPS gain and ITL reduction are computed relative to the all-keep row. All rows come from one measurement run. Rows without a probe period use the same block budget in every layer.

We evaluate a workload with a long cached context, a common setting in agentic tasks. We pre-populate one distinct cached prefix for each request before sending the measured wave. The workload contains 507K cached context tokens and 5K new input tokens. After one warmup batch, we measure 96 concurrent requests, each generating 16K output tokens. We report output throughput in tokens per second (TPS) and median inter-token latency (ITL).

Table 6 reports the end-to-end results. SPIN improves output throughput by 4.4–13.9% and reduces median ITL by 4.7–13.6%. Throughput gain grows steadily with block sparsity, so sparsity that SPIN keeps at high quality turns directly into serving speed. The last row uses per-layer block budgets (§ 3.2.2), refit live during the run, and its throughput gain follows its effective block sparsity. The exploration share does not change throughput. In the same measurement run, raising it from 20% to 30% at 50% target block sparsity changes output TPS by 0.05%.

Speculative Decoding

We study how SPIN interacts with speculative decoding using DeepSeek-V4’s native multi-token prediction (MTP) with a draft length of three. Extending SPIN to multiple verifier queries requires decisions about constructing a shared sparse mask and updating the EMA state after verification. We first ablate these choices through offline trace replay and then evaluate the selected policy’s impact on speculative-decoding acceptance online.

Offline policy ablation. We collect 60 MTP traces by running 15 curated AA-LCR prompts with DeepSeek-V4 Flash and Pro in both chat and thinking modes. Each trace records the verifier queries and their acceptance outcomes.

For mask construction, we compare row-0 sharing, which shares the row-0 mask across all verifier rows, with row-local union, which unions masks predicted separately for each row. For EMA updating, we compare row-0 update with prefix-valid update, which sequentially updates from all prefix-valid rows after the acceptance outcomes are known. We replay SPIN on the collected traces at seven target block sparsities from 10% to 50% and report the aggregated p99 miss rate.

Figure 3 shows that prefix-valid update has the larger effect, reducing p99 miss by 5.9–11.0% relative to row-0 update. Mask construction has a smaller effect. At matched realized sparsity, row-local union achieves slightly lower p99 miss than row-0 sharing. Mean miss follows the same trend and is therefore omitted from the figure. We therefore adopt row-local union with prefix-valid update as SPIN’s default MTP strategy.

MTP policy ablation showing p99 miss versus realized block sparsity for Row-0 sharing with row-0 update, Row-0 sharing with prefix-valid update, Row-local union with row-0 update, and Row-local union with prefix-valid update

Figure 3. MTP policy ablation over 60 AA-LCR traces with a draft length of three. Each point reports p99 miss and realized block sparsity for one target sparsity under one mask-construction and EMA-update strategy.

Online acceptance behavior. We then evaluate the selected strategy online on SPEED-BENCH using DeepSeek-V4 Flash. We compare it with all-keep MTP and a sparse baseline using row-0 sharing with row-0 update. Both sparse configurations use 40% target block sparsity. Average acceptance length is the mean number of tokens committed per verification step, including the target-model token, and therefore ranges from one to four. Draft-token acceptance rate is the fraction of proposed draft tokens accepted by the target model.

We exclude 27 responses flagged for repetition across all three algorithms (0.59–0.85% per configuration) and ten requests with incomplete mask statistics, leaving 1,499 matched requests.

Across the three configurations, average acceptance length differs by at most 0.0049, and draft-token acceptance rate differs by less than 0.5% relative to all-keep. The selected SPIN strategy therefore shows no visible change in observed MTP acceptance behavior on this matched subset while retaining 39.51% realized block sparsity. Its realized sparsity is only 0.4% lower than that of the row-0-sharing baseline, indicating that verifier rows select largely overlapping KV blocks.

ConditionAverage acceptance lengthDraft-token acceptance rateRealized sparsity
All-keep MTP2.404947.19%–
Row-0 sharing + row-0 update2.405947.39%39.67%
Row-local union + prefix-valid update2.409747.28%39.51%

Table 7. Online MTP acceptance behavior on a common subset of 1,499 SPEED-Bench requests after excluding repetition-flagged responses and requests without complete mask statistics.

Spin Design Ablations

Block reduction. We ablate two block-reduction design choices in Spin: where in the prediction algorithm slot-level signals are reduced to blocks and how values within each block are pooled. We define three variants, ordered from the latest to the earliest block reduction:

  • A0: Compute predicted slot scores, select top-KK slots, then expand the selection to blocks. Every block containing at least one selected slot is selected.

  • A1 (Spin’s default): Compute predicted slot scores, pool them within each block to obtain predicted block scores, and select the top-mtm_t blocks.

  • A2: Pool indexer scores within each block and use the pooled scores to update block-level V/DV/D EMA states. Use these states to directly predict block scores for top-mtm_t block selection.

A0 therefore performs block conversion latest, after slot selection. A1 pools predicted slot scores into predicted block scores while retaining slot-level EMA states. A2 performs block reduction earliest, before the EMA predictor. A0 has no pooling operator. For A1 and A2, Max takes the largest value in each block, Top-4 averages up to the four largest values, and Mean averages all values.

Figure 4(a) shows that A0 and A1-Max remain close, whereas A2-Max produces consistently higher p99 miss. Mean pooling consistently increases p99 miss. Top-4 remains close to Max but is not uniformly better. Within A1, it is slightly worse at 10–20% sparsity, near parity at 25–35%, and modestly better at 40–50%. We choose A1 because it directly controls target block sparsity, whereas A0 controls a pre-expansion slot budget and therefore determines realized block sparsity only indirectly. A1-Max also achieves lower p99 miss than A2-Max. We choose Max over Top-4 because it is simpler and avoids the low-sparsity regression while remaining close across the evaluated range.

Figure 4. Block-reduction ablation. Panel (a) compares P99 miss rates for A0, A1-Max, and A2-Max; panels (b) and (c) show relative changes in P99 miss for Mean and Top-4 compared with Max pooling in A1 and A2. Results average per-layer, per-trace P99 over all 60 curated AA-LCR traces and CSA layers.

Exploration methods. The MRCRv2 results show that random exploration recovers task quality without increasing the selected-block budget. We compare it with two alternatives under the same setup. Stalenessscore exploration combines staleness and predicted importance to rank candidate blocks. Block-age exploration selects the least recently observed blocks. All three methods use a 5% exploration share.

All three methods recover most of the quality lost without exploration, so the choice of which skipped blocks to refresh is secondary. Spin uses random exploration, even though block-age exploration scores higher at 512K and 1M (Figure 5). Random exploration needs no age tracking or age-based selection.

Figure 5. Exploration-method comparison on MRCRv2 at 256K, 512K, and 1M context lengths for DeepSeek-V4 Flash. Each point is the mean score change from all-keep, in percent, over 40 repeats of 100 fixed prompts. Error bars are 95% confidence intervals of the paired difference, and the gray band is the all-keep 95% confidence interval. All exploration methods use a 5% exploration share.

Exploration share. Higher target block sparsity needs a larger exploration share (Figure 6). With a 20–30% share, task quality stays close to all-keep at 50% target block sparsity. Because the share does not change throughput (§ 4.5), scaling it with block sparsity is free.

Figure 6. MRCRv2 task score versus exploration share for DeepSeek-V4 Flash with random exploration. (a) 256K at 50%, 60%, and 70% target block sparsity. (b) 512K at 40% and 50% target block sparsity with 0–30% exploration shares. Each point averages 40 repeats over 100 fixed prompts. Error bars are 95% confidence intervals of the mean, and gray bands are all-keep 95% confidence intervals.

Per-layer block budgets. We evaluate per-layer block budgets on 512K MRCRv2 with the deployment of § 4.3 and the default 5% exploration share. With a probe period of 8, they keep task quality close to all-keep at 57% and 61% effective block sparsity, 5–7 points above a uniform budget at 55% and 60% (Figure 7).

Figure 7. MRCRv2 task score versus effective block sparsity at 512K for DeepSeek-V4 Flash, with a 5% exploration share. PP is the probe period, and effective block sparsity counts probe steps as dense. Each point averages 5 repeats over 100 fixed prompts. Error bars are 95% confidence intervals of the mean, and the gray band is the 95% confidence interval of an all-keep control run with the same repeats.

Spin sizes a per-layer block budget, keeping the total budget across all layers at the same user-specified target block sparsity. The allocation minimizes the worst layer’s miss rate, not the average. Empirically, this objective performs better, scoring about 1.28 points higher on average than minimizing the average layer’s miss rate across 50–70% target sparsity (the Pareto points in Figure 7).

Related Work

Temporal correlation in attention. It is well documented that attention scores form vertical and diagonal patterns in certain heads; many papers have leveraged these patterns to sparsify and speed up attention during decode. H2O [30] selects heavy-hitter tokens using accumulated historical attention scores while retaining a separate budget for recent tokens. StreamingLLM [24] instead retains attention-sink tokens together with a sliding window of recent tokens. Several works also analyze the diagonal pattern and its origin in RoPE positional encoding [6, 11, 27]. AttentionPredictor [26] learns to predict next-token attention scores from their temporal history. PRR [23] applies an EMA block predictor to dynamic sparse attention, using predicted blocks to speculatively execute core attention while the original block selector runs and repairing missed blocks afterward. Rather than assuming temporal prediction is the right choice, § 2 empirically compares previous-iteration prediction against random and cross-layer alternatives and shows that previous-iteration prediction is more accurate.

Indexer-based sparse attention and its optimizations. Recent work reduces indexer cost through several complementary mechanisms. Cross-layer reuse avoids repeated indexing at adjacent layers. IndexCache [5], discussed in § 2, studies training-free and training-aware methods that reuse top-KK indices across DSA layers. GLM-5.2 natively deploys this mechanism from mid-training [29]. HISA [25] reduces indexer cost through hierarchical filtering, running DSA’s original token-level indexer only within blocks selected by a coarse block-level stage. LongCat-2.0 later combines cross-layer reuse and hierarchical filtering with streaming-aware indexing in LongCat Sparse Attention [20]. MiniMax Sparse Attention [18] instead adopts a native block-level Index Branch that selects blocks independently for each GQA group. MISA [32] routes a query-dependent subset of indexer heads to perform full-prefix token-level scoring, while PIVOT [19] amortizes a full-prefix indexer scan across grouped queries. Closest to our work, TISA [2] partitions prefix positions into fixed contiguous groups, refreshes one group per decode step in round-robin order, and reuses cached scores for the remaining groups before running top-KK over the complete score cache. Unlike TISA’s fixed refresh schedule, Spin explicitly models vertical and diagonal temporal patterns with per-slot and relative-offset EMA states and selects indexer-input blocks according to predicted importance.

Non-uniform budget allocation. KV-cache compression methods have also found that a uniform budget is suboptimal. PyramidKV [8] assigns larger cache budgets to lower layers, following a pyramidal pattern of attention concentration. Ada-KV [14] redistributes a fixed budget across the heads of a layer according to their attention scores. Both methods permanently evict KV entries and set their allocation from attention statistics. Spin’s per-layer block budget keeps the full cache and controls which blocks enter the indexer at each decode step. It allocates blocks to minimize the worst-layer miss of block prediction against the dense indexer, measured by periodic dense probes and refit online as the workload drifts (§ 3.2.2).

Other work targets later stages of sparse attention. Guess-Verify-Refine [10] uses temporal correlation to accelerate the post-indexer top-KK operator. Spin instead applies temporal prediction before the indexer, using vertical and diagonal slot-level EMAs to prune its input, and refreshes skipped blocks with exploration within the selected-block budget.

Limitations

Spin predicts block importance from historical indexer scores and therefore has limited ability to anticipate patterns not represented in its history, such as sudden attention shifts. Incorporating other prediction signals is left for future work.

Our current evaluation focuses on DeepSeek-V4 and its native MTP. Although we expect the observations and designs to apply more broadly, this has not been demonstrated on other indexer-based sparse-attention models, such as GLM-5, MiniMax-M3, and LongCat-2.0, or with other speculative-decoding methods.

Conclusion

Spin shows that temporal statistics of indexer scores can serve as an effective proxy for current block importance. Using vertical and diagonal EMA statistics, Spin skips up to 40% of indexer input blocks while preserving comparable task quality across the evaluated long-context and agentic benchmarks. Random exploration keeps observations fresh within the same block budget. On MRCV2, exploration shares that grow with target block sparsity and per-layer block budgets keep task quality close to all-keep at higher block sparsity. Spin also retains block sparsity without a visible change in acceptance behavior under DeepSeek-V4’s native MTP. At 57% effective block sparsity, our integrated vLLM implementation improves output throughput by 13.9% and reduces median inter-token latency by 13.6%. Combining temporal history with current-query or cross-layer signals may reduce worst-case misses under sudden attention shifts and is a natural direction for future work.

References

  1. [1]Talor Abramovich, Maor Ashkenazi, Izzy Putterman, Benjamin Chislett, Tiyasa Mitra, Bita Darvish Rouhani, Ran Zilberstein, and Yonatan Geifman. SPEED-Bench: A unified and diverse benchmark for speculative decoding. arXiv preprint, February 2026. URL https://arxiv.org/abs/2604.09557.
  2. [2]Anonymous. TISA: Exploiting temporal locality to accelerate indexing sparse attention. ACL Rolling Review (ARR) submission, May 2026. URL https://openreview.net/forum?id=6kO03YtMdU.
  3. [3]Artificial Analysis. Artificial analysis long context reasoning benchmark leaderboard, 2025. URL https://artificialanalysis.ai/evaluations/artificial-analysis-long-context-reasoning.
  4. [4]Yushi Bai, Shangqing Tu, Jiajie Zhang, Hao Peng, Xiaozhi Wang, Xin Lv, Shulin Cao, Jiazheng Xu, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. Longbench v2: Towards deeper understanding and reasoning on realistic long-context multitasks, 2025. URL https://arxiv.org/abs/2412.15204.
  5. [5]Yushi Bai, Qian Dong, Ting Jiang, Xin Lv, Zhengxiao Du, Aohan Zeng, Jie Tang, and Juanzi Li. IndexCache: Accelerating sparse attention via cross-layer index reuse. arXiv preprint, March 2026. URL https://arxiv.org/abs/2603.12201.
  6. [6]Federico Barbero, Alex Vitvitskyi, Christos Perivolaropoulos, Razvan Pascanu, and Petar Veličković. Round and round we go! what makes rotary positional encodings useful? In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=GtvuNrk58a.arxiv.org/abs/2410.06205
  7. [7]Victor Barres, Honghua Dong, Soham Ray, Xujie Si, and Karthik Narasimhan. τ²-bench: Evaluating conversational agents in a dual-control environment, 2025. URL https://arxiv.org/abs/2506.07982.
  8. [8]Zefan Cai, Yichi Zhang, Bofei Gao, Yuliang Liu, Tianyu Liu, Keming Lu, Wayne Xiong, Yue Dong, Baobao Chang, Junjie Hu, and Wen Xiao. PyramidKV: Dynamic KV cache compression based on pyramidal information funneling. arXiv preprint arXiv:2406.02069, 2024.arxiv.org/abs/2406.02069
  9. [9]Mingda Chen, Ziwei Chu, Sam Wiseman, and Kevin Gimpel. SummScreen: A dataset for abstractive screenplay summarization. Annual Meeting of the Association for Computational Linguistics (ACL), May 2022. URL https://aclanthology.org/2022.acl-long.589.arxiv.org/abs/2104.07091
  10. [10]Long Cheng, Ritchie Zhao, Timmy Liu, Mindy Li, Xianjie Qiao, Kefeng Duan, Yu-Jung Chen, Xiaoming Chen, Bita Darvish Rouhani, and June Yang. Guess-Verify-Refine: Data-aware top-K for sparse-attention decoding on Blackwell via temporal correlation. arXiv preprint, April 2026. URL https://arxiv.org/abs/2604.22312.
  11. [11]Yuan Cheng, Fengzhuo Zhang, Yunlong Hou, Cunciaio Du, Chao Du, Tianyu Pang, Aixinn Sun, and Zhuoran Yang. Demystifying the slash pattern in attention: The role of RoPE. arXiv preprint, 2026. URL https://arxiv.org/abs/2601.08297.
  12. [12]DeepSeek-AI. DeepSeek-V3.2: Pushing the frontier of open large language models. arXiv preprint, December 2025. URL https://arxiv.org/abs/2512.02556.
  13. [13]DeepSeek-AI. DeepSeek-V4: Towards highly efficient million-token context intelligence. arXiv preprint, April 2026. URL https://arxiv.org/abs/2606.19348.
  14. [14]Yuan Feng, Junlin Lv, Yukun Cao, Xike Xie, and S. Kevin Zhou. Ada-KV: Optimizing KV cache eviction by adaptive budget allocation for efficient LLM inference. arXiv preprint arXiv:2407.11550, 2024.arxiv.org/abs/2407.11550
  15. [15]Cheng-Ping Hsieh, Simeng Sun, Samuel Kriman, Shantanu Acharya, Dima Rekesh, Fei Jia, Yang Zhang, and Boris Ginsburg. RULER: What’s the real context size of your long-context language models? Conference on Language Modeling (COLM), April 2024. URL https://arxiv.org/abs/2404.06654.
  16. [16]Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. SWE-bench: Can language models resolve real-world GitHub issues? In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=VTF8yNQM66.arxiv.org/abs/2310.06770
  17. [17]Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. Efficient memory management for large language model serving with PagedAttention. Symposium on Operating Systems Principles (SOSP), September 2023. URL https://arxiv.org/abs/2309.06180.
  18. [18]Xunhao Lai, Weiqi Xu, Yufeng Yang, Qiaorui Chen, Yang Xu, Lunbin Zeng, Xiaolong Li, HaoHai Sun, Haichao Zhu, Vito Zhang, Jinkai Hu, JiaYao Li, Rui Gao, Zekun Li, Songquan Zhu, Jinkai Zhou, and Pengyu Zhao. MiniMax sparse attention. arXiv preprint, June 2026. URL https://arxiv.org/abs/2606.13392.
  19. [19]Hong Liu, Yuan Cheng, Lin Niu, Yi Su, Yufei Xue, Anmin Liu, Guanghua Yu, and Jianchen Zhu. PIVOT: Efficient query-group indexing for token-level sparse attention. arXiv preprint, July 2026. URL https://arxiv.org/abs/2607.24593.
  20. [20]LongCat. Introducing LongCat-2.0, June 2026. URL https://longcat.chat/blog/longcat-2.0/.
  21. [21]OpenAI. Introducing GPT-4.1 in the API, April 2025. URL https://openai.com/index/gpt-4-1/.
  22. [22]Jianlin Su, Yu Lu, Shengfeng Pan, Ahmed Murtadha, Bo Wen, and Yunfeng Liu. RoFormer: Enhanced transformer with rotary position embedding. arXiv preprint, April 2021. URL https://arxiv.org/abs/2104.09864.
  23. [23]Tianyu Wang, Gourav Rattihalli, Aditya Dhakal, Junbo Li, Zhiwei Ren, Dejan Milojicic, and Longfei Shangguan. Predict, reuse, and repair: Accelerating dynamic sparse attention for long-context LLM decoding. arXiv preprint, June 2026. URL https://arxiv.org/abs/2606.30389.
  24. [24]Guangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han, and Mike Lewis. Efficient streaming language models with attention sinks. International Conference on Learning Representations (ICLR), September 2024. URL https://arxiv.org/abs/2309.17453.
  25. [25]Yufei Xu, Fanxu Meng, Fan Jiang, Yuxuan Wang, Ruijie Zhou, Zhaohui Wang, Jiexu Wu, Zhixin Pan, Xiaojun Tang, Wenjie Pei, Tongxuan Liu, Di Yin, Xing Sun, and Muhan Zhang. HISA: Efficient hierarchical indexing for fine-grained sparse attention. arXiv preprint, March 2026. URL https://arxiv.org/abs/2603.28458.
  26. [26]Qingyue Yang, Jie Wang, Xing Li, Zhihai Wang, Chen Chen, Lei Chen, Xianzhi Yu, Wulong Liu, Jianye Hao, Mingxuan Yuan, and Bin Li. AttentionPredictor: Temporal patterns matter for KV cache compression. Conference on Neural Information Processing Systems (NeurIPS), February 2025. URL https://arxiv.org/abs/2502.04077.
  27. [27]Qingyue Yang, Jie Wang, Xing Li, Yinqi Bai, Xialiang Tong, Huiling Zhen, Jianye Hao, Mingxuan Yuan, and Bin Li. Why attention patterns exist: A unifying temporal perspective analysis. International Conference on Learning Representations (ICLR), 2026. URL https://arxiv.org/abs/2601.21709.
  28. [28]Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. τ-bench: A benchmark for tool-agent-user interaction in real-world domains, 2024. URL https://arxiv.org/abs/2406.12045.
  29. [29]Z.ai. GLM-5.2: Built for long-horizon tasks, June 2026. URL https://z.ai/blog/glm-5.2.
  30. [30]Zhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen, Lianmin Zheng, Ruisi Cai, Zhao Song, Yuandong Tian, Christopher Ré, Clark Barrett, Zhangyang Wang, and Beidi Chen. H2O: Heavy-hitter oracle for efficient generative inference of large language models. Conference on Neural Information Processing Systems (NeurIPS), June 2023. URL https://arxiv.org/abs/2306.14048.
  31. [31]Wenting Zhao, Xiang Ren, Jack Hessel, Claire Cardie, Yejin Choi, and Yuntian Deng. WildChat: 1M ChatGPT interaction logs in the wild. In The Twelfth International Conference on Learning Representations, 2024. URL https://arxiv.org/abs/2405.01470.
  32. [32]Ruijie Zhou, Fanxu Meng, Yufei Xu, Tongxuan Liu, Guangming Lu, Muhan Zhang, and Wenjie Pei. MISA: Mixture of indexer sparse attention for long-context LLM inference. arXiv preprint, May 2026. URL https://arxiv.org/abs/2605.07638.

Paper details

vlnc:W_2j9mf5b3
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents