potentialpaper

Reducing Query--Key Pathway Parameters with Basis-Mediated Bilinear Attention

Wei Chen, Yiying Yang, Wenhao Jiang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a low-rank training-time reparameterization of the QK pathway, substantially reducing QK parameters and FLOPs while maintaining competitive model performance.

Abstract. Large language models and their vision counterparts have achieved remarkable capabilities, yet their wider deployment is increasingly constrained by the computational and memory demands of Transformer architectures. Much recent work improves Transformer efficiency, but the query-key pathway is still typically parameterized by fully independent per-head projections, which place a substantial parameter burden on attention. Motivated by the view that token selection may admit a shared low-dimensional geometry, we propose Basis-Mediated Bilinear Attention (BMB), a training-time reparameterization of the query-key pathway in which all heads within a layer share a latent basis while retaining head-specific interactions. A practical explicit variant, BMB-UV, materializes per-head query and key tensors through a shared basis and lightweight head-specific factors, reducing the query-key parameter count from 2d22d^2 to dr+2Hrsdr+2Hrs. We evaluate our method family on ViT-Base image classification on ImageNet-1K and on GPT-2 small pretraining on the C4 RealNewsLike subset, and compare it against recent query-key parameter-sharing and low-rank baselines. At r=s=32r=s=32, BMB-UV uses 95.83% fewer query--key parameters than standard multi-head attention, while reducing ImageNet-1K top-1 accuracy by only 1.491.49 percentage points. Combined with GQA at 1.33B parameters, BMB-UV uses 92.00% fewer QK parameters per layer than the published 1.55B GQA reference, with a two-shot nine-task mean accuracy decrease of only 0.150.15 percentage points. In a separate decoding benchmark with a synthetic one-million-token cache, GQA+BMB-UV uses 25% less logical KV storage and reduces per-token latency by 23.9% (1.31×\times speedup) relative to a dense GQA control.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

This paper proposes Basis-Mediated Bilinear Attention (BMB), a training-time reparameterization of the query–key (QK) pathway of multi-head attention. The core hypothesis is that per-head query/key projections across heads share a common low-dimensional geometry and are therefore substantially over-parameterized. Instead of each head learning independent WQW^Q and WKW^K, all heads in a layer share a single learned basis and each head retains a small head-specific bilinear interaction matrix, reducing per-layer QK parameters from 2d22d^2 to dr+2Hrsdr + 2Hrs. Experiments on ViT-B/16 (ImageNet-1K, 30 epochs) and GPT-2-small (C4 RealNewsLike) compare BMB against MHA, full/partial QK sharing, and a naive low-rank baseline, reporting up to 95.83% QK-parameter reduction while remaining competitive with the baseline on both benchmarks.

There are some strengths mentioned by the reviewers:

  • Well-motivated, clearly formulated method (weSp, SHux, Y74G): the hypothesis that the QK pathway performs token selection and admits a lower intrinsic dimensionality than the value pathway is intuitive and well connected to recent literature; the shared-basis + per-head bilinear kernel factorization and the BMB-UV derivation are clean and easy to follow, with a helpful dictionary-atom interpretation.
  • Strong parameter-efficiency results with a smooth trade-off (weSp, SHux, Y74G): under identical training budgets, BMB achieves substantial QK-parameter reductions while staying competitive with prior parameter-sharing/low-rank baselines on both vision and language, and the r/s knobs give a controllable accuracy–parameter trade-off.
  • Engineering compatibility and faster early convergence (weSp, Y74G): BMB-UV preserves compatibility with mainstream attention kernels (FlashAttention/SDPA) and shows faster early-stage convergence than MHA, which is attractive for compute-limited settings.
  • Informative ablations (SHux): the BB ablation (removing the per-head bilinear term) causes a ~3.8 pp accuracy drop on ImageNet, confirming that the head-specific bilinear term is load-bearing and the shared basis alone is insufficient.

However, the reviewers are concerned about:

  • Limited experimental scale (weSp, SHux, Y74G): evaluation is confined to ~100M-parameter models (ViT-B/16, GPT-2-small); it is untested whether the low-dimensional QK-geometry hypothesis and gains hold at modern LLM/VLM scale (1B+), where heads may specialize more.
  • Narrow evaluation and limited practical inference relevance (weSp, SHux): only two tasks are used, with no downstream benchmarks (zero-shot reasoning/recall); BMB reduces training-time QK parameters, but modern inference bottlenecks are dominated by KV-cache memory/bandwidth, and it is unclear whether BMB improves KV-cache efficiency or what is stored in the cache during autoregressive decoding.
  • No evaluation under GQA (weSp): experiments use standard MHA, whereas Grouped-Query Attention dominates modern LLMs/VLMs; BMB's compatibility/effectiveness under GQA is unassessed.
  • Limited rank/hyperparameter ablation (weSp, Y74G): most runs fix r=s=32 or 64; since rank is the central design parameter, a systematic study over r/s with accuracy–parameter trade-offs is lacking.
  • Limited theoretical novelty (Y74G): the core idea is essentially a combination of low-rank decomposition and parameter sharing, without a breakthrough framework.
  • Insufficient direct validation of the shared-basis mechanism (Y74G): no results directly demonstrate that token ranking is preserved after the shared-basis approximation; high accuracy could stem from other training dynamics rather than the shared basis itself.
  • Missing efficiency metrics (Y74G): only accuracy/perplexity and parameter counts are compared; inference-efficiency metrics are largely absent.

The rebuttal has resolved most of the concerns from the reviewers, and all reviewers are positive (two accepts and one weak accept) on this submission except some partial resolved concerns from SHux. The AC is aligned with the reviewers and recommends accept. The authors should reflect the rebuttal in the final camera ready. In addition, the proceeding information of the reference, "Fast transformer decoding: One write-head is all you need", is wrong. Please fix it and double check all references in this submission.

Final justification

See meta-review.

Area Chair zmyT · Meta-reviewOpenReview ↗
Final justification
See meta-review.
Read meta-review
Meta-review

This paper proposes Basis-Mediated Bilinear Attention (BMB), a training-time reparameterization of the query–key (QK) pathway of multi-head attention. The core hypothesis is that per-head query/key projections across heads share a common low-dimensional geometry and are therefore substantially over-parameterized. Instead of each head learning independent WQW^Q and WKW^K, all heads in a layer share a single learned basis and each head retains a small head-specific bilinear interaction matrix, reducing per-layer QK parameters from 2d22d^2 to dr+2Hrsdr + 2Hrs. Experiments on ViT-B/16 (ImageNet-1K, 30 epochs) and GPT-2-small (C4 RealNewsLike) compare BMB against MHA, full/partial QK sharing, and a naive low-rank baseline, reporting up to 95.83% QK-parameter reduction while remaining competitive with the baseline on both benchmarks.

