GQA-$\mu$P: The Maximal Parameterization Update for Grouped Query Attention and Fully Sharded Data Parallel

Kyle R. Chickering, Huijuan Wang, Mengxi Wu, Alexander Moreno, Muhao Chen, Xuezhe Ma, Daria Soboleva, Joel Hestness, Zhengzhong Liu, Eric P. Xing · Submission to ICLR 2026 · Rejected

TL;DR

Maximal update parameterization ($\mu$P) enables zero-shot hyperparameter transfer across model scales, but it breaks down when applied to Grouped-Query Attention (GQA) due to the low rank of repeated key-value projections. This paper extends the spectral feature-learning framework by introducing an expectation operator norm to correctly capture low-rank matrix behavior, deriving the first proper $\mu$P scaling rules for GQA. The resulting parameterization stabilizes learning rate and weight decay transfer across varying head counts and model sizes.

What Problem Does This Paper Address?

Tuning hyperparameters (like learning rates and weight decay) directly on multi-billion parameter models is prohibitively expensive. The maximal update parameterization ($\mu$P) solves this by providing principled scaling rules so that the optimal learning rate found on a small proxy model transfers zero-shot to large models.

However, $\mu$P has historically struggled with non-standard building blocks. In modern LLMs, Grouped-Query Attention (GQA)—which shares key and value heads across query groups—is ubiquitous. When researchers try to apply vanilla Adam-$\mu$P to GQA:

  1. Standard "coordinate checks" (which monitor activation and pre-activation magnitudes) deceptively pass.
  2. Learning rate transfer nonetheless fails across different numbers of key-value (KV) head repetitions.

Standard $\mu$P relies on matrix spectral norms that measure worst-case vector deformation. In GQA, the repeated key-value weight matrices are rank-degenerate; because inputs are roughly independent and identically distributed (i.i.d.), the worst-case directions occur with zero probability, rendering conventional spectral analysis inaccurate.

Methods

The authors build on the spectral feature-learning framework of Yang et al. (2023a) with two primary mathematical innovations:

  • Expectation Operator Norm: Rather than taking the supremum over all unit vectors (the traditional spectral norm), the authors define an expectation operator norm: $$\|A\|_{\mathbb{E},\Omega,p} := \mathbb{E}_{x \sim \Omega}\left[ \frac{\|Ax\|_p}{\|x\|_p} \right]$$ For standard full-rank matrices, this matches the asymptotic behavior of the standard spectral norm. But for the rank-degenerate concatenated projection matrices in GQA, it accurately captures the actual vector deformation occurring during training.

  • GQA Parameterization Rules: For $r$ repetitions of key-value heads in dimension $n$, the key and value projections are scaled as:

  • Learning Rate: $\eta \propto \frac{1 + \sqrt{r}}{2n}$
  • Weight Decay: $\lambda \propto \frac{2n}{1 + \sqrt{r}}$ When $r = 1$ (standard multi-head attention), these rules smoothly revert to standard $\mu$P hidden-layer scalings.

  • Spectral Rederivation of Depth and Weight Decay: The authors show that requiring operator-norm conditions directly on computational units recovers the Complete-P depth scaling ($\beta = \Theta(L^{-1})$) and coupled weight decay scalings without needing to appeal to lazy-learning arguments.

Datasets

  • The main paper cites the OpenWebText Corpus (Gokaslan & Cohen, 2019) for training evaluation, with models trained to 10 tokens per parameter (TPP).
  • Specific dataset splits and full training configurations are detailed in Appendix B.1 (referenced in the text). No new benchmarks were introduced.

Key Insights and Ideas

  • Activations can lie; weights do not: A layer can satisfy standard pre-activation feature-learning conditions ($\|h\|_2 = \Theta(\sqrt{n})$) even if updates to weights are improperly scaled. The paper argues that spectral/operator norm conditions on weights are a strictly stronger and more reliable definition of feature learning.
  • The GQA Variance Dilemma: As the number of KV heads decreases (higher repetition $r$), the internal dynamics become inherently noisier. Enforcing correct feature learning preserves learning rate transfer across repetition values, but at the cost of higher variance during training.
  • Joint Transfer of Learning Rate and Weight Decay: Consistent with recent theoretical work on the training-time constant $\tau_{\text{epoch}} = (\lambda_0 \eta_0 \cdot \text{iters})^{-1}$, properly scaled weight decay transfers alongside learning rate across non-embedding parameter counts ranging from 26M to 177M.

Key Results

  • Spectral Coordinate Checks: Under vanilla Adam-$\mu$P, weight updates $\|\Delta W\|$ show a clear, unwanted dependence on the number of KV heads. Under the proposed GQA-$\mu$P, coordinate checks remain flat across different head configurations (1, 2, 3, 4, 6, and 12 KV heads).
  • Narrower Optimal Learning Rates: In sweeps over the number of KV heads, standard parameterization and vanilla $\mu$P suffer from drifting optimal learning rates. GQA-$\mu$P tightly clusters the optimal learning rates into a significantly narrower band.
  • Weight Decay Transfer: In 2D grid searches over learning rate and coupled weight decay, GQA-$\mu$P achieves a lower variance in both optimal learning rate and optimal weight decay across model widths (from $n_{\text{embed}} = 384$ to $1024$) compared to the vanilla $\mu$P baseline.

Limitations and Future Work

  • GQA Inherent Noise: Because decreasing the number of KV heads intrinsically increases variance, zero-shot transfer across different repetition factors $r$ remains noisier than standard width transfer. The authors caution that if highly predictable hyperparameter transfer is paramount, practitioners might prefer standard multi-head attention over aggressive GQA.
  • Experimental Scale: Experiments reported in the main body validate non-embedding parameter sizes up to 177M; verifying transfer stability on 10B+ scale production architectures remains an important direction for future validation.

Summary updated

BibTeX
@misc{chickering2026gqa,
  author = {Kyle R. Chickering and Huijuan Wang and Mengxi Wu and Alexander Moreno and Muhao Chen and Xuezhe Ma and Daria Soboleva and Joel Hestness and Zhengzhong Liu and Eric P. Xing},
  title = {{GQA-$\textbackslash\{\}mu$P: The Maximal Parameterization Update for Grouped Query Attention and Fully Sharded Data Parallel}},
  year = {2026},
  eprint = {2605.15290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.15290},
}
Figure