acceptodds
Published as a conference paper at NeurIPS 2026

Dual Dimensionality for Local and Global Attention

Zhiyuan Wang, Xuan Luo, Sirui Zeng, Xifeng Yan

Abstract

Decoder-only Transformers compute attention over the KV cache of preceding tokens. Keys (and Values) are typically represented with the same dimensionality, regardless of its distance from the prediction target. In natural language, however, the next word is most strongly influenced by the immediately preceding tokens. We hypothesize that local and distant tokens impose asymmetric demands on representational capacity: local tokens are more critical for predicting immediate outputs and thus require richer representations, whereas distant tokens primarily serve as long-range memory, for which lower-dimensional representations may suffice. We formalize this idea as Distance-Adaptive Representation (DAR), implemented in a controlled setting that preserves full-dimensional representations within a local context window while assigning reduced-dimensional representations (e.g. 1/4 of the original dimensionality) to tokens beyond that window. Across multiple pretraining scales (70M to 410M parameters), as well as continued supervised fine-tuning on a 1B-scale model, this approach closely matches the performance of full-dimensional baselines. In contrast, uniformly reducing dimensionality across all token positions leads to worse performance. These results challenge the common assumption that key and value dimensionality should be uniform across token positions. Our findings suggest a new direction for designing attention architectures that adaptively allocate representational capacity across the sequence, enabling further reductions in KV cache during inference.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_jfptOpenReview ↗
Rating
3
Clarity
3
Confidence
4
Originality
3
Quality
2
Significance
2
Read review
Summary

This paper studies whether local and global KV-cache representations should have different representational capacities under the DAR framework. Specifically, the paper proposes that representation dimensionality should be distance-adaptive: tokens within a local window retain the original hidden dimension, while more distant/global KV-cache representations can be projected to a lower-dimensional space. With appropriate architectural design and training, the resulting model can match the performance of the original full-dimensional baseline. Based on these results, the authors argue that the common assumption of uniform key-value dimensionality across token positions should be reconsidered, and that adaptively allocating representational capacity across the sequence may provide a promising direction for further KV-cache reduction during inference.

Strengths and weaknesses

Strength

The paper addresses a problem in KV-cache compression. The proposed method has some novelty because it both distinguishes local and global KV-cache representations and compresses the global representations along the feature dimension.

Weaknesses

  1. If this paper is considered as a complete KV-cache compression work, it lacks the necessary efficiency evaluation. The main purpose of KV-cache compression is to reduce GPU memory usage and accelerate inference, but the authors do not report memory savings, decoding latency, throughput, or any practical system-level efficiency results.

  2. The idea of treating local and global context differently is not new. Many existing architectures already distinguish local and global attention, such as gpt-oss-style architectures that mix sliding-window and full attention across layers, and DeepSeek Native Sparse Attention, which includes a local attention branch. Therefore, the DAR perspective that different positions in the cache should be treated differently is not entirely novel. What is new is this exact feature-dimensional treatment, but the paper does not compare it against strong baselines using similar local/global designs.

  3. The paper lacks important baseline comparisons. In particular, Multi-head Latent Attention is highly relevant because it also compresses KV-related representations into a latent space. The paper should also compare with local/global attention architectures such as gpt-oss-style alternating attention and Native Sparse Attention, as well as other KV-cache compression methods such as FreqKV. Without these comparisons, it is difficult to judge whether the proposed method is competitive.

References

Questions
  1. The paper should include stronger baseline comparisons. The most important missing comparison is with Multi-head Latent Attention (MLA), since MLA is a highly relevant method for compressing KV-related representations into a latent space. Even without running full experiments, the authors should at least provide a memory analysis comparing the proposed DAR cache design with MLA under comparable model configurations and compression ratios. This analysis should clarify whether DAR can actually save more KV-cache memory than MLA. Beyond this analytical comparison, it would also be important to compare with other representative KV-cache compression or local/global attention methods on model quality and efficiency.

  2. The paper should include longer-context evaluations. Since the motivation of KV-cache compression is to enable efficient long-context LLM inference, the current evaluation setting seems insufficient. The downstream tasks reported in the paper have average input lengths of only around 332 to 1,394 tokens (Line 212-213), which does not strongly test long-context KV-cache behavior. The authors should evaluate on substantially longer contexts, such as Needle-in-a-Haystack (NIAH) and RULER, to show whether the proposed compression preserves retrieval and reasoning ability when the context length becomes much larger.

  3. The authors should clarify the exact contribution of the DAR perspective. If the main claim is that local and global KV-cache states should use different representations, this observation appears closely related to many existing local/global attention designs. For example, sliding-window/full-attention mixtures and sparse attention methods already treat local and global context differently. Is the intended contribution a new empirical observation about representational dimensionality, a specific architectural method, or a practical KV-cache compression system? The paper should more clearly distinguish its contribution from prior local/global attention designs and explain what new evidence is provided beyond the existing observation that local and distant context have different roles.