There are some strengths mentioned by the reviewers:

  • Well-motivated, clearly formulated method (weSp, SHux, Y74G): the hypothesis that the QK pathway performs token selection and admits a lower intrinsic dimensionality than the value pathway is intuitive and well connected to recent literature; the shared-basis + per-head bilinear kernel factorization and the BMB-UV derivation are clean and easy to follow, with a helpful dictionary-atom interpretation.
  • Strong parameter-efficiency results with a smooth trade-off (weSp, SHux, Y74G): under identical training budgets, BMB achieves substantial QK-parameter reductions while staying competitive with prior parameter-sharing/low-rank baselines on both vision and language, and the r/s knobs give a controllable accuracy–parameter trade-off.
  • Engineering compatibility and faster early convergence (weSp, Y74G): BMB-UV preserves compatibility with mainstream attention kernels (FlashAttention/SDPA) and shows faster early-stage convergence than MHA, which is attractive for compute-limited settings.
  • Informative ablations (SHux): the BB ablation (removing the per-head bilinear term) causes a ~3.8 pp accuracy drop on ImageNet, confirming that the head-specific bilinear term is load-bearing and the shared basis alone is insufficient.

However, the reviewers are concerned about:

  • Limited experimental scale (weSp, SHux, Y74G): evaluation is confined to ~100M-parameter models (ViT-B/16, GPT-2-small); it is untested whether the low-dimensional QK-geometry hypothesis and gains hold at modern LLM/VLM scale (1B+), where heads may specialize more.
  • Narrow evaluation and limited practical inference relevance (weSp, SHux): only two tasks are used, with no downstream benchmarks (zero-shot reasoning/recall); BMB reduces training-time QK parameters, but modern inference bottlenecks are dominated by KV-cache memory/bandwidth, and it is unclear whether BMB improves KV-cache efficiency or what is stored in the cache during autoregressive decoding.
  • No evaluation under GQA (weSp): experiments use standard MHA, whereas Grouped-Query Attention dominates modern LLMs/VLMs; BMB's compatibility/effectiveness under GQA is unassessed.
  • Limited rank/hyperparameter ablation (weSp, Y74G): most runs fix r=s=32 or 64; since rank is the central design parameter, a systematic study over r/s with accuracy–parameter trade-offs is lacking.
  • Limited theoretical novelty (Y74G): the core idea is essentially a combination of low-rank decomposition and parameter sharing, without a breakthrough framework.
  • Insufficient direct validation of the shared-basis mechanism (Y74G): no results directly demonstrate that token ranking is preserved after the shared-basis approximation; high accuracy could stem from other training dynamics rather than the shared basis itself.
  • Missing efficiency metrics (Y74G): only accuracy/perplexity and parameter counts are compared; inference-efficiency metrics are largely absent.

The rebuttal has resolved most of the concerns from the reviewers, and all reviewers are positive (two accepts and one weak accept) on this submission except some partial resolved concerns from SHux. The AC is aligned with the reviewers and recommends accept. The authors should reflect the rebuttal in the final camera ready. In addition, the proceeding information of the reference, "Fast transformer decoding: One write-head is all you need", is wrong. Please fix it and double check all references in this submission.

Reviewer Y74GOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper points out that existing Transformer architectures contain a large amount of redundant parameters, that the excessive number of queries and keys significantly increases computational overhead, and that they overlook the possible existence of a low-dimensional pathway structure. To address this issue, the authors designed BMB, which maps all tokens into a new shared low-dimensional space and learns a bilinear interaction matrix on this basis, thereby reducing the parameter count. Furthermore, with computational efficiency in mind, they proposed BMBUV, a variant obtained via lowrank factorization that is compatible with efficient attention kernels. Through comparative experiments, the BMB family of methods proposed in the paper significantly reduces the computational parameter count with minimal accuracy loss.

Strengths and weaknesses

Strengths: 1.Through numerous detailed figures, charts, and mathematical formulations, the paper excellently articulates its main innovations and the detailed algorithm flow, making the process clear and easy to follow. 2.BMB-UV achieves significant parameter compression while maintaining full compatibility with mainstream attention kernels. This method balances parameter compression with engineering compatibility. 3. BMB-UV demonstrates faster early-stage convergence compared to standard MHA and competing methods.Here is the English translation. This is particularly attractive for scenarios with limited computational budgets.

Weaknesses: 1.The completeness of experiments on models with different parameter sizes is limited. The experiments in the paper are all conducted on models with approximately 100M parameters and have not been extended to other scales. 2.The theoretical novelty of the paper is limited. The core idea is essentially a combination of low-rank decomposition and parameter sharing, lacking a breakthrough mathematical framework. 3.In the experimental section, only accuracy and parameter count are considered, but other metrics such as inference efficiency are not compared.

Questions

1.The model parameter sizes used in the comparative experiments are too homogeneous. It is recommended to include models of other parameter scales, as well as additional evaluation metrics such as inference efficiency, to validate the generalizability of the method. 2.For long-sequence generation tasks, the KV cache is often the bottleneck. Do the BMB family of methods improve KV cache efficiency? 3.The sensitivity analysis of the hyperparameters r and s is insufficient. It is recommended to supplement the experimental content with empirical data to justify the hyperparameter selection strategy. 4.In the experimental section of the paper, there are no figures or charts demonstrating that after replacing the standard query and key projections with a shared basis approximation, the actual token ranking remains unchanged. However, preserving the ranking is crucial for the feasibility of the shared basis. Although the subsequent experiments achieve high accuracy, this could also result from other dynamic training effects and does not directly prove the effectiveness of the shared basis. It is recommended to supplement with relevant content to address this issue.

Limitations

Yes

Final justification

The authors' responses are very thorough and comprehensive, addressing almost all major concerns. The new experimental data (multi-scale training, inference efficiency, hyperparameter ablation) significantly enhance the completeness and persuasiveness of the paper. My current recommendation is acceptance.Look forward to seeing the final revised manuscript. Congratulations on completing a solid and insightful work.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the careful and encouraging review. We sincerely appreciate your recognition of the paper's clarity, BMB-UV's parameter efficiency and kernel compatibility, and its faster early convergence. We agree that the submitted evidence was limited in scale, inference measurements, rank sensitivity, and direct ranking analysis. We address each point below.


1. Additional model scale and downstream evaluation

To partially address this concern, we added from-scratch Small and XL GQA+BMB-UV training on FineWeb-Edu under the public TPA protocol [C], each processing approximately 49.15B tokens.

Table 1. Added GQA+BMB-UV training and downstream results

Scale L / width / Q heads / KV heads r / s Params Val CE / PPL 0-shot 2-shot
Small 12 / 768 / 22 / 2 64 / 32 0.11B 2.691 / 14.75 44.79 46.31
XL 48 / 1,600 / 48 / 2 128 / 32 1.33B 2.473 / 11.86 54.42 56.34

The downstream columns average nine tasks, including ARC, HellaSwag, PIQA, WinoGrande, and MMLU. At XL, reported GQA [C] obtains 54.33/56.49 versus our 54.42/56.34, while ours uses 14.54% fewer total parameters and 92.00% fewer QK parameters/layer. This is protocol-matched external comparison, not a same-seed control; we therefore call the result competitive, not superior.

The runs match token budget but not optimizer trajectory. They trained stably and improved validation/downstream results at the tested 1.33B scale; this is not a universal scaling law.


2. Inference efficiency and KV cache

We apologize that the paper did not distinguish two cases clearly. In submitted MHA with s=dks=d_k, BMB-UV does not reduce KV size. MQA/GQA [2,3] reduce the number of KV heads HkvH_{kv}; added GQA+BMB-UV additionally reduces each key's width, s=32<dk=64s=32<d_k=64. These are orthogonal axes: decoding stores

