WorksComputer Science
Joint Subspace Sparse Attention for Efficient Long-Context Decoding
Abstract
Sparse attention reduces the KV-cache traffic that dominates long-context LLM decoding, but practical methods largely operate at coarse granularity. Token-level selection offers finer control, yet presents two challenges: low-dimensional scoring may lose query–key structure needed for accurate ranking, while gathering scattered selected tokens can offset the resulting latency benefit. We introduce Joint Subspace Sparse Attention (JSSA) to address both challenges. For selection quality, JSSA learns a shared low-dimensional query–key subspace by minimizing token-score preservation error. We upper-bound the resulting non-convex objective with a tractable marginal objective that admits a closed-form spectral solution; direct refinement of the exact objective provides no measurable improvement in the tested settings. For execution efficiency, we develop a gather-free token-level indexed-attention kernel that supports distinct per-KV-head selections under the standard grouped-query attention (GQA) KV-cache layout. Across standard GQA, hybrid sliding-window/global attention, and Multi-head Latent Attention (MLA) models, JSSA consistently remains close to full-KV accuracy while avoiding the substantial generation-length inflation and architecture-dependent failures observed with competing methods. On an NVIDIA B200 GPU, JSSA achieves up to the decoding throughput of full-KV attention at 128K context. JSSA achieves reasoning accuracy comparable to model-native DSA without model training and reaches 96–99% of its decoding throughput even at 700B scale large models.
https://github.com/jiwonsong-dev/JSSA
Introduction
Long-context autoregressive decoding is often bottlenecked by repeatedly accessing the growing KV cache. With full attention, each decoding step scores the current query against the entire context and reads all the corresponding values, causing memory traffic to grow linearly with sequence length. Because attention is typically memory-bandwidth-bound in this regime, reducing KV accesses is one of the most direct ways to accelerate long-context decoding. Sparse attention reduces KV access by selecting only part of the context at each decoding step. Block- or page-level methods ([3] (Tang et al. 2024)) align naturally with paged KV-cache layouts and block-sparse kernels, whereas token-level methods ([23] (Wu et al. 2025)) such as Loki ([25]) and FASA (Wang et al., 2026) select individual positions. Token-level selection can represent finer-grained sparse patterns, yet this flexibility has not translated reliably into either higher accuracy or lower latency. This finer granularity creates two challenges. First, objectives that preserve queries or keys independently may not preserve the bilinear scores used for token ranking. Second, token-level selection produces irregular per-KV-head index sets in grouped-query attention (GQA). Gathering them into a contiguous buffer adds overhead, and forcing all KV heads to share one selected set can degrade accuracy.
We introduce Joint Subspace Sparse Attention (JSSA), a training-free method that addresses both challenges. For selection, JSSA learns a shared query–key subspace by minimizing bilinear score error through a closed-form spectral surrogate; directly refining the exact objective provides no measurable selection benefit in the tested settings. For execution, JSSA preserves distinct per-KV-head token sets and consumes them directly through a gather-free indexed-attention kernel under the standard GQA KV-cache layout. Together, these components provide an end-to-end token-level sparse-decoding path across GQA and MLA [15] models.
Our main contributions are:
Score-preserving joint query–key projection. We formulate an exact bilinear score-error objective, derive a tractable marginal upper bound with a closed-form spectral solution, and show that direct refinement provides no measurable selection benefit in the tested settings.
Gather-free per-KV-head token-level attention for GQA. We design, to the best of our knowledge, the first indexed-attention kernel that supports distinct per-KV-head selections under the standard GQA KV-cache layout without physically gathering selected entries.
Validation across architectures and scales. JSSA remains close to full-KV accuracy across GQA, hybrid local/global attention, and MLA models, and achieves up to 6.43× the decoding throughput of full-KV attention at 128K context on a B200 GPU. We further show that JSSA attains reasoning accuracy comparable to model-native DSA [2] on 700B-parameter scale models, without any model training.
Motivation
Low-Dimensional Token Scoring Requires the Right Objective
Token-level selection must score every candidate token. Unlike page-level methods, which reduce cost along the sequence axis by assigning one score to each page, token-level methods retain every position as a candidate and must instead reduce the channel dimension used for scoring. They may exploit part of original channels, as in FASA, or project the scoring vectors onto an arbitrary low-rank subspace, as in Loki.
Discrete channel selection is a restricted form of orthonormal projection, since retaining original channels corresponds to choosing standard basis vectors. An arbitrary projection therefore offers greater flexibility, but this flexibility alone does not guarantee more accurate token ranking. The subspace must be chosen using an objective that preserves the query–key interactions that determine attention scores. Figure 2(a) demonstrates this distinction: FASA’s discrete channel selection outperforms Loki’s key-reconstruction projection at every evaluated rank, with particularly large gaps at tight budgets. The comparison motivates choosing the scoring subspace to preserve query–key interactions rather than key representations alone.

Figure 2. Low-dimensional scoring and gather overhead on LLaMA-3.1-8B-Instruct. (a) LongBench accuracy versus channel budget for FASA and Loki. (b) Gather-then-attend latency at 128K context, normalized to dense attention, with a breakdown of the residual sparse-attention cost.
Gather Overhead Limits Token-Level Speedup
Even accurate token selection faces a separate systems challenge. Fine-grained selection can produce irregular index sets that do not map naturally to the layouts supported by conventional attention kernels. A common implementation therefore gathers the selected key-value entries into a contiguous buffer before invoking a dense attention kernel. Figure 2(b) shows this overhead on LLaMA-3.1-8B-Instruct [6] at 128K context by comparing gather-then-attend with reduced attention over the same selected tokens when the KV entries are already contiguous. Although sparsity substantially lowers total latency, gathering remains comparable to the reduced-attention computation itself and accounts for more than half of the residual latency at batch size 16. Thus, physically materializing selected KV entries can erase a substantial fraction of the benefit enabled by token-level sparsity.
These observations motivate two complementary requirements: a low-dimensional scoring subspace that preserves token rankings, and an attention kernel that directly accesses the selected KV entries.
Joint Subspace Sparse Attention
Overview
JSSA is a training-free token-level sparse-attention method for GQA and MLA, as illustrated in Figure 1. For each layer and KV head, it maintains a low-dimensional projected-key cache alongside the original KV cache. At each decoding step, JSSA projects the mean query of the query heads associated with KV head , scores it against , and selects the top- token positions. The associated query heads share this per-KV-head index set, while attention is computed from the original full-dimensional queries, keys, and values. For GQA, our gather-free indexed kernel directly accesses the selected KV entries; for MLA, we use FlashMLA’s sparse attention kernel [12].