References:

Limitations

yes

Paper formatting concerns

N/A. I did not notice any major formatting, anonymity, or submission-policy concerns.

Final justification

The rebuttal addressed several of my concerns and improved the paper. In particular:

  • The authors clarified the intended contribution, making it much clearer that the novelty lies in studying efficient attention along the latent-dimension axis. They also committed to making this point more explicit in the revised paper.
  • The additional experiments, especially the throughput evaluation, make the empirical section more complete.

However, I still have two main reservations:

  • While the paper studies a relatively unexplored design axis, I believe that, by 2026, the underlying intuition has largely become common practice. Many recent efficient attention methods already preserve more local information while compressing or sparsifying global information, even if they do not perform reduction exactly along the latent-dimension axis. As a result, I find the conceptual insight to be somewhat incremental.
  • More importantly, I remain unconvinced about the practical impact of the proposed method.(As stated in my initial review) The reported throughput improvements are helpful, but they are not evaluated against highly optimized inference infrastructures such as FlashAttention-based implementations or vLLM. Consequently, it is still unclear whether the additional algorithmic complexity translates into meaningful real-world deployment benefits. The rebuttal partially addressed this concern but did not fully resolve it.

Overall, I appreciate the authors' thorough rebuttal and have increased my score from 2 to 3. Nevertheless, due to the remaining concerns regarding the novelty and practical impact of the method, my final recommendation is borderline reject.

Reviewer_XGJaOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

USP — "Dual Dimensionality for Local and Global Attention" The problem

In a decoder-only Transformer, every past token in the KV cache is stored at the same dimensionality d, regardless of how far it is from the token being predicted. As context length grows, the KV cache becomes the dominant memory + bandwidth cost at inference. Existing fixes either:

  • evict tokens (sliding window, StreamingLLM, H2O) — lossy, and they all silently keep recent tokens fully, or
  • compress every token uniformly (MLA, CSA) — treats local and distant tokens identically.

Nobody had asked the more basic question: should a token 5 positions back and one 5,000 positions back really get the same number of dimensions?

The selling point in one line: Recent tokens need rich representations; distant tokens can be aggressively compressed — make KV dimensionality a function of distance from the prediction target.

They call this principle Distance-Adaptive Representation (DAR).

Strengths and weaknesses

Strengths

  • The core hypothesis is linguistically grounded. "Local tokens drive next-token prediction; distant tokens act as coarse memory" is intuitive, falsifiable, and matches how language actually works (grammar/repetition are local; topic/context is distal). It's a real idea, not just an engineering trick.
  • Holds across scales. 70M → 160M → 410M pretraining + 1B continued SFT. The same d/4 ratio works across an order of magnitude in parameters, which is the right way to argue a finding isn't a small-model artifact.
  • Honest about limitations. §5 explicitly flags: training-time 2× cache, projection-through-d rather than pure low-dim global path, no FlashAttention/vLLM integration. Doesn't hide what's incomplete.

Weaknesses

  • Single architecture family. Pythia + OLMo are both standard pre-MoE dense decoders. Does DAR work for MoE models? For models with GQA/MQA (where K/V heads are already shared and reduced)? For state-space hybrids? Not tested — and these are exactly the architectures KV-cache compression is most needed for.