Kcache∈RN×Hkv×T×s,Vcache∈RN×Hkv×T×dv.K_{cache}\in\mathbb{R}^{N\times H_{kv}\times T\times s},\qquad V_{cache}\in\mathbb{R}^{N\times H_{kv}\times T\times d_v}.

Thus cache width changes from Hkv(dk+dv)H_{kv}(d_k+d_v) to Hkv(s+dv)H_{kv}(s+d_v): 128 to 96 elements per KV head/token. This gives 25.00% less logical KV on top of GQA and 1.33×1.33\times equal-memory context.

We measured both methods on one RTX 6000D (BF16, batch 1) with the same 48-layer non-QK topology, inputs, static cache, and FlashAttention-4 [5].

Table 2. Controlled XL inference measurements on one RTX 6000D

Method QK/layer KV at 1M 16K prefill 16K decode 1M-cache decode Peak at 1M
Dense GQA 5.12M 22.89 GiB 16.30K tok/s 34.91 ms/tok 1,753.87 ms/tok 25.93 GiB
GQA+BMB-UV 0.41M 17.17 GiB 20.46K tok/s 35.62 ms/tok 1,334.64 ms/tok 19.79 GiB

At 16K, ours gives 25.52% higher prefill throughput, with an acceptable 2.03% decode overhead because serial xB→zUxB\rightarrow zU launches are not amortized. At a 1M cache, decode latency falls 23.90% and peak allocation 23.70%, close to the 25% narrower K+V scan. Because BMB-UV still materializes explicit Q/K, these gains preserve the standard FlashAttention contract rather than requiring a latent-cache kernel. This architecture-level control uses identically initialized models; trained quality is in Table 1. The 1M test uses a preallocated synthetic cache and excludes initialization, so it is long-cache decoding, not 1M prefill or production serving.


3. Sensitivity and interpretation of r and s

We agree that the sweep was limited. The paper reports (r,s)=(32,32)/(64,64)(r,s)=(32,32)/(64,64) and Figure 7's layerwise diagnostics, but not all intermediate pairs. New runs use (64,32)/(128,32)(64,32)/(128,32), confirming that r=sr=s is unnecessary and avoiding the misleading impression that equality is an architectural requirement.

The ranks have different roles: rr controls shared-basis capacity; ss controls head-specific rank and explicit Q/K width:

PQK=dr+(Hq+Hkv)rs,rank⁡(UhQ(UjK)⊤)≤s.P_{QK}=dr+(H_q+H_{kv})rs,\qquad \operatorname{rank}(U^Q_h(U^K_j)^\top)\leq s.

With GQA, ss also determines key-cache width. We choose ss from parameter/cache and kernel constraints, estimate rr from shared-QK spectra or a pilot, then validate a local grid. We lack evidence for a universal rule across architectures/data and will state this limitation explicitly.


4. Token ranking: preserving a dense solution versus learning a useful one

Thank you for raising this point; it deserves a careful distinction. The paper currently provides three relevant pieces of evidence. First, Section 3.2, Equations (3)-(7), constructs the optimal rank-rr shared left subspace of the stacked dense Q/K projections and quantifies its residual energy. Second, Propositions 1-2 in Appendix A give sufficient local-margin conditions under which score perturbation cannot change token ordering, while Appendix B connects projection residual to QK-kernel error. Third, Figure 7 shows that the learned basis and head-specific interactions use a non-degenerate rank budget, and the BB ablation shows that the head-specific bilinear component is load-bearing. However, you are correct that these analyses are not a direct same-checkpoint ranking-agreement chart. Our theory states when preservation follows; the submitted experiments do not measure how often that condition holds token by token. We will clarify this limitation.

The phrase "after replacing" may suggest post-training replacement, but Algorithm 1 trains BB, UQU^Q, and UKU^K jointly from initialization. Dense-MHA ranking is therefore not a ground-truth target: heads can permute and representations can co-adapt. The relevant feasibility question is whether optimization can learn useful ranking rules within the shared-basis constraint, not whether it reproduces a separately trained dense model.

We agree that final quality may partly arise from changed dynamics or compensation elsewhere. For post-hoc compression, accuracy alone would not prove dense-ranking reconstruction. For our training-time claim, however, such co-adaptation is intended and encouraging. The non-QK topology is unchanged and no compensating parameters are added; optimization reorganizes existing capacity around a much smaller QK pathway. Thus the removed QK degrees of freedom are not indispensable to tested end-to-end performance, even if rankings differ from dense MHA.

Practically, learning with s=32<dk=64s=32<d_k=64 retains competitive downstream quality while reducing K+V cache by 25% beyond GQA. The model may discover more task-relevant selection rules in a narrower space, increasing useful capability per QK degree of freedom. We view this "intelligence density" interpretation as a hypothesis, not a mechanism proven by accuracy.

To isolate the separate post-hoc approximation question, the appropriate diagnostic is to hold the dense checkpoint and inputs fixed, construct BrB_r from the top-rr left singular vectors of its stacked Q/K projections, and compare original versus projected logits using top-1 agreement, top-kk overlap, Kendall correlation, and the margin-certificate rate from Appendix A. We have not completed this checkpoint-level measurement and therefore do not claim that exact dense-ranking preservation has been empirically established. We sincerely appreciate the suggestion because it helps us state more precisely what our current evidence supports.


5. Novelty and significance

We agree that low rank and sharing are established tools. Our contribution is their specific QK coupling: a learned layer-local common left basis with separate head-specific UQ/UKU^Q/U^K interactions. This differs from post-training low-rank compression [6-8], complete/partial QK tying [10,11], and KV-head sharing [2,3]. The BB ablation shows the head-specific interaction is load-bearing; explicit Q/K preserves RoPE and SDPA/FlashAttention [5], and the added experiment demonstrates GQA compatibility.

More broadly, we believe this work is meaningful because it challenges a basic architectural assumption of modern attention: that every head must carry a fully independent dense QK projector. Our contribution offers a different training-time perspective, combining a learned layer-local shared latent basis with head-specific Q/K factors while retaining explicit attention computation. This opens a broader question about how much QK freedom is truly necessary for useful intelligence, and about whether structured parameterization can increase capability per learned degree of freedom. With further validation of quality and systems design, we believe this direction could potentially extend today's 1M-token memory regime toward 2M tokens or beyond. We sincerely appreciate the constructive questions and hope this perspective motivates wider discussion and future investigation.


References

  • [2] N. Shazeer. Fast Transformer Decoding: One Write-Head Is All You Need. ICML 2019.
  • [3] J. Ainslie et al. GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints. EMNLP 2023.
  • [5] T. Dao et al. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness. NeurIPS 2022.
  • [6] X. Wang et al. SVD-LLM: Truncation-Aware Singular Value Decomposition for Large Language Model Compression. ICLR 2025.
  • [7] P. H. Chen et al. DRONE: Data-Aware Low-Rank Compression for Large NLP Models. NeurIPS 2021.
  • [8] J. T. H. Wong et al. A3: An Analytical Low-Rank Approximation Framework for Attention. ICML 2025.
  • [10] N. Kitaev et al. Reformer: The Efficient Transformer. ICLR 2020.
  • [11] K. Yang et al. Partially Shared Query-Key for Lightweight Language Models. NeurIPS ENLSP Workshop 2024.
  • [C] Y. Zhang et al. Tensor Product Attention Is All You Need. NeurIPS 2025.
