arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.11730

Spectral Weight Decay: Inducing Low-Rank Structure in Neural Network Weights

Dmitrii Andriianov, Andrey Veprikov, Aleksandr Beznosikov

Dmitrii Andriianov 1^{1}, Andrey Veprikov 1,2^{1,2}, Aleksandr Beznosikov 1,3^{1,3}

1^{1}Basic Research of Artificial Intelligence Laboratory (BRAIn Lab)

2^{2}SB AI Lab

3^{3}Innopolis University

Standard weight decay treats each weight matrix as a vector and ignores its spectral structure. We introduce spectral weight decay, a post-step decoupled nuclear-norm update that applies additive rather than multiplicative spectral shrinkage. We connect the update to approximate proximal descent and show that its sensitivity to update order can exceed that of conventional ℓ2\ell_2 weight decay near rank deficiency. Across LLaMA models with 124M to 500M parameters, spectral weight decay lowers effective rank and improves SVD-LLM compression at matched validation loss. At 500M and a 4% distortion budget, it reaches 1.89×1.89\times compression and 1.18×1.18\times GPU inference speedup, compared with 1.14×1.14\times and 1.01×1.01\times after standard weight decay. Under fixed-horizon training with 60% label noise, it also improves final mean clean-test accuracy over matched ℓ2\ell_2 regularization by up to 17.8 points on MNIST and 4.6 points across four BERT-base tasks. Code is available at https://github.com/brain-lab-research/SpectralWD.

1 Introduction

Optimization is central to deep learning because it governs training stability, efficiency, and the properties of the learned solution. AdamW has become the standard optimizer in modern training recipes [Loshchilov and Hutter, 2019]. At the same time, matrix-aware optimizers such as Shampoo, SOAP, and Muon have begun to exploit the geometry of neural-network weight matrices instead of treating each layer as a flat parameter vector [Gupta et al., 2018; Vyas et al., 2024; Jordan et al., 2024]. Although their update rules differ, all retain conventional weight decay as a core component.

Weight decay remains part of these training recipes because it improves generalization [Loshchilov and Hutter, 2019], preserves downstream plasticity [Han et al., 2026], and stabilizes training [D'Angelo et al., 2024]. AdamW decouples weight shrinkage from adaptive preconditioning, so coordinatewise scaling of the loss gradient does not also reshape the decay term. The regularizer itself remains matrix-agnostic: its squared Frobenius penalty depends on the sum of squared singular values without explicitly favoring the removal of small ones.

To make the regularizer matrix-aware, we begin with the proximal interpretation of decoupled weight decay. To first order, its update is a proximal gradient step for the squared Frobenius penalty [Parikh and Boyd, 2014; Zhuang et al., 2022]. We replace this penalty with the nuclear norm, a convex surrogate for rank whose proximal operator soft-thresholds singular values [Recht et al., 2010; Cai et al., 2010]. This construction is the matrix analogue of replacing ridge shrinkage with coefficient selection by the lasso [Hoerl and Kennard, 1970; Tibshirani, 1996]. Given the loss-only optimizer direction Δ\Delta, let Z=W(k)−ηΔ=UZΣZVZ⊤Z = W^{(k)} - \eta \Delta = U_Z \Sigma_Z V_Z^\top. Spectral weight decay applies the post-step correction

W(k+1)=Z−ηλUZVZ⊤,(1)W^{(k+1)}=Z-\eta\lambda U_{Z}V_{Z}^{\top}, \tag{1}

where η\eta is the learning rate and λ\lambda the regularization coefficient. This correction acts additively in the singular basis of Z, whereas conventional weight decay scales the spectrum uniformly.

SLORR-Nuc also approximates the nuclear-norm polar factor [González-Martínez and Liu, 2026]. Its decoupled extension would use the pre-step correction Z−ηλUWVW⊤Z - \eta \lambda U_W V_W^\top for W(k)=UWΣWVW⊤W^{(k)} = U_W \Sigma_W V_W^\top, rather than (1).

The additive shrinkage acts more strongly on smaller singular values and concentrates the spectrum. The resulting low-effective-rank weights admit efficient truncated SVD compression. Replacing a dense m×nm \times n matrix with rank-r factors reduces its parameter count and multiplication cost from mn to r(m+n)r(m+n). This factorization lowers storage and inference memory and can reduce latency when the retained rank is sufficiently small. Beyond compression, we test whether the same low-rank bias limits memorization under label noise.

We evaluate spectral weight decay in LLaMA [Touvron et al., 2023] pretraining, post-training compression, and fixed-horizon noisy-label classification. Across models with 124M to 500M parameters, it lowers effective rank [Roy and Vetterli, 2007] and improves compression and inference speed at matched validation loss. At 500M and a 4% distortion budget, it reaches 1.89×1.89\times compression and a 1.18×1.18\times GPU inference speedup. At 60% label noise, mean clean-test accuracy gains over matched ℓ2\ell_{2} regularization reach 17.78 points on MNIST and 4.59 points on four BERT-base tasks.

References (46)