Questions
  1. DeepSeek's MLA is the latent compression they cite as closest prior work, and DeepSeek-V3 is the canonical MoE that uses it. DAR is positioned as "local/distant asymmetry," MLA as "uniform latent." A DAR-on-top-of-MLA configuration — full MLA inside the window, more aggressively compressed MLA outside — is the natural composition. Has it been tested? If not, why not?
  2. For vision-language models, "distance" is no longer purely sequential — visual tokens have spatial relationships. Is DAR's positional definition of distance even meaningful? Does it need redefinition (e.g., distance-in-attention-graph rather than distance-in-sequence)?
  3. The SFT experiments start from OLMo-2-1B-SFT and do two-stage fine-tuning. But that's still re-training. Can DAR be applied as a post-hoc, training-free modification — e.g., compute W_down/W_up via SVD of the existing K/V projections, then swap in at inference?
Limitations

N/A

Paper formatting concerns

N/A

Final justification

corrected the contribution type

Reviewer_6jQROpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
2
Significance
3
Read review
Summary

This study hypothesizes that tokens proximal to the prediction target require higher-dimensional attention representations than more distant tokens. To evaluate this, the authors introduce Distance-Adaptive Representation (DAR), in which tokens within a local window (w=128) retain full dimensionality, while distant tokens are processed through a learned down-projection to a bottleneck dimension d_down and subsequently up-projected to d prior to the shared key/value projections. Experiments across Pythia 70M, 160M, and 410M pretraining, as well as continued supervised fine-tuning of a 1B model, demonstrate that DAR achieves performance comparable to full-dimensional baselines. In contrast, applying the same dimensionality reduction uniformly to all positions results in greater performance degradation. The authors interpret these findings as evidence for an asymmetric, distance-dependent requirement for representational capacity and as justification for distance-adaptive KV-cache reduction.

Strengths and weaknesses

Strengths

  • S1. The study employs a well-chosen control: at 70M, DAR with d_down=128 matches the full-dimensional baseline (Rel. 100.01%), whereas uniform reduction to the same d_down performs significantly worse (104.65%; and 102.14% vs 111.47% at d_down=64). This performance gap persists throughout the training trajectory. [Table 1, Fig. 3]
  • S2. The evaluation methodology is sound: Figure 2 shows that most evaluation tokens fall outside the w=128 window, and rolling evaluation ensures that the bottlenecked global path is thoroughly tested. Additionally, the short-sample filtering described in §3.3 extends to downstream tasks, collectively ruling out a trivial pass-through explanation. [Fig. 2, §3.3]
  • S3. The mechanism and mathematical formulation (Eqs. 1–4) are internally consistent, and the authors accurately acknowledge that the up-projection does not recover lost information. [§2.1–2.3]
  • S4. The submission transparently acknowledges its limitations, including doubling the KV cache, the non-restorative nature of the up-projection, and restricted scalability. [§5, Checklist Q7]

Weaknesses

  • W1. The central hypothesis is evaluated only indirectly: while the claim concerns representational demand, all supporting evidence is based on end-task perplexity or accuracy. The DAR-versus-uniform comparison demonstrates that the split is beneficial, but does not establish that local K/V states are intrinsically higher-dimensional, as no rank or probing analysis is provided. [§1 vs §3]
  • W2. The positioning lacks sufficient differentiation and does not include external comparisons. The local/distant asymmetry is already addressed by SKVQ (local full-precision, distant low-bit, as discussed in §4 but not empirically compared), sliding-window/StreamingLLM, and dimension-axis compression (MatryoshkaKV). Consequently, the abstract's claim that it “challenges the common assumption” overstates the novelty, as the only empirical baseline is DAR’s own uniform-reduction approach. [§1, §4]
  • W3. The anticipated KV-cache savings are neither realized nor empirically measured. The submitted inference stores both representations, resulting in a doubled cache. The O(Td) to O(Td_down) benefit remains purely analytical and depends on an unimplemented absorption technique. [§2.3, §5]
  • W4. The scale and context of the experiments fall short of the intended target regime. Pretraining is limited to 410M (sequence length 2,048), the 1B evidence is based on continued SFT, downstream inputs range only from 332 to 1,394 tokens, and the uniform control is evaluated solely at 70M. [§3.1–3.3, Table 2]
  • W5. The results are based on single runs, and several critical equivalence claims rely on differences of less than 2% (DAR at 410M = 97.34%, marginally outperforming vanilla), which are indistinguishable from noise. [Tables 1–2, Checklist Q7]

References