Reviewer Y74G · CommentOpenReview ↗

My current recommendation is acceptance

Thank the authors for their detailed responses and supplementary experiments. The workload and attention to the review comments are impressive. Below I provide feedback on each issue:

Model Scale and Downstream Evaluation (Original Q1): The supplementary Small and XL scale experiments (including GQA + BMB-UV combinations) are very compelling, especially the comparison with the external public protocol TPA, which enhances the credibility of the results. At the XL scale, total parameters are reduced by 14.54%, QK parameters by 92%, while downstream performance is on par with the baseline—this fully demonstrates the scalability of the method. This response satisfies me.

Inference Efficiency and KV Cache (Original Q2): The empirical data in Table 2 is crucial. You clearly distinguish between MHA and GQA scenarios and report metrics such as prefill throughput, decoding latency, and peak memory. Under a 1M long cache, GQA + BMB-UV achieves approximately 24% decoding acceleration and 23.7% memory reduction compared to pure GQA—these numbers are highly convincing. The only minor regret is a slight increase in decoding overhead (+2%) under short sequences of 16K, but you also explained the reason (serial small matrix multiplication not yet fused), which is acceptable at this implementation stage. I hope an optimized kernel version will be provided in the future.

Sensitivity of Hyperparameters r and s (Original Q3): The newly added configurations (64,32) and (128,32) fill the previous grid gaps and confirm that r does not need to equal s. Your distinction between the roles of r and s (r controls shared capacity, s controls head-specific rank and KV width) and the two-stage selection strategy are clear. Although a universal selection formula is still lacking, your candid acknowledgment of this as an open question is commendable. I suggest adding a practical guide section on r/s selection in the final version.

Direct Verification of Token Order Preservation (Original Q4): You honestly admit that the paper did not directly measure order consistency and distinguish between "post-hoc compression" and "end-to-end training"—this clarification is very important. For the training-time reparameterization approach, strict reproduction of dense model ordering is indeed unnecessary as long as final performance is good. However, the proposed future diagnostic methods (Kendall correlation coefficient, marginal certification rate) are valuable; if included in the final version, they would further strengthen the theoretical motivation. Overall, your response is reasonable, and I accept this explanation.

Regarding concerns about theoretical novelty: Although the core idea can be seen as a combination of low-rank decomposition and parameter sharing, the uniqueness of BMB lies in the coupling of layer-shared left bases and head-specific right factors, and BMB-UV retains explicit Q/K tensors, thus being compatible with FlashAttention and RoPE—this is practically significant. Combined with the newly added GQA compatibility experiments, I believe the engineering innovation is sufficient to support publication.

Overall Evaluation: The authors' responses are very thorough and comprehensive, addressing almost all major concerns. The new experimental data (multi-scale training, inference efficiency, hyperparameter ablation) significantly enhance the completeness and persuasiveness of the paper. My current recommendation is acceptance, with suggestions for the final version: Include the aforementioned practical guide for r/s selection; Consider adding a brief order consistency diagnostic experiment (even on a single checkpoint); Look forward to seeing the final revised manuscript. Congratulations on completing a solid and insightful work.

Authors · CommentOpenReview ↗

Hi,

Thank you very much for taking the time to read our response and reconsider the paper!

Your questions pushed us to run stronger experiments and clarify the scope of BMB; the paper is much better because of them. We will carefully incorporate your suggestions on practical 𝑟 / 𝑠 selection and order-consistency diagnostics into the revision. We sincerely appreciate your thoughtful engagement and recommendation.

Best regards,

On behalf of the authors

Reviewer SHuxOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes BMB, a method for reparameterization of the query-key pathway in multi-head attention. Instead of each head having its own WQW^Q and WKW^K, all heads in a layer share a single learned basis Bl∈Rd×rB_l ∈ R^{d×r} , and each head gets a small bilinear interaction matrix Ml,h∈Rr×rM_l,h ∈ R^{r×r}, so the per-head QK kernel becomes S=BMBTS = B M B^T, dropping per-layer QK parameter count drops from 2d² to dr + 2Hrs.

Their motivation comes from empirically observing that stacked QK projections across heads are spectrally concentrated with most of their Frobenius energy sits in a low-rank subspace. They test on ViT-B/16 (ImageNet-1K, 30 epochs) and GPT-2-small (C4 RealNewsLike), comparing against standard MHA, full/partial QK sharing, and a naive low-rank baseline. They also provide some theoretical propositions around ranking stability and softmax rank.

Strengths and weaknesses

Paper Strengths:

S1 Clean factorization and an intuitive design space: The shared-basis + per-head bilinear kernel is a clean intuitive decomposition. The r/s knobs give a smooth parameter-accuracy tradeoff. The dictionary-atom interpretation of s columns is a helpful way to think about what each head retains.

S2 Informative ablations: The BB ablation shows a ~3.8 pp accuracy drop on ImageNet, confirming that the per-head bilinear term is load-bearing and the shared basis alone is insufficient.

Weaknesses:

W1 Limited scaling: No scaling past ~100M parameters on either vision or text make the obtained results much less convincing. The claim that "QK geometry is low-dimensional" may not hold at larger scale, where attention heads tend to specialize more and this is not very difficult to test empirically. Recent work evaluates at 1B+ ([A],[B], [C]).

W2 Narrow evaluation: Only two relatively simple tasks are evaluated: ViT-B/16 on ImageNet-1K (30 epochs) and GPT-2-small on C4 with no downstream benchmarks (zero-shot reasoning, recall, etc.). Recent attention variant papers at comparable scale evaluate much more broadly: e.g. [A] uses 340M and 1.3B models on HellaSwag, PIQA, ARC, WinoGrande;

  • [A] Gated Linear Attention Transformers with Hardware-Efficient Training. Yang et al., ICML 2024.
  • [B] Multi-matrix Factorization Attention. Hu et al., ACL Findings 2025.
  • [C] Tensor Product Attention Is All You Need. Zhang et al., NeurIPS 2025
Questions

See weaknesses

Limitations

Yes, the paper discusses them in detail

Final justification

W1 and W2 were partly addressed by the rebuttal

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the thoughtful and constructive review. We appreciate both your recognition of the shared-basis/head-specific decomposition and your direct concerns about scale and downstream breadth. We agree that evidence only at approximately 100M parameters and on two experimental settings leaves an important question open: whether this QK reparameterization remains trainable and useful as model size and training compute increase. Your comments prompted the additional experiments reported below.


1. Clarifying the scope of our hypothesis

We would first like to clarify our wording, because the submission may not have made its intended scope sufficiently clear. We did not intend to assert that "QK geometry is low-dimensional" as a general fact about all trained LLMs. The exact wording in our Introduction is a qualified hypothesis: the QK pathway "may admit a shared low-dimensional geometry." Appendix A, Remark 1 further states that our results "do not prove that every trained transformer must admit such a compression at a fixed small rank," and Appendix C notes that the same rr is not guaranteed to suffice for arbitrarily wide or deep models. We apologize if this distinction was not clear enough in the main text.