Figure 1. JSSA at one decoding step for a single KV head. The mean of its associated query heads scores a projected-key cache in a shared low-dimensional subspace to select the top- token positions. The query heads share this index set, and gather-free indexed attention accesses the corresponding original full-dimensional keys and values.
Joint Query–Key Subspace
For each layer and KV head, JSSA uses an orthonormal basis with , and applies the same basis to both queries and keys. Let be the corresponding rank- projector. Unlike asymmetric query–key factorizations such as KQ-SVD [11], JSSA constrains both operands to a single shared scoring subspace; Appendix § 9.§ 6 evaluates an asymmetric KQ-SVD factorization adapted to the same token-selection pipeline. In GQA, selection uses the mean query of the query heads associated with the KV head. The projected score is
and the resulting score error is
We therefore choose to minimize the expected squared error of the bilinear score used for token ranking. Unlike query- or key-reconstruction objectives, this objective directly preserves the query– key interaction that determines token ordering. For GQA, it is defined over the group-mean query used for per-KV-head selection.
Let and denote the independently unit-trace-normalized second-moment matrices of the calibration group-mean queries and keys, preventing either marginal from dominating the surrogate. The exact selection objective is
The exact objective is non-convex and has no general closed-form solution. For any orthogonal projector , however,
The full derivation is provided in Appendix § 9.§ 3. The marginal objective admits the closed-form solution
where returns the top- eigenvectors of as columns. The bound provides a tractable surrogate but does not establish tightness or global optimality. Direct optimization from produces negligible subspace changes and no measurable improvement in oracle top- recall across the tested settings (Appendix § 9.§ 4). We therefore use directly, reducing calibration to second-moment accumulation followed by one eigendecomposition per layer and KV head.
Gather-Free Indexed Attention
After selecting the top- positions for each KV head, JSSA computes attention directly from their scattered locations in the original full-dimensional KV cache. Irregular indices are not themselves a barrier at this stage: a single token’s key or value slice is already contiguous over head dim, so each indexed read remains a burst-sized transaction and irregularity only increases the number of transactions rather than degrading each one. The main challenge in GQA lies instead in the cache layout, where each KV head occupies a separate partition and may select a different token set. Collapsing selections into a single layer-shared set reduces accuracy at long context (Appendix § 12.§ 3). This issue does not arise in MLA, where each token contributes one shared latent vector per layer and selection produces a single index set, the regime targeted by the released FlashMLA sparse kernels.
We therefore develop a Triton indexed-attention kernel that, to the best of our knowledge, is the first to support gather-free token-level attention with distinct per-KV-head selections under the standard GQA KV-cache layout. It launches once per layer and resolves the per-head index sets internally, mapping each query head to the indices selected by its associated KV head and accessing the corresponding keys and values in place. This avoids both the staging buffer required by gather-then-attend and the per-KV-head launches otherwise needed to keep distinct selections. Token scoring still examines all candidates, whereas attention accesses only the selected positions; § 4.7 shows consistent end-to-end speedups over gather-then-attend.
Projected Scoring Cache
JSSA maintains as a scoring-only auxiliary cache for token selection, while final attention uses the original full-dimensional keys and values. For GQA models, we choose so that the FP8 projected-key cache occupies at most 6.25% of the original BF16 KV cache. For MLA, we use a 128-dimensional scoring representation comprising 64 latent and 64 RoPE dimensions, matching the total dimensionality of the DSA indexer for an equal-capacity comparison. We use FP8 throughout; Appendix § 12.§ 2 verifies negligible accuracy impact relative to BF16.
Experiments
Setup
We evaluate JSSA across standard GQA, hybrid local/global GQA, and MLA architectures. LongBench (Bai et al., [1]), RULER (Hsieh et al., [8]), and PG-19 (Rae et al., [21]) use LLaMA-3.1-8B-Instruct, Qwen3-14B (Yang et al., 2025), and Ministral-3-8B-Instruct-2512 (Liu et al., [16]). Reasoning and throughput experiments use Qwen3-8B, Gemma4-26B-A4B-It (Gemma Team et al., [4]), and GLM-4.7-Flash (GLM Team et al., [5]), respectively representing GQA, hybrid local/global GQA, and MLA. For Gemma4, JSSA is applied only to the global-attention layers, while local layers retain the native sliding-window attention. We compare against full-KV and the supported sparse-attention baselines for each architecture; complete model coverage, decoding configurations, and implementation details are provided in Appendix § 8. For GQA models, we set the FP8 projected-key cache to at most 6.25% of the original BF16 KV cache ( for LLaMA, Qwen, and Ministral; for Gemma4); for MLA, we use a 128-dimensional scoring representation matching the total dimensionality of the DSA indexer.
Long-context Understanding
LongBench
Table 1 reports average LongBench performance at a KV budget of 256 tokens. JSSA achieves the best or near-best sparse result on all three models and remains within 0.67 points of full-KV, while no single competing baseline is consistently strongest across architectures.
| Model | FKV | QUEST | SqueezedAttn. | SnapKV | FASA | Loki | JSSA |
| LLaMA-3.1-8B-Instruct | 48.35 | 46.94 | 47.95 | 43.53 | 46.74 | 45.65 | 49.16 |
| Qwen3-14B | 50.49 | 48.44 | 48.58 | 45.27 | 47.93 | 49.54 | 49.82 |
| Ministral-3-8B-Instruct-2512 | 47.90 | 46.48 | 47.91 | 44.82 | 46.04 | 48.07 | 47.79 |
Table 1. Average LongBench performance at a KV budget of 256 tokens. FASA, Loki, and JSSA use 32-dimensional scoring representations. The best and second-best sparse results for each model are shown in bold and underlined, respectively.
RULER
Figure 3 reports average RULER accuracy from 32K to 128K context under a fixed 1.5625% KV budget. JSSA remains closest to full-KV attention overall and achieves the highest sparse accuracy at 128K, while competing methods show sharper degradation at long context (e.g., Loki on LLaMA-3.1-8B-Instruct) or model-specific weaknesses; on Ministral-3-8B-Instruct-2512, JSSA matches full-KV at 128K and is within 2 points at 32K and 64K.
Figure 3. RULER accuracy across context lengths. Average accuracy under a fixed 1.5625% KV budget, corresponding to 512, 1,024, and 2,048 selected tokens at 32K, 64K, and 128K context, respectively. JSSA remains close to full-KV across models, while competing methods exhibit stronger model- and length-dependent degradation.
Language Modeling
Table 2 reports PG-19 perplexity from 32K to 128K context under the same fixed-density budgets used for RULER. JSSA remains close to full-KV attention across all three models and context lengths, with a maximum gap of 1.11 perplexity points, whereas competing methods are far less consistent (e.g., Loki degrades sharply on LLaMA despite performing well on Ministral, and FASA’s perplexity spikes on LLaMA at 128K).
| Model | Context | FKV | QUEST | FASA | Loki | JSSA |
| LLaMA-3.1-8B-Instruct | 32K | 11.07 | 35.10 | 23.12 | 50.15 | 11.27 |
| LLaMA-3.1-8B-Instruct | 64K | 10.14 | 21.68 | 14.76 | 41.45 | 10.14 |
| LLaMA-3.1-8B-Instruct | 128K | 10.38 | 25.50 | 56.59 | 56.29 | 11.49 |
| Qwen3-14B | 32K | 11.24 | 16.38 | 16.89 | 14.89 | 11.49 |
| Qwen3-14B | 64K | 10.93 | 14.51 | 19.34 | 13.49 | 11.01 |
| Qwen3-14B | 128K | 10.41 | 13.29 | 15.05 | 14.61 | 10.53 |
| Ministral-3-8B-Instruct-2512 | 32K | 9.78 | 13.87 | 24.13 | 10.43 | 10.45 |
| Ministral-3-8B-Instruct-2512 | 64K | 8.96 | 12.46 | 16.20 | 9.55 | 9.64 |
| Ministral-3-8B-Instruct-2512 | 128K | 8.37 | 10.93 | 10.88 | 9.46 | 9.05 |
Table 2. PG-19 perplexity across context lengths under the same fixed-density KV budgets used for RULER. Lower is better. The best and second-best sparse results are shown in bold and underlined, respectively.
Reasoning
Table 3 reports reasoning performance at a KV budget of 1,024 tokens across standard GQA, hybrid local/global GQA, and MLA models. Each entry includes pass@1 accuracy and generation length relative to full-KV, since degraded sparse attention can destabilize reasoning trajectories even when the final answer remains correct. Across architectures, JSSA provides the strongest overall accuracy–length trade-off, remaining within 1.3 points of full-KV accuracy on most benchmarks while limiting generation-length inflation to 2–17% on Qwen3-8B and Gemma4-26B-A4B-It, versus substantially longer generations for TriAttention [17], QUEST, and SeerAttention-R. The gap over FASA is largest on Gemma4 (12.92 points on AIME 2025 (Zhang & Math-AI Team, 2025)) and GLM-4.7-Flash, where JSSA matches or exceeds full-KV accuracy on all three benchmarks (AIME 2025, MATH-500 [14], and GPQA-Diamond [22]). Complete results across budgets of 512, 1,024, and 2,048 tokens are provided in Appendix § 12.§ 5.
| Model | Method | AIME 2025 | MATH-500 | GPQA-Diamond |
| Qwen3-8B | FKV | 69.58 (1.00) | 94.53 (1.00) | 57.95 (1.00) |
| Qwen3-8B | TriAttention | 20.00 (1.75) | 86.20 (1.70) | 40.40 (4.13) |
| Qwen3-8B | QUEST | 62.92 (1.29) | 93.50 (1.21) | 58.14 (1.03) |
| Qwen3-8B | SeerAttention-R | 42.08 (1.54) | 91.80 (1.35) | 55.93 (1.43) |
| Qwen3-8B | FASA | 60.42 (1.30) | 93.58 (1.17) | 57.45 (1.06) |
| Qwen3-8B | JSSA | 68.33 (1.07) | 94.23 (1.09) | 57.39 (1.02) |
| Gemma4-26B-A4B-It | FKV | 90.00 (1.00) | 97.15 (1.00) | 80.87 (1.00) |
| Gemma4-26B-A4B-It | TriAttention | 22.50 (2.29) | 83.95 (2.37) | 43.94 (3.06) |
| Gemma4-26B-A4B-It | QUEST | 50.42 (1.96) | 93.65 (1.65) | 71.40 (2.02) |
| Gemma4-26B-A4B-It | FASA | 73.75 (1.38) | 97.08 (1.14) | 80.56 (1.18) |
| Gemma4-26B-A4B-It | JSSA | 86.67 (1.17) | 97.08 (1.13) | 81.94 (1.12) |
| GLM-4.7-Flash | FKV | 90.42 (1.00) | 96.80 (1.00) | 75.44 (1.00) |
| GLM-4.7-Flash | FASA | 65.00 (2.24) | 95.65 (1.90) | 69.38 (2.30) |
| GLM-4.7-Flash | JSSA | 91.67 (1.17) | 96.88 (1.10) | 77.53 (1.38) |
Table 3. Reasoning performance at a KV budget of 1,024 tokens. Each entry reports pass@1 accuracy, with generation length relative to FKV shown in parentheses. Higher accuracy and lower length ratio are better. Bold indicates the best sparse accuracy for each model and benchmark.
Decoding Throughput
We measure end-to-end decoding throughput on a single NVIDIA B200 GPU across Qwen3-8B, Gemma4-26B-A4B-It, and GLM-4.7-Flash, covering GQA, hybrid sliding-window/global attention, and MLA architectures. All sparse methods use a KV budget of tokens. We sweep batch size at 32K and 128K context using the FP8 projected scoring cache and the gather-free indexed-attention kernel described in § 3.4 and § 3.3.
Figure 4 reports the resulting throughput. JSSA consistently improves over full-KV, and its advantage generally grows at 128K as KV-cache traffic becomes more dominant. At 128K, JSSA reaches up to 1.51×, 1.88×, and 6.43× the throughput of full-KV on Qwen3-8B, Gemma4-26B-A4B-It, and GLM-4.7-Flash, respectively. On GLM-4.7-Flash, JSSA matches FASA’s throughput while providing substantially higher reasoning accuracy, indicating that the joint scoring objective adds little overhead (complete sweeps in Appendix § 11).
Figure 4. End-to-end decoding throughput. Throughput on a single NVIDIA B200 GPU at 32K and 128K context with a KV budget of tokens. Annotations report JSSA’s maximum speedup over FKV for each model and context setting.
Validation at Large Scale
We evaluate JSSA on two model families at 700B-parameter scale, DeepSeek-V3 and GLM-5.2, equipped with model-native DeepSeek Sparse Attention (DSA). This allows us to compare post-hoc JSSA calibration against sparse-attention mechanisms introduced during model training. For DeepSeek, we apply JSSA to DeepSeek-V3.1-Terminus (full attention) and compare against the officially released DeepSeek-V3.2-Exp, which introduces native DSA through continued pre-training from the Terminus. For GLM-5.2, an independently developed MLA model, JSSA follows the model’s native schedule of invoking selection only at a subset of layers and reusing indices across adjacent layers; no full-attention checkpoint is available for this model. Complete experimental details are provided in Appendix § 10.
Table 4: Large-scale reasoning accuracy. JSSA is applied post hoc without model training. FKV and JSSA use DeepSeek-V3.1-Terminus, whereas native DSA uses DeepSeek-V3.2-Exp. No corresponding FKV checkpoint is available for GLM-5.2.
| Model | Method | AIME 2025 | GPQA-Diamond |
| DeepSeek-V3.1-Terminus | FKV | 86.67 | 81.57 |
| DeepSeek-V3.1-Terminus | JSSA | 87.50 | 80.30 |
| DeepSeek-V3.2-Exp | Native DSA | 87.50 | 78.54 |
| GLM-5.2 | JSSA | 83.33 | 90.91 |
| GLM-5.2 | Native DSA | 82.50 | 90.91 |
Table 4. Large-scale reasoning accuracy. JSSA is applied post hoc without model training. FKV and JSSA use DeepSeek-V3.1-Terminus, whereas native DSA uses DeepSeek-V3.2-Exp. No corresponding FKV checkpoint is available for GLM-5.2.
Table 4 reports pass@1 accuracy on AIME 2025 and GPQA-Diamond. Across both model families, JSSA, FKV, and native DSA remain within a narrow accuracy range: JSSA matches native DSA on AIME 2025 for both DeepSeek and GLM-5.2, and the two methods are identical on GPQA-Diamond for GLM-5.2. Given the small numerical differences involved, we interpret these results as showing accuracy comparable to model-native DSA rather than a consistent advantage for either method. On throughput, JSSA reaches 96.1–99.2% of native DSA’s decoding throughput across the measured context lengths and batch sizes on DeepSeek, without requiring continued training. At 128K context, JSSA reaches up to 3.49× the throughput of full-KV attention at batch size 8; complete sweeps are provided in Appendix § 10.
Ablation Studies
Projection rank. Figure 5a compares JSSA with FASA and Loki as the scoring dimension varies from 4 to 32. JSSA performs best at every rank, with the largest gains under the tightest constraints (e.g., +5.40 and +24.48 LongBench points over FASA and Loki at ), showing that the joint query–key objective uses limited scoring capacity more effectively.
Figure 5. Scoring-subspace ablations. (a) LongBench accuracy versus projection rank on LLaMA-3.1-8B-Instruct at a KV budget of 256 tokens. (b) PG-19 perplexity on LLaMA-3.1-8B-Instruct under the same fixed-density KV budgets used in the main evaluation, for bases calibrated on different corpora and context lengths. Calibration transfers across datasets, but bases calibrated at 32K degrade when evaluated at 128K.
Calibration robustness. Figure 5b separates the effects of calibration corpus and calibration length under the same fixed-density KV budgets used in the main evaluation. JSSA is largely insensitive to the calibration corpus: bases calibrated on LongAlign, NarrativeQA, and LooGLE yield nearly identical perplexity at both 32K and 128K evaluation. Calibration length matters more: bases calibrated at 32K degrade sharply when evaluated at 128K (perplexity 16.05–18.31, versus 11.31–11.48 for 128K-calibrated bases), indicating that calibration should cover sequences near the maximum deployment context length.
Gather-free execution. Figure 6 isolates the benefit of consuming the selected KV entries directly through indexed attention rather than first materializing them into a contiguous buffer, using the same selected token sets with a KV budget of tokens. At 128K context on LLaMA-3.1-8B-Instruct, gather-free execution roughly doubles the attention-stage speedup over full-KV attention at batch sizes 4 and 16 (e.g., at batch 16). On Gemma-26B-A4B- it, it improves end-to-end throughput by – over gather-then-attend, with the gain growing with batch size, showing that physically gathering selected KV entries remains a substantial overhead even after sparsification.
Figure 6. Effect of gather-free indexed attention ( tokens). (a) Attention-stage speedup over full-KV attention on LLaMA-3.1-8B-Instruct at 128K, comparing gather-then-attend with our gather-free kernel. (b) End-to-end decoding speedup of gather-free execution over gather-then-attend on Gemma4-26B-A4B-It across context lengths and batch sizes.
Related Work
Coarse-grained sparse attention. Coarse-grained methods amortize selection and execution over groups of tokens. Page- and block-level approaches like QUEST (Tang et al., 2024) and SeerAttention-R [3] estimate query-dependent importance for KV pages that map naturally to block-sparse kernels. For prefill, MInference [9], FlexPrefill (Lai et al., 2025), and XAttention (Xu et al., 2025) identify input-dependent sparse patterns to reduce prompt-processing cost. Model-native designs such as NSA (Yuan et al., 2025) and MSA [18] jointly train sparse selection and hardware-aligned execution across prefill and decoding. SqueezedAttention [7] instead retrieves representation-similar clusters via centroids. Because block- and cluster-level methods may access irrelevant members within selected groups, JSSA performs individual-token selection instead.
Token-level sparse attention and execution. Dynamic token-level methods reconsider individual KV positions for each decoding query. SparQ [23] uses salient query channels, TokenSelect (Wu et al., 2025) aggregates head-specific token preferences, Loki [25] scores tokens in a key-reconstruction subspace, and FASA (Wang et al., 2026) selects original RoPE channels. SALS [19] retrieves tokens from a compressed latent KV cache, while model-native DSA DeepSeek-AI [2] learns a low-dimensional token indexer during training. Related KV-reduction methods, including H2O (Zhang et al., 2023), SnapKV [13], and TriAttention [17], permanently evict token-level entries rather than dynamically retrieving from the complete cache. JSSA retains the complete cache, derives its scoring space from joint query–key score-preservation error, and preserves distinct selected sets across KV heads. Existing efficient execution paths primarily target regular block selections or MLA’s shared latent cache, including the sparse kernels released in FlashMLA [12]. JSSA instead provides gather-free indexed attention for irregular per-KV-head selections under the standard GQA KV-cache layout.
Projected and low-rank attention representations. Low-dimensional transformations have also been used to reduce KV storage or final-attention computation. EigenAttention [24] evaluates attention in a reduced-dimensional space, KVTC (Staniszewski & Lancucki, 2026) applies a decorrelating transform before compression, and SWAN [20] rotates and prunes KV features using an orthogonal transformation. KO-SVD [11] instead derives asymmetric query and key projections that directly target attention-score fidelity; § 3 and Appendix § 9.§ 6 compare this asymmetric parameterization with JSSA’s shared scoring subspace. These methods replace or compress the representation consumed by final attention, whereas JSSA retains the original full-dimensional KV cache and uses projection only for an auxiliary scoring cache.
Conclusion
We presented JSSA, a training-free token-level sparse-attention method that jointly addresses selection quality and execution efficiency in long-context decoding. JSSA derives a shared query–key scoring subspace from a closed-form spectral objective and eliminates token-gathering overhead through gather-free indexed attention with per-KV-head selections in GQA. Across GQA, hybrid local/global attention, and MLA models, JSSA remains close to full-KV accuracy while delivering substantial throughput gains. At approximately 700B scale, JSSA matches model-native DSA’s reasoning accuracy while reaching 96–99% of its decoding throughput, without model training.
References
Setup Details
Models and Evaluation Coverage
Table 5 summarizes the models and evaluations used in this work. LongBench, RULER, and PG-19 use LLaMA-3.1-8B-Instruct, Qwen3-14B, and Ministral-3-8B-Instruct-2512, enabling direct comparison of sparse-selection behavior across long-context understanding and language modeling. Reasoning and throughput experiments use Qwen3-8B, Gemma4-26B-A4B-It, and GLM-4.7-Flash as representative models with standard GQA, hybrid local/global GQA, and MLA, respectively.
| Model | Attention architecture | LongBench | RULER | PG-19 | Reasoning | Throughput |
| LLaMA-3.1-8B-Instruct | GQA | ✓ | ✓ | ✓ | ||
| Qwen3-14B | GQA | ✓ | ✓ | ✓ | ||
| Ministral-3-8B-Instruct-2512 | GQA | ✓ | ✓ | ✓ | ||
| Qwen3-8B | GQA | ✓ | ✓ | |||
| Gemma4-26B-A4B-It | Hybrid local/global GQA | ✓ | ✓ | |||
| GLM-4.7-Flash | MLA | ✓ | ✓ |
Table 5. Model and evaluation coverage. Checkmarks indicate the evaluations performed for each model. For Gemma4, JSSA is applied only to global-attention layers, while local sliding-window layers remain unchanged.
For Gemma4, JSSA is applied only to the global-attention layers, while the local layers retain the model’s native sliding-window attention. For GLM-4.7-Flash, token selection operates over the shared MLA cache, and sparse attention is executed using FlashMLA.
Evaluation Protocols
For LongBench and RULER, we use the benchmark-provided prompts, task-specific generation limits, and official evaluation scripts with greedy decoding. PG-19 is evaluated using teacher-forced perplexity. For reasoning benchmarks, we follow each model’s recommended sampling configuration and use the benchmark-specific generation limits and scoring procedures. All compared methods use identical decoding parameters, evaluation examples, and random seeds within each model and benchmark. Each reasoning evaluation is repeated with eight independent seeds, and we report the mean pass@1 accuracy and generation length.
Table 6 reports the model-specific decoding parameters used for reasoning evaluations.
| Model | Temperature | Top- | Top- | Max. new tokens |
| Qwen3-8B | 0.6 | 0.95 | 20 | 40960 |
| Gemma4-26B-A4B-It | 1.0 | 0.95 | 64 | 40960 |
| GLM-4.7-Flash | 1.0 | 0.95 | - | 131072 |
Table 6. Reasoning decoding configurations. All compared methods use identical parameters and evaluation seeds for a given model and benchmark. Each evaluation is repeated with eight independent seeds, and the reported results are averaged across runs.
JSSA Configuration
For GQA models, JSSA maintains one projected-key scoring cache for each layer and KV head. The query heads associated with a KV head share the token set selected using their mean projected query. We use for LLaMA-3.1-8B-Instruct, Qwen3-8B, Qwen3-14B, and Ministral-3-8B-Instruct-2512, and for the global-attention layers of Gemma4-26B-A4B-It. With FP8 storage, these projected-key caches occupy at most 6.25% of the corresponding BF16 KV caches.
For MLA models, JSSA uses a 128-dimensional scoring representation comprising 64 latent and 64 RoPE dimensions, matching the total dimensionality used by DSA. Selection operates over the shared latent cache and therefore produces one layer-level token set rather than distinct per-KV-head selections. Sparse attention is executed using FlashMLA.
Across all architectures, the projected scoring cache is stored in FP8, while final sparse attention uses the original full-dimensional BF16 KV representations. We apply the same token budget to every sparse-attention layer and head. JSSA does not reserve sink tokens, enforce a recent-token window, or apply special handling to any token positions. For Gemma4, only the global-attention layers are sparsified; the local layers retain the model’s native sliding-window attention. Appendix § 12.§ 2 evaluates the accuracy impact of scoring-cache quantization.
JSSA Calibration
JSSA is calibrated without updating any model parameters. Because individual LongAlign-10K samples extend only to approximately 64K tokens, using them directly would not expose the projection bases to the 128K-context attention patterns targeted in our evaluation. We therefore filter the corpus to documents containing at least 8K tokens, concatenate consecutive documents in corpus order until reaching at least 150K tokens, and center-crop the result to 131,072 tokens. We construct eight calibration sequences using starting offsets separated by five documents; the resulting sequences may overlap because each concatenated window can span more than five documents.
For each sequence, we run a dense prefill pass and accumulate the second moments of group-mean queries and keys separately for every layer and KV head. We then compute one projection basis per layer and KV head using the closed-form solution in Equation (20). For Gemma4, calibration is performed only for the global-attention layers, while the local sliding-window layers remain unchanged. No gradient-based optimization, model training, or downstream evaluation data is used.
Calibration cost. Table 7 reports the end-to-end wall-clock time required to construct all JSSA bases. Calibration completes within 129–365 seconds across the evaluated models and requires neither iterative optimization nor model training.
| Model | LLaMA-3.1-8B | Qwen3-14B | Ministral-3-8B | Gemma4-26B | GLM-4.7-Flash |
| Latency (s) | 203 | 295 | 129 | 365 | 247 |
Table 7. End-to-end JSSA calibration latency on an NVIDIA B200 GPU.
Calibration Input Construction
The main evaluation uses LongAlign as the common calibration corpus for all calibration-dependent methods, but the construction of calibration inputs is chosen separately for each method. As shown in § 4.7, JSSA requires calibration sequences that cover the intended deployment context range. We therefore use the packed 128K-token LongAlign sequences described in Appendix § 8.§ 4 for JSSA. For FASA, we compare the same packed construction against calibration on the original unmodified examples. Loki is insensitive to this choice and uses the packed LongAlign calibration set.
Table 8 shows that JSSA is largely insensitive to both calibration corpus and input construction on LongBench, with accuracy varying by at most 0.10 points. FASA is substantially more sensitive to input construction. Replacing packed sequences with plain examples improves accuracy by 2.75 points with LongAlign and 2.51 points with Qasper. By comparison, changing the calibration corpus within either construction has a smaller effect. This pattern indicates that FASA’s degradation under packed calibration is not specific to a particular corpus.
| Method | Calibration Corpus | Packed 128K | Plain |
| JSSA | LongAlign | 49.16 | 49.06 |
| JSSA | Qasper | 49.13 | 49.15 |
| FASA | LongAlign | 43.99 | 46.74 |
| FASA | Qasper | 44.70 | 47.21 |
Table 8. Average LongBench accuracy under different calibration corpora and input constructions. Packed calibration uses 128K-token sequences, whereas plain calibration uses the original unmodified examples.
Based on these results, the main evaluation uses a fixed method-specific construction. JSSA is calibrated on packed 128K-token LongAlign sequences so that calibration covers the deployment context range, whereas FASA is calibrated on plain LongAlign examples. Loki uses the packed LongAlign calibration set because its results are insensitive to packing. These settings are fixed across RULER, LongBench, language modeling, and reasoning evaluations, without benchmark-specific recalibration or tuning.
Baseline Implementations
We evaluate Loki, FASA, and QUEST within the same vLLM-based serving stack as JSSA. SqueezedAttention, SnapKV, SeerAttention-R, and TriAttention are integrated into Hugging Face Transformers from their official codebases. We evaluate each baseline only where its original formulation can be transferred without substantial method-specific design choices.
Loki. Loki shares JSSA’s projected scoring cache, top- selection pipeline, and gather-free indexed-attention backend, differing only in its key-reconstruction projection objective. We match its projection rank, cache precision, token budget, and execution path to JSSA, isolating the effect of the projection objective.
FASA. We integrate FASA’s discrete channel-selection and scoring procedure into our vLLM-based serving stack. Because FASA does not specify the selection granularity for GQA, we perform scoring and token selection independently for each KV head using the mean of its associated query heads. We use the same scoring dimension and token budget as JSSA. For each model, FASA is calibrated once on the original, unmodified LongAlign examples, and the resulting calibration is reused across benchmarks and context lengths without benchmark-specific recalibration or tuning. Appendix § 8.§ 5 compares plain and packed calibration inputs and motivates this fixed choice. Following FASA’s deployment design, selected channels are read directly from the original key cache rather than stored in a separate projected scoring cache.
QUEST. We adapt QUEST from MHA to GQA by performing page scoring and selection independently for each KV head. The open page containing the most recent tokens is always retained, following QUEST’s native paged-cache behavior. To preserve vLLM’s standard KV-cache layout while supporting distinct selected page sets, we launch the sparse-attention kernel separately for each KV head.
MLA baselines. Most existing baselines do not define a direct mapping to MLA’s shared latent cache, and adapting them would require additional choices in scoring representation and selection semantics. We therefore implement only FASA as a representative post-hoc baseline, applying it to all 64 channels of the RoPE cache. This already uses half of the 128-dimensional scoring representation used by JSSA and DSA.
Other baselines. SqueezedAttention and SeerAttention-R retain their official coarse-grained selection procedures and recommended model-specific configurations. SeerAttention-R additionally uses its released model-specific trained checkpoint and is therefore evaluated only on Qwen3-8B. SnapKV and TriAttention perform token-level KV eviction rather than per-step dynamic retrieval; we retain their official eviction procedures and recommended configurations.
Hardware and Measurement Protocol
Unless otherwise stated, system experiments are conducted on a single NVIDIA B200 GPU with tensor parallelism degree one using our vLLM-based implementation. CUDA graph capture is enabled, and each run generates 128 new tokens from the target input context. For each configuration, we perform one warm-up run followed by three measured runs and report the mean aggregate decoding throughput.
Measurements include projected-score computation, top- selection, sparse attention, and the remaining model execution during decoding. They exclude model loading, JSSA calibration, kernel compilation, and warm-up. The original full-dimensional KV cache is stored in BF16, while JSSA’s projected scoring cache is stored in FP8.
Joint Subspace Objective Details
Product-of-Marginals Formulation
Let and denote the empirical marginals of group-mean queries and keys collected during calibration. We define the selection objective over independent draws
or equivalently over the product distribution .
This formulation reflects the runtime use of the selector, where each decoding query is scored against every key in the context rather than only against the key observed at the same sequence position. The calibration objective therefore measures the projected-score error across the query–key combinations that may be compared during inference. Appendix § 9.§ 2 defines the exact selection objective as the second moment of this error after trace normalization.
Because query–key pairs are drawn from the product distribution, and are independent by construction. Thus, for any functions and ,
Since trace normalization rescales each marginal by a constant, the same factorization holds for the rescaled activations in Appendix § 9.§ 2.
This factorization is used in the derivation of the marginal bound in Appendix § 9.§ 3. It does not assert that query and key activations observed at corresponding sequence positions are empirically independent.
Trace Normalization
Let
denote the second-moment matrices of the group-mean queries and keys.
We normalize the two marginals independently:
Equivalently, define
For a projector , the exact score-error objective is
which is the objective in Equation (3) of the main text. It differs from the second moment of the unnormalized score error only by a constant factor:
Because the scaling factor is positive and independent of , trace normalization does not change the minimizer of the exact selection objective. It does, however, determine the relative weighting of the query and key marginals in the tractable surrogate. For group-mean queries, we measure an average trace ratio of on LLaMA-3.1-8B-Instruct. Thus, the unnormalized sum is strongly key-dominated and shifts the resulting basis toward a key-reconstruction-like subspace. Independent unit-trace normalization instead assigns equal total weight to the query and key marginals while preserving their internal spectral structure.
Table 9 shows that normalization improves oracle recall by 1.29 and 1.02 percentage points at token budgets of 256 and 2,048, respectively. Although the absolute gains are modest, normalization prevents the marginal surrogate from being dominated by the larger key second moment and preserves its intended joint query–key character.
| Basis | ||
| Raw group-mean moments | 70.05% | 74.92% |
| Unit-trace-normalized group-mean moments | 71.34% | 75.94% |
Table 9. Effect of trace normalization on oracle top- recall for LLaMA-3.1-8B-Instruct at .
Derivation of the Marginal Bound
Recall the exact selection objective
where the expectation is taken over the product distribution induced by the rescaled query and key marginals in Equation (10).
For any orthogonal projector , define
Because is symmetric and positive semidefinite, Cauchy–Schwarz under its induced seminorm gives
Taking expectations and using the product-of-marginals factorization in Equation (7),
Applying AM–GM yields
Therefore,
where
The marginal objective has the closed-form rank- solution
For , Equation (18) implies
This bound controls the exact score error but does not imply that globally minimizes or that the exact and marginal objectives share a minimizer.
The derivation does not require and to commute. Their normalized commutator ratio on LLaMA-3.1-8B is 0.470 on average and 0.476 at the median, confirming that the shared-eigenbasis special case does not hold empirically.
Exact-Objective Refinement
The marginal bound does not establish that the closed-form basis globally minimizes the exact selection objective. We therefore test whether direct optimization can improve upon the spectral solution.
Starting from
we optimize for 1,600 steps using retraction-based gradient descent on the row-orthonormal Stiefel manifold, with no momentum. For LLaMA-3.1-8B-Instruct, we optimize all 256 layer–KV-head-specific bases in parallel, with one independent objective and basis for each layer–KV-head pair. The normalized second-moment matrices are computed from the same eight 128K-token LA-packed calibration sequences used throughout the paper. At each step, we take a Euclidean gradient update and map the result back to the manifold using a QR retraction:
where denotes the orthonormal factor of a QR decomposition. Because is a positive rescaling of the unnormalized score error (Equation (12)), this refinement targets the same minimizers as the unnormalized objective; trace normalization affects only the spectral surrogate used for initialization.
Table 10 shows that the conclusion is insensitive to the step size. Across a 1000 learning-rate range, direct refinement reduces the exact objective by at most 1.60% at and 0.83% at . The refined subspace also remains close to the spectral initialization; at , the overlap remains at least 0.999476 throughout the sweep.
| Relative Change | Overlap | ||||
| 8 | 0.005 | 0.999999 | |||
| 8 | 0.05 | 0.999958 | |||
| 8 | 0.5 | 0.998841 | |||
| 8 | 5.0 | 0.989120 | |||
| 32 | 0.005 | 1.000000 | |||
| 32 | 0.05 | 0.999999 | |||
| 32 | 0.5 | 0.999972 | |||
| 32 | 5.0 | 0.999476 |
Table 10. Exact-objective refinement from the spectral initialization on LLaMA-3.1-8B-Instruct. We sweep the learning rate over three orders of magnitude and report the exact objective before and after 1,600 optimization steps.
This behavior is not caused by a stalled optimization procedure. Using the same Euclidean-gradient update and QR retraction with , random initialization reduces the objective by 15.0 at and 16.9 at over 1,600 steps. Nevertheless, its final objective remains 3.53 and 8.97 larger than that of the spectral initialization, respectively, and its overlap with the spectral subspace is only 0.242 and 0.287. For diagnostic purposes, we additionally measure the norm of the tangent-projected gradient, which is not used directly in the update rule. At initialization, this norm is 354 larger for a random basis at and 2,412 larger at than for the spectral basis. These controls confirm that optimization is active, while the spectral solution already lies in a flat, low-objective region that is difficult to reach from a generic initialization within the same optimization budget.
Table 11 reports oracle top- recall before and after refinement across two models, multiple projection ranks, and token budgets . For Gemma4-26B-A4B-It, refinement is evaluated at the default rank over the five global-attention layers to which JSSA is applied. The change in recall is at most 0.02 percentage points.
| Model | Oracle Recall | Subspace Overlap | |||
| Step 0 | Step 1600 | ||||
| LLaMA-3.1-8B-Instruct | 8 | 256 | 48.76% | 48.74% | 0.999958 |
| 2048 | 53.81% | 53.81% | |||
| 32 | 256 | 71.34% | 71.36% | 0.999999 | |
| 2048 | 75.94% | 75.95% | |||
| Gemma4-26B-A4B-It | 64 | 256 | 79.85% | 79.85% | 1.000000 |
| 2048 | 83.33% | 83.33% |
Table 11. Selection stability under exact-objective refinement. Starting from , we optimize the exact objective for 1,600 steps with . Oracle top- recall and subspace overlap remain essentially unchanged. For Gemma4-26B-A4B-It, results are reported over the five global-attention layers to which JSSA is applied.
We measure the overlap between the initial and refined subspaces as
This quantity is the mean squared cosine of the principal angles between the two subspaces and equals one when they are identical.
Together, these results show that direct optimization can marginally reduce the exact objective but does not measurably improve token-selection quality in the tested configurations. They support using directly in practice, while not establishing either the tightness of the marginal bound or the global optimality of the spectral solution.
Oracle Selection Recall
We evaluate how well each selected token set matches the oracle top- set obtained from full-dimensional attention scores.
For a method producing a selected set and the oracle set , we define oracle top- recall as
Table 12 compares JSSA with Loki and FASA on LLaMA-3.1-8B-Instruct and Gemma4-26B-A4B-It at their default projection ranks. Each method uses the same calibration configuration as in the main evaluation: packed 128K LongAlign sequences for JSSA and Loki, and plain LongAlign examples for FASA. JSSA achieves the highest oracle recall for both models and token budgets, outperforming Loki by 6.25–35.37 percentage points and FASA by 22.44–35.25 points.
| Model | JSSA | Loki | FASA | |
| LLaMA-3.1-8B-Instruct () | 256 | 71.34% | 35.97% | 48.90% |
| 2048 | 75.94% | 51.84% | 53.31% | |
| Gemma4-26B-A4B-It () | 256 | 79.85% | 67.79% | 44.60% |
| 2048 | 83.33% | 77.08% | 49.90% |
Table 12. Oracle top- recall on LLaMA-3.1-8B-Instruct and Gemma4-26B-A4B-It at their default projection ranks.
These results complement the downstream evaluations in § 4, showing that the joint query–key basis more faithfully preserves the token ranking induced by full-dimensional attention scores across model architectures and projection ranks.
Comparison with Asymmetric Query–Key Factorization
KQ-SVD [11] was originally proposed for KV-cache compression and derives separate low-dimensional query and key transformations to preserve attention scores. To isolate whether this asymmetric score-preserving factorization is also effective for dynamic token selection, we adapt its factorization to JSSA’s scoring pipeline rather than using KQ-SVD as a compression method. Specifically, we compute the KQ-SVD-style query and key projections from the same calibration activations used by JSSA and use them only to score candidate tokens; the original full-dimensional KV cache, token budgets, selection granularity, and sparse-attention execution remain unchanged. The controlled comparison therefore primarily isolates JSSA’s shared orthonormal scoring subspace from an asymmetric query–key scoring factorization.
RULER. Table 13 compares the two scoring representations on the same RULER configurations used in the main evaluation. The asymmetric variant remains competitive in several settings, including closely matching JSSA on LLaMA-3.1-8B-Instruct and Ministral-3-8B-Instruct-2512. However, its performance is less consistent across architectures and context lengths, with a particularly large gap on Qwen3-14B. These results show that the asymmetric factorization provides a viable low-dimensional scoring representation rather than a uniformly weak baseline.
| Model | Method | 32K | 64K | 128K |
| LLaMA-3.1-8B-Instruct | Asymmetric (KQ-SVD) | 84.25 | 81.77 | 73.23 |
| LLaMA-3.1-8B-Instruct | JSSA | 86.35 | 82.55 | 75.38 |
| Qwen3-14B | Asymmetric (KQ-SVD) | 71.46 | 82.42 | 75.78 |
| Qwen3-14B | JSSA | 88.86 | 88.47 | 82.21 |
| Ministral-3-8B-Instruct-2512 | Asymmetric (KQ-SVD) | 89.71 | 86.77 | 86.28 |
| Ministral-3-8B-Instruct-2512 | JSSA | 90.72 | 89.02 | 85.97 |
Table 13. RULER accuracy of JSSA and an asymmetric KQ-SVD factorization adapted to token scoring under the same fixed-density KV budgets as the main evaluation.
Reasoning. The difference becomes more pronounced under aggressive sparsity on reasoning benchmarks. Table 14 compares JSSA with the asymmetric KQ-SVD factorization adapted to token scoring on AIME 2025 and GPQA-Diamond for Qwen3-8B and Gemma4-26B-A4B-It. At a budget of 512 tokens, the asymmetric variant obtains only 0.83% and 26.67% on AIME 2025, compared with 64.58% and 88.75% for JSSA. The same trend appears on GPQA-Diamond, where it trails JSSA by 14.14 and 24.87 percentage points at 512 tokens. Its accuracy recovers substantially as the token budget increases and becomes competitive in several 2,048-token settings. These results indicate that the asymmetric factorization can provide useful token scores, but is substantially less robust than JSSA’s shared orthonormal subspace under aggressive sparsity.
| Model | Method | AIME 2025 512 | AIME 2025 1024 | AIME 2025 2048 | GPQA-Diamond 512 | GPQA-Diamond 1024 | GPQA-Diamond 2048 |
| Qwen3-8B | Asymmetric (KQ-SVD) | 0.83 | 9.17 | 34.58 | 43.94 | 53.54 | 59.09 |
| Qwen3-8B | JSSA | 64.58 | 68.33 | 67.92 | 58.08 | 57.39 | 58.21 |
| Gemma4-26B-A4B-It | Asymmetric (KQ-SVD) | 26.67 | 77.50 | 85.83 | 55.81 | 75.25 | 81.82 |
| Gemma4-26B-A4B-It | JSSA | 88.75 | 86.67 | 88.33 | 80.68 | 81.94 | 81.12 |
Table 14. Reasoning pass @1 accuracy of JSSA and an asymmetric KQ-SVD factorization adapted to token scoring across token budgets.
Overall, these results isolate a substantial robustness difference between shared and asymmetric query–key scoring parameterizations. The asymmetric variant remains competitive in several RULER settings and recovers at larger reasoning budgets, but degrades sharply under aggressive sparsity on reasoning benchmarks. One possible explanation is that the more expressive asymmetric factorization overfits calibration-specific query–key correlations, whereas JSSA’s shared orthonormal subspace provides stronger regularization across query–key combinations. This behavior supports JSSA’s design of constructing a single scoring subspace that jointly reflects the query and key distributions. We leave a direct theoretical and empirical characterization of this robustness difference to future work.
Figure 7. End-to-end decoding throughput on DeepSeek. Throughput across context lengths at batch size 4 (left) and across batch sizes at 128K context (right), measured on eight NVIDIA B200 GPUs with tensor parallelism degree eight.
Large-Scale Validation
Section 4.6 reports headline accuracy and throughput results comparing post-hoc JSSA with model-native DSA at approximately 700B scale. Here we provide the complete experimental setup, additional context, and full throughput sweeps for both model families. Unless otherwise stated, these experiments use eight NVIDIA B200 GPUs with tensor parallelism degree eight.
DeepSeek. We compare two checkpoints from the same model lineage. DeepSeek-V3.1-Terminus uses full attention, whereas DeepSeek-V3.2-Exp introduces native DSA through continued pre-training. We evaluate DeepSeek-V3.1-Terminus with FKV attention and with JSSA applied post hoc, and compare them with the officially released DeepSeek-V3.2-Exp checkpoint using native DSA. DeepSeek-V3.2-Exp is derived from DeepSeek-V3.1-Terminus with DSA as its only architectural modification and continued training under aligned configurations. This comparison therefore follows DeepSeek’s intended design for evaluating native sparse attention, with native DSA additionally adapted to its sparse attention pattern through continued training. JSSA and native DSA use scoring representations with the same total dimensionality of 128, but with different constructions. JSSA uses 64 latent and 64 RoPE dimensions, whereas native DSA uses learned 128-dimensional lightning-indexer heads. Both methods select 2,048 tokens at every attention layer.
Table 4 in Section 4.6 reports pass@1 accuracy on AIME 2025 and GPQA-Diamond. Given the small numerical differences involved and the potential for evaluation variance, we interpret these results as showing comparable reasoning accuracy rather than a consistent advantage for any individual method.
Figure 7 reports end-to-end decoding throughput. Across the complete sweep, JSSA reaches 96.1–99.2% of native DSA throughput. At batch size 4, its throughput relative to FKV increases from 0.89× at 8K context to 2.41× at 128K. At 128K context, the speedup reaches 3.49× at batch size 8.
GLM-5.2. We additionally evaluate JSSA on GLM-5.2, an independently developed MLA model with native DSA. GLM-5.2 invokes its DSA indexer only at a subset of attention layers and reuses each selected token set in adjacent layers to reduce indexing overhead. JSSA follows the same native schedule, performing selection only where the DSA indexer is invoked and sharing the resulting indices with the corresponding adjacent layers. Because no corresponding full-attention checkpoint is available, we compare only JSSA and native DSA.
As shown in Table 4, their AIME 2025 scores differ by 0.83 percentage points, while their GPQA-Diamond scores are identical, providing further evidence that post-hoc JSSA matches native DSA’s reasoning accuracy under a model-native sparse-attention schedule that reuses selected indices across layers.
Decoding Throughput Details
Figure 8 presents the complete end-to-end decoding-throughput sweeps across context lengths and batch sizes for Qwen3-8B, Gemma4-26B-A4B-It, and GLM-4.7-Flash. We follow the measurement protocol in Appendix § 8.7.
Figure 8. Complete end-to-end decoding-throughput sweeps. Results across context lengths and batch sizes on a single NVIDIA B200 GPU. Annotations show JSSA’s maximum speedup over FKV in each panel.
Across all three models, JSSA’s benefit generally increases with context length and batch size as KV-cache traffic becomes a larger fraction of decoding time. At shorter contexts and smaller batches, scoring and top- selection can offset part of the reduction in KV access, particularly on Qwen3-8B. As the workload becomes more memory-bandwidth intensive, JSSA consistently surpasses full-KV attention and achieves larger gains.
The magnitude of the speedup depends on the attention architecture. Across the complete sweep, JSSA reaches up to , , and the throughput of full-KV attention on Qwen3-8B, Gemma4-26B-A4B-It, and GLM-4.7-Flash, respectively. The Gemma4 result is obtained while sparsifying only the global-attention layers, whereas the larger GLM-4.7-Flash gain benefits from sparse FlashMLA execution over its shared latent cache. These results complement the representative 32K and 128K settings in Figure 4 and show that the gains persist across a broad range of serving configurations.
Additional Experimental Results
Component-Level Latency Breakdown
Figure 9 decomposes the sparse-attention pipeline at 128K context into scoring preparation, candidate scoring, top- selection, and sparse attention. For JSSA, projecting the newly generated key is negligible, accounting for at most 3.2% of pipeline latency and less than 1% at larger batches. Top- selection dominates at small batches, while the full-context score scan becomes increasingly important as the batch grows.
Figure 9. Component-level sparse-attention latency at 128K context. Bars decompose JSSA and QUEST into scoring preparation, candidate scoring, top- selection, and sparse attention. JSSA’s key-projection overhead is negligible, and its latency advantage over QUEST increases at larger batches.
On Qwen3-8B, JSSA is faster than QUEST at every measured batch size, reducing pipeline latency from 2.69 ms to 1.52 ms at batch size 64. On Gemma4-26B-A4B-It, the two methods are comparable at small batches, but JSSA becomes faster as the batch increases, reaching 0.91 ms versus 1.07 ms for QUEST at batch size 64. QUEST’s page-scoring cost grows more rapidly with batch size, whereas JSSA benefits from its compact projected cache and regular score-scan kernel.
Projected Scoring Cache and Quantization
JSSA stores the auxiliary projected-key cache used for token scoring in FP8, while the original full-dimensional keys and values used by final attention remain in BF16. To isolate the effect of scoring-cache quantization, we compare FP8 and BF16 projected-key caches on LLaMA-3.1-8B-Instruct, Qwen3-14B, and Ministral-3-8B-Instruct-2512 at the default projection rank . All other configurations, including the projection basis, token budget, and final attention computation, are held fixed.
Figure 10 reports average LongBench accuracy at a KV budget of 256 tokens. FP8 and BF16 yield nearly identical results on all three models: the absolute difference is 0.18 points on LLaMA-3.1-8B-Instruct, 0.01 points on Qwen3-14B, and 0.05 points on Ministral-3-8B-Instruct-2512. These results show that storing the projected scoring cache in FP8 has negligible impact on accuracy while reducing its memory footprint by half relative to BF16.
Figure 10. Effect of projected scoring-cache precision. Average LongBench accuracy at a KV budget of 256 tokens using FP8 and BF16 projected-key caches. The original full-dimensional KV cache and final attention computation remain in BF16.
Selection Granularity in GQA
In GQA, JSSA selects a distinct token set for each KV head using the mean of its associated query heads. We compare this design with a head-shared alternative inspired by Wu et al. (2025), which aggregates head-specific token preferences through soft voting before forming a single token set for the entire layer. This is stronger than naive unweighted sharing, but it still collapses distinct KV-head preferences into one shared selection.
Table 15 reports RULER accuracy under the same fixed-density budgets used in the main evaluation. At 32K context, head-shared soft voting performs nearly identically to per-KV-head selection on all three models. At 128K, however, per-KV-head selection is consistently better, by 5.29 points on
| Model | Selection | 32K | 64K | 128K |
| LLaMA-3.1-8B-Instruct | Per-KV-head | 86.35 | 82.55 | 75.38 |
| LLaMA-3.1-8B-Instruct | Head-shared soft vote | 86.03 | 80.82 | 70.09 |
| LLaMA-3.1-8B-Instruct | -0.32 | -1.73 | -5.29 | |
| Ministral-3-8B-Instruct-2512 | Per-KV-head | 90.72 | 89.02 | 85.97 |
| Ministral-3-8B-Instruct-2512 | Head-shared soft vote | 90.67 | 87.24 | 84.98 |
| Ministral-3-8B-Instruct-2512 | -0.05 | -1.78 | -0.99 | |
| Qwen3-14B | Per-KV-head | 88.86 | 88.47 | 82.21 |
| Qwen3-14B | Head-shared soft vote | 89.11 | 88.82 | 80.89 |
| Qwen3-14B | +0.25 | +0.35 | -1.32 |
Table 15. RULER accuracy of per-KV-head selection and head-shared soft voting in GQA. The budgets are 512, 1,024, and 2,048 tokens at 32K, 64K, and 128K context, respectively. denotes head-shared minus per-KV-head accuracy.
LLaMA-3.1-8B-Instruct, 0.99 points on Ministral-3-8B-Instruct-2512, and 1.32 points on Qwen3-14B.
These results show that preserving distinct per-KV-head selections becomes important at long context. To our knowledge, existing gather-free token-level kernels do not support such per-KV-head index sets under the standard GQA KV-cache layout. JSSA’s indexed-attention kernel enables this more accurate selection granularity without physically gathering the selected keys and values.
Complete Long-Context Results
LongBench
Table 16 reports the complete task-level LongBench results underlying the model-level averages in Table 1. All sparse methods use a KV budget of 256 tokens, and FASA, Loki, and JSSA use their default 32-dimensional scoring configurations. JSSA is consistently competitive across task categories and achieves the best sparse average on LLaMA-3.1-8B and Qwen3-14B, while remaining close to the strongest sparse baselines on Ministral-3-8B. The detailed results also show that competing methods tend to exhibit larger task- and model-specific variation, whereas JSSA remains comparatively stable across single-document QA, multi-document QA, summarization, few-shot learning, synthetic tasks, and code.
| Method | NarrativeQA | Qasper | MultiFieldQA-en | HotpotQA | 2WikiMQA | Musique | GovReport | QMSum | MultiNews | TREC | TriviaQA | SAMSum | PassageCount | PassageRetrieval-en | LCC | RepoBench-P | Avg. |
| FKV | 29.67 | 45.58 | 55.09 | 56.47 | 45.07 | 32.23 | 35.32 | 24.94 | 27.17 | 72.50 | 91.48 | 43.58 | 7.93 | 99.50 | 54.72 | 52.28 | 48.35 |
| SnapKV | 25.70 | 31.04 | 51.46 | 54.50 | 42.70 | 26.86 | 22.87 | 23.60 | 22.53 | 55.50 | 91.57 | 41.58 | 8.42 | 99.50 | 53.85 | 44.84 | 43.53 |
| QUEST | 29.21 | 43.63 | 54.39 | 54.89 | 44.48 | 28.53 | 32.66 | 24.51 | 26.41 | 72.00 | 91.67 | 42.21 | 8.04 | 98.00 | 54.00 | 46.40 | 46.94 |
| SqueezedAttn. | 29.32 | 45.20 | 55.31 | 55.43 | 46.02 | 30.45 | 35.41 | 24.30 | 27.14 | 72.50 | 91.75 | 42.03 | 8.65 | 99.00 | 54.64 | 50.12 | 47.95 |
| FASA | 26.31 | 43.62 | 53.65 | 52.87 | 42.12 | 29.33 | 31.59 | 25.05 | 27.63 | 70.00 | 89.64 | 44.26 | 7.70 | 99.50 | 55.98 | 48.57 | 46.74 |
| Loki | 25.91 | 39.34 | 52.85 | 52.73 | 41.06 | 28.65 | 29.00 | 22.96 | 27.19 | 72.50 | 89.85 | 43.08 | 7.78 | 99.00 | 56.00 | 42.49 | 45.65 |
| JSSA | 30.32 | 44.72 | 55.20 | 55.69 | 45.51 | 30.68 | 35.05 | 24.86 | 26.89 | 72.50 | 91.27 | 43.77 | 7.31 | 99.50 | 66.28 | 56.99 | 49.16 |
| FKV | 30.12 | 43.92 | 51.35 | 63.44 | 53.39 | 41.92 | 33.61 | 23.96 | 24.63 | 77.50 | 89.51 | 42.00 | 1.75 | 99.50 | 68.22 | 63.05 | 50.49 |
| SnapKV | 28.52 | 36.76 | 47.51 | 62.51 | 50.33 | 37.31 | 24.18 | 22.54 | 20.57 | 59.50 | 88.91 | 38.97 | 2.40 | 99.50 | 56.11 | 48.71 | 45.27 |
| QUEST | 30.00 | 41.31 | 51.29 | 59.76 | 53.03 | 39.29 | 31.88 | 22.83 | 24.61 | 71.50 | 89.55 | 40.71 | 1.60 | 98.50 | 65.48 | 53.73 | 48.44 |
| SqueezedAttn. | 28.17 | 41.88 | 50.27 | 63.12 | 53.60 | 41.35 | 32.91 | 23.59 | 24.51 | 77.00 | 90.13 | 40.59 | 1.88 | 99.50 | 56.79 | 51.99 | 48.58 |
| FASA | 26.36 | 41.91 | 50.30 | 56.96 | 51.47 | 38.34 | 31.76 | 23.86 | 24.84 | 71.50 | 87.56 | 40.81 | 1.28 | 97.25 | 65.86 | 53.88 | 47.93 |
| Loki | 29.15 | 41.56 | 51.03 | 63.23 | 52.64 | 39.41 | 33.34 | 24.01 | 25.06 | 76.50 | 90.48 | 41.59 | 4.48 | 99.50 | 63.62 | 56.96 | 49.54 |
| JSSA | 28.87 | 41.68 | 50.95 | 64.03 | 52.81 | 40.60 | 32.84 | 23.47 | 24.64 | 77.00 | 90.40 | 41.80 | 1.70 | 99.50 | 66.38 | 60.43 | 49.82 |
| FKV | 26.69 | 43.72 | 44.50 | 57.79 | 49.47 | 36.05 | 22.51 | 15.94 | 19.72 | 75.50 | 89.81 | 45.04 | 12.50 | 98.50 | 68.53 | 60.20 | 47.90 |
| SnapKV | 26.36 | 33.21 | 40.81 | 57.14 | 51.54 | 39.18 | 18.80 | 16.52 | 15.67 | 64.00 | 91.03 | 45.22 | 9.00 | 99.08 | 55.05 | 54.45 | 44.82 |
| QUEST | 26.75 | 42.55 | 40.65 | 56.81 | 49.44 | 30.88 | 22.72 | 15.74 | 19.45 | 74.50 | 90.14 | 41.41 | 12.50 | 98.17 | 64.06 | 57.89 | 46.48 |
| SqueezedAttn. | 27.37 | 44.89 | 45.60 | 61.09 | 54.23 | 38.89 | 22.72 | 17.56 | 19.20 | 77.00 | 90.79 | 45.58 | 9.50 | 99.50 | 56.92 | 55.71 | 47.91 |
| FASA | 26.49 | 40.40 | 43.44 | 54.31 | 51.15 | 33.43 | 29.83 | 18.78 | 22.54 | 72.50 | 89.79 | 45.41 | 9.00 | 92.83 | 54.02 | 52.73 | 46.04 |
| Loki | 28.68 | 42.17 | 45.83 | 58.11 | 53.76 | 37.27 | 22.27 | 16.94 | 19.91 | 74.50 | 91.46 | 42.77 | 7.50 | 100.00 | 66.65 | 61.36 | 48.07 |
| JSSA | 28.91 | 42.77 | 46.05 | 57.11 | 53.07 | 36.73 | 22.19 | 16.65 | 19.80 | 74.50 | 91.46 | 43.23 | 6.00 | 100.00 | 65.71 | 60.38 | 47.79 |
Table 16. Complete task-level LongBench results at a KV budget of 256 tokens. The final column reports the average across all tasks.
RULER
Table 17 reports the complete task-level RULER results corresponding to Figure 3. We use a fixed 1.5625% KV budget, selecting 512, 1,024, and 2,048 tokens at context lengths of 32K, 64K, and 128K, respectively. JSSA remains close to full-KV attention across models and context lengths, while several competing methods degrade sharply on particular retrieval and aggregation tasks. The task-level breakdown shows that JSSA consistently preserves the needle-in-a-haystack variants, including the more challenging multi-key and multi-value settings, and avoids the stronger long-context degradation observed for Loki and FASA on LLaMA-3.1-8B. On Ministral-3-8B, JSSA is within 2 points of full-KV average accuracy at 32K and 64K, and matches it at 128K.
| Method | Avg. | NIAH-S1 | NIAH-S2 | NIAH-S3 | NIAH-MK1 | NIAH-MK2 | NIAH-MK3 | NIAH-MV | NIAH-MQ | VT | CWE | FWE | QA1 | QA2 |
| LLaMA-3.1-8B-Instruct | ||||||||||||||
| 32K Context | ||||||||||||||
| FKV | 87.95 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 100.00 | 99.00 | 100.00 | 95.20 | 45.20 | 92.00 | 72.00 | 44.00 |
| SnapKV | 65.05 | 100.00 | 100.00 | 4.00 | 100.00 | 88.00 | 0.00 | 85.00 | 92.00 | 90.40 | 3.60 | 62.67 | 76.00 | 44.00 |
| QUEST | 74.92 | 100.00 | 100.00 | 100.00 | 100.00 | 80.00 | 4.00 | 95.00 | 99.00 | 94.40 | 6.80 | 78.70 | 68.00 | 48.00 |
| SqueezedAttn. | 83.14 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 56.00 | 99.00 | 100.00 | 93.60 | 61.60 | 50.67 | 76.00 | 48.00 |
| FASA | 82.77 | 100.00 | 100.00 | 92.00 | 100.00 | 96.00 | 64.00 | 97.00 | 100.00 | 90.40 | 54.00 | 62.67 | 72.00 | 48.00 |
| Loki | 79.27 | 100.00 | 100.00 | 76.00 | 96.00 | 92.00 | 36.00 | 94.00 | 99.00 | 79.20 | 51.60 | 74.70 | 80.00 | 52.00 |
| JSSA | 86.35 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 96.00 | 94.00 | 100.00 | 93.60 | 57.60 | 65.30 | 72.00 | 48.00 |
| 64K Context | ||||||||||||||
| FKV | 85.56 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 98.00 | 100.00 | 92.00 | 15.60 | 86.70 | 68.00 | 52.00 |
| SnapKV | 61.56 | 100.00 | 92.00 | 16.00 | 100.00 | 76.00 | 0.00 | 62.00 | 90.00 | 87.20 | 2.40 | 54.67 | 68.00 | 52.00 |
| QUEST | 76.35 | 100.00 | 96.00 | 100.00 | 100.00 | 88.00 | 12.00 | 87.00 | 99.00 | 87.20 | 6.00 | 93.30 | 72.00 | 52.00 |
| SqueezedAttn. | 77.47 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 28.00 | 94.00 | 100.00 | 84.00 | 22.40 | 58.67 | 68.00 | 52.00 |
| FASA | 77.44 | 100.00 | 100.00 | 96.00 | 100.00 | 96.00 | 40.00 | 90.00 | 100.00 | 84.80 | 17.20 | 66.67 | 60.00 | 56.00 |
| Loki | 72.58 | 100.00 | 100.00 | 80.00 | 100.00 | 100.00 | 12.00 | 91.00 | 99.00 | 66.40 | 16.40 | 66.70 | 56.00 | 56.00 |
| JSSA | 82.55 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 88.00 | 94.00 | 100.00 | 83.20 | 24.00 | 64.00 | 68.00 | 52.00 |
| 128K Context | ||||||||||||||
| FKV | 76.97 | 100.00 | 100.00 | 100.00 | 100.00 | 84.00 | 64.00 | 85.00 | 98.00 | 89.60 | 0.00 | 84.00 | 60.00 | 36.00 |
| SnapKV | 56.33 | 100.00 | 92.00 | 32.00 | 100.00 | 36.00 | 0.00 | 59.00 | 81.00 | 81.60 | 0.00 | 50.67 | 60.00 | 40.00 |
| QUEST | 67.38 | 100.00 | 96.00 | 92.00 | 100.00 | 48.00 | 0.00 | 84.00 | 98.00 | 87.20 | 0.00 | 78.70 | 60.00 | 32.00 |
| SqueezedAttn. | 68.96 | 100.00 | 100.00 | 96.00 | 100.00 | 76.00 | 0.00 | 87.00 | 97.00 | 79.20 | 0.00 | 57.33 | 64.00 | 40.00 |
| FASA | 63.36 | 100.00 | 100.00 | 80.00 | 100.00 | 68.00 | 8.00 | 79.00 | 89.00 | 62.40 | 0.00 | 45.33 | 56.00 | 36.00 |
| Loki | 37.98 | 88.00 | 76.00 | 0.00 | 84.00 | 24.00 | 0.00 | 36.00 | 43.00 | 38.40 | 0.40 | 40.00 | 48.00 | 16.00 |
| JSSA | 75.38 | 100.00 | 100.00 | 100.00 | 100.00 | 84.00 | 56.00 | 86.00 | 98.00 | 80.00 | 0.00 | 76.00 | 64.00 | 36.00 |
| Qwen3-14B | ||||||||||||||
| 32K Context | ||||||||||||||
| FKV | 91.77 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 92.00 | 100.00 | 100.00 | 86.40 | 94.67 | 64.00 | 60.00 |
| SnapKV | 55.90 | 100.00 | 76.00 | 0.00 | 84.00 | 64.00 | 0.00 | 26.00 | 52.00 | 100.00 | 18.00 | 86.67 | 68.00 | 52.00 |
| QUEST | 79.71 | 100.00 | 96.00 | 100.00 | 100.00 | 80.00 | 1.00 | 82.00 | 84.00 | 99.20 | 50.40 | 90.67 | 68.00 | 60.00 |
| SqueezedAttn. | 88.22 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 62.00 | 93.00 | 99.00 | 100.00 | 78.80 | 92.00 | 64.00 | 56.00 |
| FASA | 84.65 | 96.00 | 100.00 | 96.00 | 100.00 | 96.00 | 80.00 | 84.00 | 99.00 | 93.60 | 45.20 | 90.67 | 60.00 | 60.00 |
| Loki | 90.18 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 92.00 | 99.00 | 96.00 | 100.00 | 68.00 | 83.33 | 72.00 | 56.00 |
| JSSA | 88.86 | 100.00 | 100.00 | 100.00 | 96.00 | 100.00 | 96.00 | 90.00 | 100.00 | 96.80 | 64.40 | 92.00 | 60.00 | 60.00 |
| 64K Context | ||||||||||||||
| FKV | 91.38 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 96.00 | 92.00 | 100.00 | 100.00 | 80.00 | 88.00 | 76.00 | 60.00 |
| SnapKV | 60.49 | 100.00 | 88.00 | 4.00 | 100.00 | 56.00 | 4.00 | 29.00 | 69.00 | 100.00 | 24.40 | 76.00 | 76.00 | 60.00 |
| QUEST | 80.58 | 100.00 | 100.00 | 100.00 | 100.00 | 68.00 | 36.00 | 92.00 | 90.00 | 100.00 | 49.60 | 76.00 | 80.00 | 56.00 |
| SqueezedAttn. | 88.59 | 100.00 | 100.00 | 100.00 | 96.00 | 96.00 | 88.00 | 91.00 | 99.00 | 100.00 | 72.40 | 77.33 | 72.00 | 60.00 |
| FASA | 84.08 | 100.00 | 100.00 | 96.00 | 100.00 | 96.00 | 88.00 | 83.00 | 96.00 | 98.40 | 43.60 | 76.00 | 60.00 | 56.00 |
| Loki | 86.71 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 76.00 | 86.00 | 97.00 | 100.00 | 53.60 | 78.67 | 76.00 | 60.00 |
| JSSA | 88.47 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 96.00 | 93.00 | 98.00 | 100.00 | 60.40 | 74.67 | 72.00 | 60.00 |
| 128K Context | ||||||||||||||
| FKV | 83.75 | 100.00 | 100.00 | 100.00 | 100.00 | 92.00 | 72.00 | 78.00 | 98.00 | 99.20 | 49.60 | 80.00 | 64.00 | 56.00 |
| SnapKV | 55.18 | 100.00 | 72.00 | 4.00 | 100.00 | 44.00 | 4.00 | 22.00 | 70.00 | 98.40 | 25.60 | 65.33 | 64.00 | 48.00 |
| QUEST | 72.11 | 100.00 | 92.00 | 100.00 | 100.00 | 64.00 | 20.00 | 77.00 | 89.00 | 99.20 | 29.60 | 62.67 | 60.00 | 44.00 |
| SqueezedAttn. | 78.75 | 100.00 | 96.00 | 100.00 | 100.00 | 92.00 | 52.00 | 75.00 | 97.00 | 99.20 | 51.20 | 57.33 | 52.00 | 52.00 |
| FASA | 76.09 | 100.00 | 96.00 | 96.00 | 100.00 | 92.00 | 48.00 | 70.00 | 95.00 | 99.20 | 31.60 | 57.33 | 52.00 | 52.00 |
| Loki | 76.43 | 100.00 | 100.00 | 96.00 | 100.00 | 100.00 | 32.00 | 81.00 | 90.00 | 99.20 | 42.00 | 65.33 | 44.00 | 44.00 |
| JSSA | 82.21 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 60.00 | 86.00 | 97.00 | 98.40 | 42.00 | 65.33 | 60.00 | 52.00 |
| Ministral-3-8B-Instruct-2512 | ||||||||||||||
| 32K Context | ||||||||||||||
| FKV | 92.58 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 91.60 | 96.00 | 68.00 | 48.00 |
| SnapKV | 65.75 | 100.00 | 100.00 | 44.00 | 96.00 | 44.00 | 0.00 | 43.00 | 98.00 | 97.60 | 34.80 | 81.33 | 68.00 | 48.00 |
| QUEST | 86.51 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 56.00 | 98.00 | 100.00 | 100.00 | 64.00 | 94.67 | 68.00 | 44.00 |
| SqueezedAttn. | 90.95 | 100.00 | 100.00 | 100.00 | 100.00 | 96.00 | 96.00 | 99.00 | 99.00 | 100.00 | 88.40 | 84.00 | 68.00 | 48.00 |
| FASA | 78.11 | 96.00 | 80.00 | 84.00 | 96.00 | 76.00 | 36.00 | 93.00 | 87.00 | 99.20 | 77.60 | 86.67 | 60.00 | 44.00 |
| Loki | 89.51 | 96.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 71.60 | 84.00 | 68.00 | 44.00 |
| JSSA | 90.72 | 96.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 86.00 | 81.33 | 68.00 | 48.00 |
| 64K Context | ||||||||||||||
| FKV | 89.45 | 88.00 | 96.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 78.80 | 88.00 | 68.00 | 44.00 |
| SnapKV | 66.31 | 96.00 | 88.00 | 48.00 | 92.00 | 72.00 | 0.00 | 63.00 | 97.00 | 100.00 | 30.00 | 72.00 | 60.00 | 44.00 |
| QUEST | 82.95 | 92.00 | 96.00 | 100.00 | 100.00 | 88.00 | 60.00 | 98.00 | 100.00 | 100.00 | 54.20 | 76.00 | 72.00 | 44.00 |
| SqueezedAttn. | 87.60 | 80.00 | 88.00 | 100.00 | 100.00 | 96.00 | 96.00 | 98.00 | 100.00 | 100.00 | 88.80 | 76.00 | 68.00 | 48.00 |
| FASA | 80.45 | 72.00 | 92.00 | 100.00 | 100.00 | 80.00 | 44.00 | 95.00 | 98.00 | 100.00 | 80.80 | 72.00 | 64.00 | 48.00 |
| Loki | 87.82 | 96.00 | 96.00 | 100.00 | 100.00 | 92.00 | 96.00 | 99.00 | 100.00 | 100.00 | 72.00 | 82.67 | 64.00 | 44.00 |
| JSSA | 89.02 | 92.00 | 96.00 | 100.00 | 100.00 | 100.00 | 100.00 | 98.00 | 100.00 | 100.00 | 83.20 | 76.00 | 68.00 | 44.00 |
| 128K Context | ||||||||||||||
| FKV | 85.93 | 96.00 | 100.00 | 100.00 | 96.00 | 100.00 | 100.00 | 100.00 | 94.00 | 100.00 | 40.40 | 94.67 | 60.00 | 36.00 |
| SnapKV | 62.84 | 92.00 | 96.00 | 40.00 | 84.00 | 56.00 | 0.00 | 71.00 | 92.00 | 100.00 | 23.20 | 78.67 | 52.00 | 32.00 |
| QUEST | 79.02 | 96.00 | 100.00 | 100.00 | 96.00 | 92.00 | 36.00 | 100.00 | 97.00 | 100.00 | 35.60 | 86.67 | 48.00 | 36.00 |
| SqueezedAttn. | 82.85 | 88.00 | 100.00 | 100.00 | 96.00 | 92.00 | 80.00 | 99.00 | 98.00 | 100.00 | 60.00 | 72.00 | 60.00 | 32.00 |
| FASA | 72.81 | 96.00 | 88.00 | 88.00 | 80.00 | 56.00 | 48.00 | 83.00 | 84.00 | 100.00 | 60.80 | 66.67 | 56.00 | 40.00 |
| Loki | 81.84 | 96.00 | 96.00 | 100.00 | 92.00 | 88.00 | 76.00 | 95.00 | 95.00 | 100.00 | 51.20 | 82.67 | 60.00 | 32.00 |
| JSSA | 85.97 | 92.00 | 100.00 | 100.00 | 96.00 | 100.00 | 100.00 | 99.00 | 97.00 | 100.00 | 61.60 | 76.00 | 60.00 | 36.00 |
Table 17. Complete task-level RULER accuracy under a fixed 1.5625% KV budget. The Avg. column reports the average across the 13 RULER tasks.
Complete Reasoning Results
Tables 18–20 report pass@1 accuracy across KV budgets of 512, 1,024, and 2,048 tokens. Table 21 separately reports the corresponding generation lengths relative to full-KV attention. Full-KV attention results are independent of the sparse token budget and are therefore reported once. Across models and benchmarks, JSSA remains comparatively stable across budgets, whereas competing methods often require larger budgets to recover accuracy and reduce generation-length inflation.
| Model | Benchmark | Method | 512 | 1024 | 2048 |
| Qwen3-8B | AIME 2025 | TriAttention | |||
| Qwen3-8B | AIME 2025 | QUEST | |||
| Qwen3-8B | AIME 2025 | SeerAttention-R | |||
| Qwen3-8B | AIME 2025 | FASA | |||
| Qwen3-8B | AIME 2025 | JSSA | |||
| Qwen3-8B | MATH-500 | TriAttention | |||
| Qwen3-8B | MATH-500 | QUEST | |||
| Qwen3-8B | MATH-500 | SeerAttention-R | |||
| Qwen3-8B | MATH-500 | FASA | |||
| Qwen3-8B | MATH-500 | JSSA | |||
| Qwen3-8B | GPQA-Diamond | TriAttention | |||
| Qwen3-8B | GPQA-Diamond | QUEST | |||
| Qwen3-8B | GPQA-Diamond | SeerAttention-R | |||
| Qwen3-8B | GPQA-Diamond | FASA | |||
| Qwen3-8B | GPQA-Diamond | JSSA | |||
| Gemma4 | AIME 2025 | TriAttention | |||
| Gemma4 | AIME 2025 | QUEST | |||
| Gemma4 | AIME 2025 | FASA | |||
| Gemma4 | AIME 2025 | JSSA | |||
| Gemma4 | MATH-500 | TriAttention | |||
| Gemma4 | MATH-500 | QUEST | |||
| Gemma4 | MATH-500 | FASA | |||
| Gemma4 | MATH-500 | JSSA | |||
| Gemma4 | GPQA-Diamond | TriAttention | |||
| Gemma4 | GPQA-Diamond | QUEST | |||
| Gemma4 | GPQA-Diamond | FASA | |||
| Gemma4 | GPQA-Diamond | JSSA | |||
| GLM-4.7-Flash | AIME 2025 | FASA | |||
| GLM-4.7-Flash | AIME 2025 | JSSA | |||
| GLM-4.7-Flash | MATH-500 | FASA | |||
| GLM-4.7-Flash | MATH-500 | JSSA | |||
| GLM-4.7-Flash | GPQA-Diamond | FASA | |||
| GLM-4.7-Flash | GPQA-Diamond | JSSA |
Table 21. Generation length relative to FKV across reasoning benchmarks and KV budgets. Lower is better.
JSSA is substantially less sensitive to the token budget than competing methods. Even at 512 tokens, it remains close to full-KV accuracy on most model–benchmark pairs, while several baselines exhibit severe accuracy loss and generation-length inflation. Increasing the budget generally narrows these gaps, but JSSA continues to provide the most consistent trade-off between final-answer accuracy and reasoning length.
| Method | AIME 2025 512 | AIME 2025 1024 | AIME 2025 2048 | MATH-500 512 | MATH-500 1024 | MATH-500 2048 | GPQA-Diamond 512 | GPQA-Diamond 1024 | GPQA-Diamond 2048 |
| FKV | 69.58 | 94.53 | 57.95 | ||||||
| TriAttention | 5.83 | 20.00 | 37.50 | 73.80 | 86.20 | 93.20 | 31.82 | 40.40 | 50.13 |
| QUEST | 47.08 | 62.92 | 66.25 | 92.73 | 93.50 | 89.93 | 57.01 | 58.14 | 56.12 |
| SeerAttention-R | 26.67 | 42.08 | 55.00 | 85.70 | 91.80 | 94.03 | 54.67 | 55.93 | 58.52 |
| FASA | 30.83 | 60.42 | 67.50 | 87.93 | 93.58 | 94.60 | 56.06 | 57.45 | 59.97 |
| JSSA | 64.58 | 68.33 | 67.92 | 94.05 | 94.23 | 94.45 | 58.08 | 57.39 | 58.21 |
Table 18. Complete reasoning accuracy on Qwen3-8B across KV budgets. FKV is reported once because it does not depend on the sparse token budget.
| Method | AIME 2025 512 | AIME 2025 1024 | AIME 2025 2048 | MATH-500 512 | MATH-500 1024 | MATH-500 2048 | GPQA-Diamond 512 | GPQA-Diamond 1024 | GPQA-Diamond 2048 |
| FKV | 90.00 | 97.15 | 80.87 | ||||||
| TriAttention | 13.33 | 22.50 | 54.17 | 68.35 | 83.95 | 95.35 | 40.28 | 43.94 | 68.69 |
| QUEST | 28.75 | 50.42 | 70.42 | 88.20 | 93.65 | 96.33 | 63.07 | 71.40 | 77.84 |
| FASA | 57.92 | 73.75 | 84.17 | 95.25 | 97.08 | 97.13 | 78.91 | 80.56 | 80.87 |
| JSSA | 88.75 | 86.67 | 88.33 | 96.18 | 97.08 | 97.10 | 80.68 | 81.94 | 81.12 |
Table 19. Complete reasoning accuracy on Gemma4-26B-A4B-It across KV budgets. FKV is reported once because it is independent of the sparse token budget.
| Method | AIME 2025 512 | AIME 2025 1024 | AIME 2025 2048 | MATH-500 512 | MATH-500 1024 | MATH-500 2048 | GPQA-Diamond 512 | GPQA-Diamond 1024 | GPQA-Diamond 2048 |
| FKV | 90.42 | 96.80 | 75.44 | ||||||
| FASA | 37.08 | 65.00 | 81.25 | 91.08 | 95.65 | 96.80 | 55.30 | 69.38 | 73.61 |
| JSSA | 86.67 | 91.67 | 91.25 | 96.95 | 96.88 | 96.88 | 75.25 | 77.53 | 78.03 |
Table 20. Complete reasoning accuracy on GLM-4.7-Flash across KV budgets. FKV is reported once because it is independent of the sparse token budget.
References
- [1]Yushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu, Jiankai Tang, Zhidian Huang, Zhengxiao Du, Xiao Liu, Aohan Zeng, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. LongBench: A bilingual, multitask benchmark for long context understanding. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 3119–3137, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.172. URL https://aclanthology.org/2024.acl-long.172.DOI
- [2]DeepSeek-AI. Deepseek-v3.2-exp: Boosting long-context efficiency with deepseek sparse attention, 2025.
- [3]Yizhao Gao, Shuming Guo, Shijie Cao, Yuqing Xia, Yu Cheng, Lei Wang, Lingxiao Ma, Yutao Sun, Tianzhu Ye, Li Dong, Hayden Kwok-Hay So, Yu Hua, Ting Cao, Fan Yang, and Mao Yang. Sparse attention adaptation for long reasoning. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=c5BOcHM6J8.arxiv.org/abs/2506.08889
- [4]Gemma Team, Sherif El Abd, Vaibhav Aggarwal, Robin Algayres, Alek Andreev, Olivier Bachem, Ian Ballantyne, Cormac Brick, Victor Cărbune, Michelle Casbon, Mayank Chaturvedi, Aditya Chawla, Victor Cotruta, Alice Coucke, Phil Culliton, Robert Dadashi, Lucas Dixon, Mohamed Elhawaty, Utku Evci, Clément Farabet, Johan Ferret, Filippo Galgani, Sertan Girgin, Jean-Bastien Grill, Maarten Grootendorst, Jiaxian Guo, Cassidy Hardin, Yanzhang He, Steven M. Hernandez, Omri Homburger, Léonard Hussenot, Juyoung Ji, Armand Joulin, Aishwarya Kamath, Parnian Kassraie, Olivier Lacombe, Preethi Lahoti, Gaël Liu, Gus Martins, Luciano Martins, Tatiana Matejovicova, Ramona Merhej, Nikola Momchev, Sneha Mondal, Ryan Mullins, Sindhu Raghuram Panyam, Shreya Pathak, Sarah Perrin, André Susano Pinto, Etienne Pot, Angéline Pouget, Alexandre Ramé, Sabela Ramos, Douglas Reid, David Rim, Morgane Rivière, Karsten Roth, Louis Rouillard, Omar Sansevierio, Pier Giuseppe Sessa, Shane Settle, Danila Sinopalnikov, Sara Smoot, Piotr Stanczyk, Andreas Steiner, Lawrence Stewart, Ilya Tolstikhin, Michael Tschannen, Anton Tsitsulin, Nino Vieillard, Renjie Wu, Pingmei Xu, Haichuan Yang, Edouard Yvinec, Biao Zhang, Li Zhang, Joe Zou, Nicolas Agnes, Abdelhamdan Abdelhamad, Jakub Adamek, Shivani Agrawal, Shubham Agrawal, Ibrahim Abdulmohsin, Jean Baptiste Alayrac, Uri Alon, Chandramouli Amarnath, Ankesh Anand, Chryso valantis Anastasiou, Setareh Ariafar, François-Xavier Aubet, Kyriakos Axiotis, Federico Barbero, Joelle Barral, Alexei Bendebury, Urs Bergmann, Stanley Bileschi, Kat Black, Mathieu Blondel, Sebastian Borgeaud, Arthur Bräzinskas, Ryan Burnell, Robert Busa-Fekete, Mu Cai, Daniele Calandriello, Glenn Cameron, Charlotte Cau cheteux, Rahma Chaabouni, Garima Chadha, Jetha Chan, Blake Jianhang Chen, Jesse Chen, Lin Chen, Xu Chen, Derek Cheng, Tzu hsiang Chien, Nikolai Chn aev, Yi Chou, Zhaohui Chu, Benjamin Coleman, Pooja Consul, Sam Conway-Rahman, Scott Crowell, Dylan Cutler, Vivek Dani, Samira Daruki, Anil Das, Daniel Deutsch, Nishanth Dikkala, Li Ding, Qiuhan Ding, Shenil Dodhia, Konstantin Donhauser, Tulsee Doshi, Anca Dragan, Alex Druinsky, Sahil Dua, Zoltan Egyed, Danielle Eisenbud, Daniel Eppens, Cindy Fan, Bahare Fatemi, Yassir Fathullah, Vlad Feinberg, Milen Ferev, Sebastian Fennerhag, Takumi Fujimoto, João Gabriel Oliveira, Isaac Galatzer-Levy, João Gante, Simon Geisler, Soham Ghosal, Antonious M. Girgis, Tamara von Glehn, Alec Go, Alhaad Gokhale, Alex Grills, Yiming Gu, Mayank Gupta, Pramod Gupta, Guru G uranegash, Raia Hadsell, Hamza Harkous, Jitendra Harlalka, Demis Hassabis, Anja Hauth, Joe Heyward, Arian Hosseini, Chih-Yang Hsia, I-Hung Hsu, Xiaopeng Huang, Yangsibo Huang, Kevin Hui, Adrian Hutter, Te I, Fotis Iliopoulos, Advait Jain, Ganesh Jawahar, Ziwei Ji, Qilin Jin, Melvin Johnson, Kandarp Joshi, Arun Kandoor, Wang-Cheng Kang, Koray Kavukcuoglu, Mehran Kazemi, Kathleen Kenealy, Amr Khalifa, Phoebe Kirk, Ivan Korotkov, Suraj Kothawade, Vitaly Kovalev, Neel Kovelamudi, Adam Kraft, Ravin Kumar, Vivek Kumar, Harish Kuppam, Justin Lannin, Chen-Yu Lee, Seungji Lee, Dmitry Lepikhin, Alon Levkovitch, Dongdong Li, Qiujia Li, Valentin Liévin, Ethan Lin, Ziqian Lin, Casper Liu, Tianlin Liu, Tianqi Liu, Xian Liu, Ivan Lobov, Mayank Lunayach, Min Ma, Gagan Madan, Andrii Maksai, Eric Malmi, Michal Matuszak, Daniel McDuff, Gaurav Menghani, Maciej Mikuła, Daniil Mirylenka, Karolis Misiunas, Vedant Misra, Andreea Mitran, Kareem Mohamed, Maksim Mukha, Eric Noland, James O’Donnell, Brendan O’Donoghue, Kate Olszewska, Bernett Orlando, Wangqiong Pan, Rina Pangirahy, Unnati Parekh, Nicolas Perez-Nieves, Chunjong Park, Eric Paskie, Liqian Peng, Bryce Petrini, Slav Petrov, Jonas Pfeiffer, Bilal Piot, Martyna Plomecka, Siim Poder, Octavio Ponce, Arijit Pramanik, David Racz, Anish Rajan, Michelle Ramanovich, Anand Rao, Marvin Ritter, Vitor Rodrigues, Evan Rosen, Mikołaj Rybiński, Noveen Sachdeva, Michaël E. Sander, Rohit Sathyanarayana, Sagar Savla, Samuel Schmidgall, Tal Schuster, George Scrivener, Benoit Seguin, Andrew Sellergren, Aliaksei Severyn, Izhak Shafran, Dhruv Shah, Bobak Shahriari, Yuan Shangguan, Ashish Shenoy, Pradeep Shenoy, Rakesh Shivanna, Pauline Sho, Lucas Spangher, Wojciech Stokowiec, Tim Strother, Yao Su, Yinghao Sun, Mukund Sundararajan, Andrea Tacchetti, Mor Hazan Taege, Pouya Tafti, Jean Tarbouriech, Chetan Tekur, Shantanu Thakoor, Rahul Thapa, Madeleine Traverse, Lenart Treven, Tao Tu, Chien Te Tung, Çağlar Ünlü, Petar Veličković, Malini Pooni Venkat, Sagar Gubbi Venkatesh, Vidya Venkiteswaran, Francesco Visin, Alex Vitvit-skyi, Kiran Vodrahalli, Weiyi Wang, Xin Wang, Tris Warkentin, Jan Wasserberg, John Wieting, Cindy Wu, Lechao Xiao, Hao Xu, Yuhui Xu, Fuzhao Xue, Arun Yadav, Jun Yan, Antoine Yang, Lin Yang, Ming-Hsuan Yang, Ziyu Ying, Jae Hyeon Yoo, Morteza Z adimoghaddam, Sajjad Zafar, Fred Zhang, Jianggen Zhang, J ianyi Zhang, Xiaofan Zhang, Chao Zhao, David Zhou, and Chen Zou. Gemma 4 technical report, 2026. URL https://arxiv.org/abs/2607.02770.
- [5]GLM Team, Aohan Zeng, Xin Lv, Qinkai Zheng, Zhenyu Hou, Bin Chen, Chengxing Xie, Cunxiang Wang, Da Yin, Hao Zeng, Jiajie Zhang, Kedong Wang, Lucen Zhong, Mingdao Liu, Rui Lu, Shulin Cao, Xiaohan Zhang, Xuancheng Huang, Yao Wei, Yuan Cheng, Yifan An, Yilin Niu, Yuanhao Wen, Yushi Bai, Zhengxiao Du, Zihan Wang, Zilin Zhu, Bohan Zhang, Bosi Wen, Bowen Wu, Bowen Xu, Can Huang, Casey Zhao, Changpeng Cai, Chao Yu, Chen Li, Chendi Ge, Chenhua Huang, Chenhui Zhang, Chenxi Xu, Chenzheng Zhu, Chuang Li, Confeng Yin, Daoyan Lin, Dayong Yang, Dazhi Jiang, Ding Ai, Erle Zhu, Fei Wang, Gengzheng Pan, Guo Wang, Hailong Sun, Haitao Li, Haiyang Li, Haiyi Hu, Hanyu Zhang, Hao Peng, Hao Tai, Haoke Zhang, Haoran Wang, Haoyu Yang, He Liu, He Zhao, Hongwei Liu, Hongxi Yan, Huan Liu, Huilong Chen, Ji Li, Jiajing Zhao, Jiamin Ren, Jian Jiao, Jiani Zhao, Jianyang Yan, Jiaqi Wang, Jiayi Gui, Jiayue Zhao, Jie Liu, Jijie Li, Jing Li, Jing Lu, Jingsen Wang, Jingwei Yuan, Jingxuan Li, Jingzhao Du, Jinhua Du, Jinxin Liu, Junkai Zhi, Junli Gao, Ke Wang, Lekang Yang, Liang Xu, Lin Fan, Lindong Wu, Lintao Ding, Lu Wang, Man Zhang, Minghao Li, Minghuan Xu, Mingming Zhao, Mingshu Zhai, Pengfan Du, Qian Dong, Shangde Lei, Shangqing Tu, Shangtong Yang, Shaoyou Lu, Shijie Li, Shuang Li, Shuang-Li, Shuxun Yang, Sibo Yi, Tianshu Yu, Wei Tian, Weihan Wang, Wenbo Yu, Weng Lam Tam, Wenjie Liang, Wentao Liu, Xiaowen Jia, Xiaohang Jia, Xiaotao Gu, Xiaoying Ling, Xin Wang, Xing Fan, Xingru Pan, Xinyuan Zhang, Xinze Zhang, Xiuqing Fu, Xunkai Zhang, Yabo Xu, Yandong Wu, Yida Lu, Yidong Wang, Yilin Zhou, Yiming Pan, Ying Zhang, Yingli Wang, Yingru Li, Yinpei Su, Yipeng Geng, Yitong Zhu, Yongkun Yang, Yuhang Li, Yuhao Wu, Yujiang Li, Yunan Liu, Yunqing Wang, Yuntao Li, Yuxuan Zhang, Z ezhen Liu, Zhen Yang, Zhengda Zhou, Zhongpei Qiao, Zhuoer Feng, Zhourui Liu, Zichen Zhang, Zihan Wang, Zijun Yao, Zikang Wang, Ziqiang Liu, Ziwei Chai, Zixuan Li, Zuodong Zhao, Wenguang Chen, Jidong Zhai, Bin Xu, Minlie Huang, Hongning Wang, Juanzi Li, Yuxiao Dong, and Jie Tang. Glm-4.5: Agentic, reasoning, and coding (arc) foundation models, 2025. URL https://arxiv.org/abs/2508.06471.
- [6]Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.arxiv.org/abs/2407.21783
- [7]Coleman Richard Charles Hooper, Sehoon Kim, Hiva Mohammadzadeh, Monishwaran Mah-eswaran, Sebastian Zhao, June Paik, Michael W Mahoney, Kurt Keutzer, and Amir Gholami. Squeezed attention: Accelerating long context length llm inference. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 32631–32652, 2025.arxiv.org/abs/2411.09688
- [8]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? arXiv preprint arXiv:2404.06654, 2024.arxiv.org/abs/2404.06654
- [9]Huijiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu, Xufang Luo, Surin Ahn, Zhenhua Han, Amir H. Abdi, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, and Lili Qiu. MInference 1.0: Accelerating pre-filling for long-context LLMs via dynamic sparse attention. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=fPBACAbqSN.arxiv.org/abs/2407.02490
- [11]Damien Lesens, Behshteh T Rakhshan, and Guillaume Rabusseau. Kq-svd: Compressing the kv cache with provable guarantees on attention fidelity. arXiv preprint arXiv:2512.05916, 2025.arxiv.org/abs/2512.05916
- [12]Jiashi Li, Shengyu Liu, and Yuanhang Sun. Flashmla: Efficient multi-head latent attention kernels. https://github.com/deepseek-ai/FlashMLA, 2025.
- [13]Yuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh, Acyar Locatelli, Hanchen Ye, Tianle Cai, Patrick Lewis, and Deming Chen. Snapkv: Llm knows what you are looking for before generation. Advances in Neural Information Processing Systems, 37:22947–22970, 2024.arxiv.org/abs/2404.14469
- [14]Hunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step. In International Conference on Learning Representations, volume 2024, pp. 39578–39601, 2024.arxiv.org/abs/2305.20050
- [15]Aixin Liu, Bei Feng, Bin Wang, Bingxuan Wang, Bo Liu, Chenggang Zhao, Chengqi Deng, Chong Ruan, Damai Dai, Daya Guo, et al. Deepseek-v2: A strong, economical, and efficient mixture-of-experts language model. arXiv preprint arXiv:2405.04434, 2024.arxiv.org/abs/2405.04434
- [16]Alexander H Liu, Kartik Khandelwal, Sandeep Subramanian, Victor Jouault, Abhinav Rastogi, Adrien Sadé, Alan Jefferas, Albert Jiang, Alexandre Cahill, Alexandre Gavaudan, et al. Ministral 3. arXiv preprint arXiv:2601.08584, 2026.arxiv.org/abs/2601.08584
- [17]Weian Mao, Xi Lin, Wei Huang, Yuxin Xie, Tianfu Fu, Bohan Zhuang, Song Han, and Yukang Chen. Triattention: Efficient long reasoning with trigonometric kv compression. arXiv preprint arXiv:2604.04921, 2026.arxiv.org/abs/2604.04921
- [18]MiniMax. Minimax sparse attention (msa): Flashattention and block-sparse attention kernels for nvidia sm100, 2026. URL https://github.com/MiniMax-AI/MSA.
- [19]Junlin Mu, Hantao Huang, Jihang Zhang, Minghui Yu, Tao Wang, and Yidong Li. Sals: Sparse attention in latent space for kv cache compression. Advances in Neural Information Processing Systems, 38:384–403, 2025.
- [20]Saurav Prakash, Balaraman Ravindran, et al. Swan: Sparse winnowed attention for reduced inference memory via decompression-free kv-cache compression. arXiv preprint arXiv:2511.18936, 2025.arxiv.org/abs/2511.18936
- [21]Jack W Rae, Anna Potapenko, Siddhant M Jayakumar, Chloe Hillier, and Timothy P Lillicrap. Compressive transformers for long-range sequence modelling. arXiv preprint, 2019. URL https://arxiv.org/abs/1911.05507.
- [22]David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian Michael, and Samuel R Bowman. Gpqa: A graduate-level google-proof q&a benchmark. arXiv preprint arXiv:2311.12022, 2023.arxiv.org/abs/2311.12022
- [23]Luka Ribar, Ivan Chelombiev, Luke Hudlass-Galley, Charlie Blake, Carlo Luschi, and Douglas Orr. SparQ attention: Bandwidth-efficient LLM inference. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp (eds.), Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 42558–42583. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v235/ribar24a.html.arxiv.org/abs/2312.04985
- [24]Utkarsh Saxena, Gobinda Saha, Sakshi Choudhary, and Kaushik Roy. Eigen attention: Attention in low-rank space for kv cache compression. In Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 15332–15344, 2024.
- [25]Prajwal Singhania, Siddharth Singh, Shwai He, Soheil Feizi, and Abhinav Bhatele. Loki: Low-rank keys for efficient sparse attention. Advances in Neural Information Processing Systems, 37:16692–16723, 2024.arxiv.org/abs/2406.02542