[1] H. Duanmu, Z. Yuan, X. Li, J. Duan, X. Zhang, and D. Lin. "SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models." arXiv:2405.06219, 2024. https://arxiv.org/abs/2405.06219

[2] B. Lin, Z. Zeng, Z. Xiao, S. Kou, T. Hou, X. Gao, H. Zhang, and Z. Deng. "MatryoshkaKV: Adaptive KV Compression via Trainable Orthogonal Projection." ICLR, 2025. arXiv:2410.14731. https://arxiv.org/abs/2410.14731

[3] DeepSeek-AI. "DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model." arXiv:2405.04434, 2024. https://arxiv.org/abs/2405.04434 (introduces Multi-head Latent Attention, MLA.)

Questions
  • Q1 (direct test of the hypothesis): Can you provide direct evidence that distant-token key/value states are intrinsically lower-dimensional than local ones, for example, by reporting per-distance principal component analysis (PCA) energy or effective rank of key/value states in a vanilla model, rather than relying solely on the end-task DAR-vs-uniform contrast? If a clear local versus distant intrinsic-dimensionality gap is demonstrated, I would increase my ratings for Originality and Significance and move toward a score of 4. If the asymmetry remains observable only through task metrics, I will maintain my current rating.
  • Q2 (realized saving): Can you implement the on-demand cache, specifically by storing h^D ∈ R^{d_down} for distant tokens and absorbing W_up into W_K/W_V, for one model and report the measured peak key/value (KV) memory and decode latency compared to the vanilla model at a long context (at least 8,000 tokens)? Demonstrating a real, comparable-quality improvement in memory or latency would move me toward a score of 4. Without such evidence, the central promise remains unsubstantiated.
  • Q3 (external matched-budget baseline): How does distance-adaptive allocation compare to a uniform low-rank or latent baseline (MLA-style) at the same average cached dimension? If distance-adaptive retrieval (DAR) outperforms uniform low-rank at matched memory, this would provide the necessary evidence that distance is the appropriate axis for allocation, and I would raise my rating. If the results are equivalent, it would indicate that the contribution is more limited than claimed.
  • Q4 (contrast beyond 70M): Can you re-run the uniform-reduction control, not only DAR, at 160 million and 410 million parameters? If the performance gap between DAR and uniform reduction persists at larger scales, I would increase my confidence in the generality claim. If the gap diminishes, the scaling claim may be overstated and I would maintain my current rating.
  • Q5 (variance): Can you report results for two to three random seeds, or provide a final-checkpoint variance proxy, for the 70 million parameter DAR-vs-uniform-vs-vanilla comparison? If the sub-2% equivalence gaps are stable across runs, I would increase my confidence in the results. If these gaps fall within the range of noise, the claims that DAR matches or outperforms vanilla should be moderated, and I would lower my rating for Quality.
Limitations

Yes. My one suggestion is to carry the "current implementation doubles the cache" caveat into the abstract/introduction, since the abstract currently foregrounds KV-cache reduction as the payoff while that payoff is not yet realized or measured.

Paper formatting concerns

None.

Final justification

The rebuttal changes the balance from borderline reject to borderline accept. It addresses the principal practical and comparative concerns through an implemented DAR-opt cache, 8K-16K systems measurements, a matched-budget uniform latent baseline, larger-scale controls, multi-seed results, and an 8K RULER evaluation. Distance-adaptive allocation now demonstrably outperforms uniform allocation with an equal cache budget, and the spectral analysis provides evidence beyond end-task metrics. However, 8K-16K is a modest long-context regime; the optimized quality and systems evidence are not jointly reported beyond 16K on the same configuration, and the dimensionality analysis is query-conditioned rather than a direct raw-state rank measurement. These limitations keep the paper at the current rating.

Comments on the paper

1 comment
Meta-review

The paper introduces Distance-Adaptive Representation (DAR), which retains full-dimensional local representations while compressing distant ones. Reviewers found the idea promising and the controlled DAR-versus-uniform comparison informative.

I suggest two actionable items: First, the current implementation doubles the cache and does not demonstrate realized efficiency; measured memory, latency, and quality at long context would substantially strengthen the practical appeal. Second, comparisons with those baselines suggested by R1 and R3 can strengthen the paper. Other architecture and modality extensions are suggested, if it is within the authors' capacity.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.