We understand your central concern to be the following important question: under this shared QK constraint, can a model continue to optimize and learn useful, transferable representations as model size and compute increase? We agree that the submitted experiments did not settle this question. The computational-scaling perspective discussed in Sutton's The Bitter Lesson [D] is relevant here as motivation: the meaningful test is whether the method continues to benefit from additional computation. We use it only to frame the question, not as evidence for our method.


2. Relation to prior work

We also want to emphasize that we are not the first to question whether fully independent, dense QK projections are always necessary. As discussed in our Introduction, several peer-reviewed works provide related, although distinct, evidence:

  • SVD-LLM [6] (ICLR 2025) and DRONE [7] (NeurIPS 2021) show that trained Transformer projections can admit substantial post-training low-rank compression.
  • A3 [8] (ICML 2025) directly constructs a compact approximation of the fused per-head QK interaction.
  • Michel et al. [9] (NeurIPS 2019) demonstrate substantial redundancy among attention heads.
  • Reformer [10] (ICLR 2020) shows that useful attention behavior can remain possible when query and key vectors are shared in its LSH attention pathway.

These works study different settings and do not prove our hypothesis. We view them as converging motivation for asking whether QK independence can be relaxed during training. Our narrower contribution is a training-time reparameterization that learns a shared layer-local basis while retaining head-specific factors:

WQ,(h)=BUQ,(h),WK,(h)=BUK,(h).W^{Q,(h)}=BU^{Q,(h)},\qquad W^{K,(h)}=BU^{K,(h)}.

Thus, BMB-UV does not force different heads to use identical Q/K projections. The shared BB captures reusable layer-local structure, while UQ,(h)U^{Q,(h)} and UK,(h)U^{K,(h)} retain head-specific interactions. The BB ablation you highlighted supports the importance of this distinction: removing the head-specific bilinear component causes a substantial accuracy drop, so the shared basis alone is not sufficient.


3. Added evidence at larger scale

Within our available compute, we added from-scratch Small and XL GQA+BMB-UV training on FineWeb-Edu. Both runs follow the public TPA data protocol [C] and use approximately the same 49.15B-token budget. The added results are:

Table 1. From-scratch GQA+BMB-UV results at two model scales

Scale L / width / Q heads / KV heads r / s Params Tokens Val CE / PPL
Small 12 / 768 / 22 / 2 64 / 32 0.11B 49.15B 2.691 / 14.75
XL 48 / 1,600 / 48 / 2 128 / 32 1.33B 49.15B 2.473 / 11.86

Small used 4 A800 GPUs, global batch 480, and 100,000 steps; XL used 24 A800 GPUs, global batch 1,440, and 33,334 steps. The runs therefore match the approximate token budget, but not the exact optimizer trajectory. Both completed stably, and validation CE decreased from 2.691 to 2.473 from Small to XL. This is encouraging evidence at the tested 1.33B scale, but we do not interpret two model sizes as establishing a universal scaling law or as testing data scaling.


4. Added downstream evaluation

We evaluated both checkpoints on the public TPA nine-task suite: ARC-Easy, ARC-Challenge, BoolQ, HellaSwag, OpenBookQA, PIQA, WinoGrande, MMLU, and SciQ. Table 2 reports unweighted mean accuracy.

Table 2. Nine-task mean accuracy under the public TPA protocol

Scale Method Params 0-shot 2-shot
Small GQA [C] 0.12B 45.04 47.16
Small TPA [C] 0.12B 46.21 47.93
Small GQA+BMB-UV 0.11B 44.79 46.31
XL GQA [C] 1.55B 54.33 56.49
XL TPA [C] 1.55B 55.01 56.28
XL GQA+BMB-UV 1.33B 54.42 56.34

At XL scale, GQA+BMB-UV differs from the GQA result reported by [C] by +0.09/-0.15 points in 0/2-shot evaluation, while using 14.54% fewer total parameters and 92.00% fewer QK parameters per layer. From Small to XL, its mean scores increase by 9.63/10.03 points. Because the GQA/TPA rows are reported by [C] and ours use its public protocol, this is an external protocol-matched comparison rather than a same-seed controlled experiment. We therefore describe the XL result as competitive, not superior.


5. Significance and closing

Thank you again for raising this concern. It helped us separate more clearly what the paper proposes, what the existing literature motivates, and what our current experiments actually support. The added 1.33B result does not close the scaling question, but it provides initial evidence beyond the approximately 100M scale that GQA+BMB-UV can train stably and retain competitive downstream performance under substantial QK compression.

We believe the broader significance of this work is not a claim that every trained QK matrix has a universally fixed low rank. Rather, it challenges a basic design assumption of current attention: that every head must learn fully independent dense QK projectors. GQA+BMB-UV offers a different training-time parameterization, with a learned layer-local basis and head-specific UQ/UKU^Q/U^K, while preserving explicit Q/K computation and compatibility with existing attention infrastructure. At the tested XL scale, it retains competitive downstream quality while reducing total parameters by 14.54% and per-layer QK parameters by 92.00%.

More broadly, these results motivate further study of capability per learned degree of freedom, or "intelligence density," alongside raw parameter scaling. We hope this perspective encourages discussion of when structured compression can preserve useful computation rather than merely remove capacity. Testing larger models, larger data budgets, and additional modalities remains important future work. We sincerely appreciate your comments and welcome further discussion and validation by the community.


References

  • [6] X. Wang et al. SVD-LLM: Truncation-Aware Singular Value Decomposition for Large Language Model Compression. ICLR 2025.
  • [7] P. H. Chen et al. DRONE: Data-Aware Low-Rank Compression for Large NLP Models. NeurIPS 2021.
  • [8] J. T. H. Wong et al. A3: An Analytical Low-Rank Approximation Framework for Attention. ICML 2025.
  • [9] P. Michel et al. Are Sixteen Heads Really Better Than One? NeurIPS 2019.
  • [10] N. Kitaev et al. Reformer: The Efficient Transformer. ICLR 2020.
  • [C] Y. Zhang et al. Tensor Product Attention Is All You Need. NeurIPS 2025.
  • [D] R. S. Sutton. The Bitter Lesson. 2019.
Reviewer SHux · CommentOpenReview ↗

Reply to rebuttal

Thanks, these results substantially address my concerns about scaling and downstream evals (W1 & W2) so I choose to raise my score to accept (4) One remaining gap is the lack of direct token-ranking validation after shared-basis approximation (as noted by Reviewer Y74G and the AC), which the authors acknowledge is currently incomplete.

Authors · CommentOpenReview ↗

Hi,

Thank you for your timely comment and thank you for clarifying the remaining concern. Here I would like to explain in short and hopefully it could help.

First of all, we respectfully believe that the requirement that the ranking must remain unchanged assumes a post-hoc replacement setting that differs from our method.

BMB-UV does not replace the Q/K projections of a trained dense model. Algorithm 1 jointly learns BB, UQU^Q, and UKU^K from initialization. There is therefore no pre-existing dense ranking that serves as a ground-truth label. Token ranking is itself a dynamically learned selection rule: heads may permute, hidden states may co-adapt across layers, and different orderings can implement equally useful functions. The relevant feasibility question is whether the model can learn task-useful rankings within the shared-basis constraint, not whether it reproduces the complete ordering of a separately trained dense model.

We also agree that high accuracy may partly result from altered optimization dynamics or compensation elsewhere in the model. For a post-hoc compression claim, this would indeed prevent accuracy alone from proving ranking reconstruction. For a training-time reparameterization, however, such co-adaptation is intended and encouraging. The non-QK topology is unchanged and no compensating parameters are added; optimization reorganizes the existing capacity around a QK pathway with over 90% fewer parameters. If other layers help absorb the constraint while quality remains competitive, this still demonstrates that the removed QK degrees of freedom are not indispensable to the end-to-end function at the tested scales.

Several recent papers explicitly use low-dimensional selection structures:

  • A3 [8] (ICML 2025) directly compresses the fused QK interaction;
  • LRQK [15] (NeurIPS 2025) exploits low-rank QK structure for long-context inference;
  • Reformer [10] (ICLR 2020) relaxes QK independence;
  • Thin Keys, Full Values [12] gives the most direct selection-versus-content argument through the Johnson-Lindenstrauss perspective.

Therefore our point is that exact ranking identity with a separately trained dense model is not a necessary feasibility condition for a native, end-to-end learned parameterization. We sincerely hope this distinction addresses the concern.

Thank you!

Reviewer weSpOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Summary

This paper proposes Basis-Mediated Bilinear Attention (BMB), a new training-time reparameterization of the attention query-key (QK) pathway. Its practical implementation, BMB-UV, represents QK projections using a shared low-rank basis together with lightweight head-specific factors. The core hypothesis is that query and key projections across different heads share a common low-dimensional geometry and are therefore substantially over-parameterized, an intuition motivated by recent observations such as Thin Keys, Full Values. Experimental results on ViT-B/16 trained on ImageNet-1K and GPT-2 Small trained on C4 demonstrate promising parameter reductions while maintaining competitive accuracy and perplexity.

Strengths and weaknesses

Strengths

  1. Well-motivated hypothesis. The paper presents a clear and intuitive motivation that the QK pathway mainly performs token selection rather than content representation, suggesting that it may require a much lower intrinsic dimensionality than the value pathway. This hypothesis is well connected to recent literature.
  2. Clear formulation. The mathematical formulation of BMB and BMB-UV is precise and easy to follow. The derivation from a shared latent basis to explicit query/key projections is presented cleanly, and the implementation-friendly BMB-UV variant preserves compatibility with existing attention kernels such as FlashAttention.
  3. Strong parameter-efficiency results. Under identical training budgets, the proposed method achieves substantial reductions in QK parameters while remaining competitive with previous parameter-sharing and low-rank baselines on both vision and language benchmarks.

Weaknesses

  1. Limited experimental scale and practical relevance. The evaluation is restricted to relatively small-scale settings (ViT-B/16 and GPT-2 Small). It remains unclear whether the proposed parameterization continues to be effective for modern LLMs and VLMs (e.g., Llama, Qwen, or multimodal models). Moreover, current inference bottlenecks are increasingly dominated by KV-cache memory and bandwidth, whereas BMB primarily reduces training-time QK parameters. Consequently, the practical inference impact on today’s large models appears limited. In particular, it is unclear how BMB represents keys during autoregressive decoding. Does BMB-UV cache the projected latent keys or the reconstructed keys? From the implementation and discussion, it appears that the standard KV cache is still materialized in order to maintain FlashAttention compatibility, suggesting that KV-cache memory remains unchanged. Clarifying this design would strengthen the paper.
  2. Missing evaluation under GQA. The experiments only consider standard multi-head attention (MHA), whereas Grouped Query Attention (GQA) has become the dominant architecture in modern LLMs and VLMs. Since BMB modifies the QK pathway, evaluating its compatibility and effectiveness under GQA would substantially improve the paper’s practical relevance.
  3. Limited ablation on rank selection. Most experiments use fixed configurations (e.g., (r=s=32) or (64)). Since rank is the central design parameter of the proposed method, a more systematic study over different values of (r) and (s), together with accuracy-parameter trade-offs, would provide stronger empirical support and practical guidance.
Questions

Questions for the Authors

  1. For GPT-2 experiments, is the head dimension fixed at 64 with (r=s=64) (or 32 for the compressed variant)? Were intermediate rank choices evaluated?
  2. During autoregressive inference, what representation is actually stored in the KV cache? Is the shared cached key stored in the latent basis or reconstructed into the original head dimension?
  3. Can BMB be naturally combined with GQA? If so, have the authors evaluated such a combination?
  4. Have the authors evaluated larger-scale pretrained models (e.g., Llama or Qwen) to verify whether the shared latent geometry hypothesis continues to hold?
Limitations

yes

Final justification

Addressed my concerns with thorough experiments and discussions, hope the rebuttal will be included in the final version

Formatting concerns

No

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank you for the careful review and recognition of our hypothesis. We agree that scaling, GQA, and KV-cache practicality are important concerns, and apologize that the submission did not explain cache semantics and GQA integration clearly enough.

1. What is cached, and how GQA is combined with BMB-UV

Regarding your question, the submitted method uses explicit Q/K. We apologize if Appendix H, Table 7 suggested otherwise: it distinguishes our QK-parameter-efficiency objective from KV-cache-specific methods. Our primary contribution is QK-projector reparameterization through a learned layer-local shared latent basis.

Following Algorithm 1, BB is a learned layer weight, Z=XBZ=XB is intermediate, and Q/K are materialized explicitly. Under GQA, let HqH_q query heads share HkvH_{kv} KV heads, with γ(h)=⌊(h−1)/(Hq/Hkv)⌋+1\gamma(h)=\lfloor(h-1)/(H_q/H_{kv})\rfloor+1:

Z=XB,Qh=ZUhQ,Kj=ZUjK,Vj=XWjV,Oh=softmax(QhKγ(h)⊤s)Vγ(h).Z=XB,\quad Q_h=ZU_h^Q,\quad K_j=ZU_j^K,\quad V_j=XW_j^V,\quad O_h=\mathrm{softmax}\left(\frac{Q_hK_{\gamma(h)}^\top}{\sqrt{s}}\right)V_{\gamma(h)}.

BMB-UV reparameterizes Q/K projectors, whereas GQA/MQA share K/V heads; they are therefore architecturally composable. The bilinear product UhQ(Uγ(h)K)⊤U_h^Q(U_{\gamma(h)}^K)^\top is learned through direct training-time reparameterization, not post-hoc decomposition. Per-layer QK parameters decrease from d(Hq+Hkv)dkd(H_q+H_{kv})d_k to dr+(Hq+Hkv)rsdr+(H_q+H_{kv})rs.

During decoding, current-token Q is transient; for each KV head jj, the projected, position-encoded K and V are appended:

K(t,j)=RoPE⁡(x(t)BUK,(j);t),V(t,j)=x(t)WV,(j).K(t,j)=\operatorname{RoPE}(x(t)BU^{K,(j)};t),\qquad V(t,j)=x(t)W^{V,(j)}.
K∈RN×HKV×T×s,V∈RN×HKV×T×dV.\mathcal{K}\in\mathbb{R}^{N\times H^{KV}\times T\times s},\qquad \mathcal{V}\in\mathbb{R}^{N\times H^{KV}\times T\times d^{V}}.

The explicit interface preserves composition with GQA/MQA, RoPE, accelerated-attention interfaces, quantization, paging, and sliding windows. Cache width changes from Hkv(dk+dv)H_{kv}(d_k+d_v) to Hkv(s+dv)H_{kv}(s+d_v), saving 1−(s+dv)/(dk+dv)1-(s+d_v)/(d_k+d_v). It is unchanged when s=dks=d_k, but narrows when s<dks<d_k. Our XL setting (Hkv=2H_{kv}=2, dk=dv=64d_k=d_v=64, s=32s=32) reduces K by 50.00% and total K+V by 25.00% beyond GQA.

2. Regarding the "projected latent keys" interpretation

You ask, "Does BMB-UV cache the projected latent keys or the reconstructed keys?" The submitted method caches Algorithm 1's explicit K. If "projected latent keys" means caching zt=xtBz_t=x_tB once per token and moving the key factor to the current query, we did consider this alternative, although we are unsure whether this matches your intended meaning.

Before position-dependent transformations, it is mathematically equivalent. Let Z≤t=[z1;…;zt]Z_{\leq t}=[z_1;\ldots;z_t]:

q^t,h=ztUhQ(Uγ(h)K)⊤,K^≤t=Z≤t,q^t,hK^≤t⊤=qt,hK≤t,γ(h)⊤.\widehat q_{t,h}=z_tU_h^Q(U_{\gamma(h)}^K)^\top,\quad \widehat K_{\leq t}=Z_{\leq t},\quad \widehat q_{t,h}\widehat K_{\leq t}^\top=q_{t,h}K_{\leq t,\gamma(h)}^\top.

Associativity gives exact score equivalence, enabled by BMB-UV's common latent; GQA alone does not factor all key projectors through one shared low-dimensional representation. This mode stores r+Hkvdvr+H_{kv}d_v scalars/token/layer, versus Hkv(s+dv)H_{kv}(s+d_v) for explicit GQA+BMB-UV and Hkv(dk+dv)H_{kv}(d_k+d_v) for GQA. It improves on them when r<Hkvsr<H_{kv}s and r<Hkvdkr<H_{kv}d_k, respectively. Our XL satisfies neither condition, so does not use this mode. With Hkv=8H_{kv}=8 and dk=dv=r=128d_k=d_v=r=128, however, it analytically saves 43.75% total KV over GQA; this is illustrative, not measured serving performance.

Deploying it requires redesigned/validated RoPE, rr-dimensional scoring, and FlashAttention/paged-cache K/V layouts. Because it would not inherit BMB-UV's direct compatibility without substantial engineering, we omitted it as a separate future direction. If this is not your intended interpretation, we would sincerely welcome clarification.

3. Added approximately 1.5B-scale evidence

To address scaling within our compute budget, we pretrained GQA+BMB-UV from scratch at two scales, including 1.33B parameters (1.55B for its dense-GQA counterpart). Tables 1-3 report training, downstream quality, and systems evidence at the tested scale.

Table 1. From-scratch GQA+BMB-UV training (approximately 49.15B tokens)

Scale Params (B) Hardware Global batch Steps Tokens (B) Val CE PPL
Small (r=64, s=32) 0.11 4x A800 480 100,000 49.15 2.69 14.75
XL (r=128, s=32) 1.33 24x A800 1,440 33,334 49.15 2.47 11.86

Table 2. Nine-task mean accuracy under the public TPA protocol

Scale Method Params (B) 0-shot 2-shot
Small GQA (TPA paper) 0.12 45.04 47.16
Small TPA (TPA paper) 0.12 46.21 47.93
Small GQA+BMB-UV 0.11 44.79 46.31
XL GQA (TPA paper) 1.55 54.33 56.49
XL TPA (TPA paper) 1.55 55.01 56.28
XL GQA+BMB-UV 1.33 54.42 56.34

At XL, ours differs from reported GQA by +0.09/-0.15 (0/2-shot), i.e., competitive quality. GQA/TPA values are from TPA; ours follow its public protocol, so this is protocol-matched, not a same-seed control.

Table 3. Controlled full-model XL systems measurements on one RTX 6000D (BF16, batch 1)

Method QK/layer (M) Logical KV@1M (GiB) 16K prefill (K tok/s) 16K decode (ms/tok) 1M-cache decode (ms/tok) Peak alloc.@1M (GiB)
Dense GQA 5.12 22.89 16.30 34.91 1,753.87 25.93
GQA+BMB-UV 0.41 17.17 20.46 35.62 1,334.64 19.79

Controls share the 48-layer XL non-QK topology, inputs, BF16 stack, FlashAttention-4, and static-cache protocol; only method-defined QK parameterization/dimensions differ. Logical KV is exact shape-derived capacity; Peak is measured allocation including weights, KV, and temporaries. 16K prefill runs the full projection/cache-write path. The 1M test measures 128 full-model steps over a preallocated synthetic cache, excluding initialization; it is controlled long-cache decoding, not 1M prefill or production serving.

At 16K, ours improves prefill by 25.52% but incurs an acceptable 2.03% decode overhead: batch-1's serial xB→(zUQ,zUK)xB\rightarrow(zU^Q,zU^K) and extra launches are not yet amortized by cache savings. At 1M, narrowing K+V from 128 to 96 reduces logical KV by 25.00%, closely matching the 23.90% latency reduction; peak allocation falls 23.70% (including smaller weights and cache). This favors GQA+BMB-UV in long-context, KV-bandwidth-bound regimes while imposing modest short-context overhead. Table 3 is a systems control; trained quality is in Table 2.

4. Choice of r and s

Yes, GPT-2 uses dk=64d_k=64, primarily with (r,s)=(64,64)(r,s)=(64,64) and (32,32)(32,32). Beyond our reported rank analysis, we admit that we did not exhaustively sweep all intermediate pairs. Our new Small/XL runs use (64,32)(64,32) and (128,32)(128,32), confirming r=sr=s is unnecessary.The considerations we didn't do such a sweep is that we don't think such a sweep could answer a meaningful question of densify a local sensitivity curve, and we do not expect it to yield a robust, transferable rank-selection rule under limited scale, architect, and hyperparameters.

Local sweeps usefully characterize a fixed architecture, but our claim does not require one optimal rank: rr controls shared-basis capacity; ss controls head-specific rank and explicit Q/K width. Their choice depends on architecture, Hq/HkvH_q/H_{kv}, data/compute, positional encoding, kernels, and the parameter-quality-cache objective. A large GPT-2 sweep would densify a local Pareto curve, not establish a transferable rank law.

Practically, we choose ss from the QK/cache budget and supported kernel dimensions, estimate rr from shared-QK spectral concentration or a pilot, then validate a compact local grid. A predictive cross-model rule remains open; our central question is whether a shared layer-local QK basis retains quality under substantial compression.

5. Significance and closing

We sincerely thank you again. GQA+BMB-UV reparameterizes QK projectors with a learned layer-local latent and head-specific UQ/UKU^Q/U^K, while retaining explicit Q/K/V compatibility. In XL, s<dks<d_k reduces total KV by 25.00% and gives 1.33×1.33\times equal-memory context. These gains follow directly from (s+dv)/(dk+dv)=96/128(s+d_v)/(d_k+d_v)=96/128, independent of allocator/benchmark details. More aggressive latent-cache settings may extend 1M-token memory toward 2M or beyond, but quality and kernel efficiency there remain future direction rather than the original paper submitted.

We sincerely thank you again. GQA+BMB-UV reparameterizes QK projectors with a learned layer-local latent and head-specific UQ/UKU^Q/U^K, while retaining explicit Q/K/V compatibility. In XL, s<dks<d_k reduces total KV by 25.00% and gives 1.33×1.33\times equal-memory context. These gains follow directly from (s+dv)/(dk+dv)=96/128(s+d_v)/(d_k+d_v)=96/128, independent of allocator/benchmark details.

More broadly, we believe our work is meaningful because it challenges the apparent over-parameterization of current attention and invites a wider discussion of large sparse parameterizations versus intelligence density through compression. It also has practical potential: with suitable rank/head choices and dedicated systems design, latent caching could move a 1M-token KV-memory envelope toward 2M under the same cache budget, although quality and kernel efficiency at that scale remain future work. We hope this work motivates broader discussion and validation at larger scales, and we sincerely welcome further exchange.

Hope my response could help. Thank you!

Reviewer weSp · CommentOpenReview ↗

Thanks for the response.

For 2, yes, this is the question I intended to ask, thanks for the clarification and discussion for future work

For 3,

Q5. Table 1/2 do not have detailed training info for each setting. I'm not familiar with from scratch LLM training fairness, so it is appreciated that some reference is provided that total training tokens is enough for fair comparison. ( In my experience in training networks from scratch, changing the batch size/ learning rate/ optimizer can have some effect on the performance )

Q6. detailed GQA (r, s) setting is not provided for table 1 2 3

Q7. If QK parameter reduction is the main target, then the novelty is limited since Qk parameter is small consider the FFN/MLP takes the majority of parameters. (Also IIRC MLA from deepseek seems to reduce QK parameters drastically with low rank dimension). But it is good to see BMB to explore new variants of attention parameters.

Thanks again for reponding my questions and concerns with detailed explanations and experiments! ;)

Authors · CommentOpenReview ↗

Thank you for the concise and timely follow-up. I really appreciate this clear exchange, and will try to answer and clarify the remaining points as simply as possible.


Q5. Training details and fairness

We followed TPA's public data and optimization recipe [1](Section 6.1; Appendix H.1, Tables 9-10; Figures 3, 4, and 9; Tables 11-13 and 16.). The exact configurations are:

Table A. Detailed training configurations for the public TPA references and our added runs

Setting GPUs Micro/GPU Accum. Global batch Context Updates Tokens Peak/min LR Warmup
TPA Small reference [1] 4x A100 24 5 480 1,024 100,000 49.152B 6×10−4/3×10−56\times10^{-4}/3\times10^{-5} 2,000
Ours Small 4x A800 24 5 480 1,024 100,000 49.152B 6×10−4/3×10−56\times10^{-4}/3\times10^{-5} 2,000
TPA XL reference [1] 8x A100 6 10 480 1,024 100,000 49.152B 10−4/10−510^{-4}/10^{-5} 2,000
Ours XL 24x A800 6 10 1,440 1,024 33,334 49.153B 10−4/10−510^{-4}/10^{-5} 667

Small matches TPA's batch construction. XL matches its token budget and learning-rate range, but uses a 3x larger global batch and one third as many updates; it is therefore a token-budget-matched external comparison.

The budget is substantial: 49.15B tokens correspond to 31.7 tokens/parameter for GQA XL and 37.0 for ours, both above Chinchilla's approximately 20 tokens/parameter reference [2].


Q6. Exact GQA+BMB-UV settings

The complete settings used in Tables 1-3 are:

Table B. Architecture and GQA+BMB-UV rank settings used in the added experiments

Scale Layers dmodeld_{model} dffd_{ff} Hq/HkvH_q/H_{kv} GQA group rr ss (Q/K width) dvd_v Params
Small 12 768 2,048 22/2 11 64 32 64 110,592,000
XL 48 1,600 4,266 48/2 24 128 32 64 1,328,793,600

Both models use two KV heads. Here, rr is the shared latent width and ss is both the head-specific interaction rank and Q/K width; decoding caches a 32-dimensional K and a 64-dimensional V. We appologize if our omitted (r,s) detail made you uncomfortable since this setting keep same through our three table.


Q7. Scope of the contribution relative to GQA and MLA

Yes, we agree that most Transformer parameters lie in the MLP/SwiGLU and other linear modules. Thank you for your encouragement and recognition of this attention design.

Proposing a new attention mechanism is difficult, but we believe it is important to keep exploring and questioning the assumptions built into standard attention. We see two main contributions.

1. BMB adds a new compression axis that is compatible with GQA.

GQA reduces the number of K/V heads; BMB-UV also reduces key width.

In our XL setting, QK parameters fall from 5.12M to 0.41M per layer (92.00%), while the explicit KV cache is a further 25.00% smaller than GQA. This is a useful engineering principle: head-count compression and key-width compression can be combined.

MLA also demonstrates the importance of latent KV representations; our formulation reaches this direction directly from a shared QK training parameterization. As 1M-token context becomes common, this path can potentially move the same memory budget toward 2M tokens and beyond if our projected key cache are well deployed as we discussed.

2. BMB directly challenges QK over-parameterization during training. It is not post-hoc compression: the model learns token selection and ranking from scratch inside a compact shared QK space. After 49.15B training tokens, our 1.33B model matches the downstream quality of the reported 1.55B GQA model. This shows that fewer, more strongly shared parameters can form an effective attention mechanism.

More broadly, this result challenges scaling strategies centered on large parameter counts, sparse activation, and sparse connectivity. BMB points toward intelligence density: learning more capability per parameter. We hope it encourages the community to rethink how much parameter freedom Transformer attention actually needs.

References

[1] Zhang et al., Tensor Product Attention Is All You Need, NeurIPS 2025, Section 6.1; Appendix H.1, Tables 9-10; Figures 3, 4, and 9; Tables 11-13 and 16.

[2] Hoffmann et al., Training Compute-Optimal Large Language Models, NeurIPS 2022.

[3] Ainslie et al., GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints, EMNLP 2023.

[4] DeepSeek-AI et al., DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model, 2024.

[5] Shallue et al., Measuring the Effects of Data Parallelism on Neural Network Training, JMLR 2019.

Authors · CommentOpenReview ↗

For Q5, one of the reason that we used the larger batch is that we wanted our experiment converges faster in limited time as we are not sure how much time it would take to train from scratch a 1.5B model at first.

We do believe our work is meaningful at some sense. And we really appreciate your helpful and concise comments help us alot. You are a great reviewer and always give us concise yet meaningful comment in this AI era. If you have more concerns, please feel free to let us know.

Thanks alot!

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

Missing a submission?

Loading the discussion…