Constrained Factorization with Diagonal Scaling: Rank-Revealing Training and Pruning

Yikun Hou, Emrullah Akbas, Suvrit Sra, Alp YurtseverNeurIPS 2026

TL;DR

When training matrix factorizations or neural networks, gradient descent has a mysterious, natural tendency to prefer low-rank (simpler) solutions—provided you initialize everything just right. By explicitly separating structure (constrained inside a bounded norm ball) from scale (an explicit diagonal layer), this paper turns that fragile tendency into a rock-solid, truly low-rank guarantee. Applied to deep learning, this simple architectural tweak forces redundant neurons to naturally collapse to zero during training, enabling effortless pruning that slashes real-world latency and energy costs without sacrificing accuracy.

What Problem Does This Paper Address?

Imagine trying to fill in the missing entries of a massive matrix—say, reconstructing an image from incomplete sensor data. A classic trick (known as Burer–Monteiro factorization) is to rewrite the target matrix $X$ as the product of two smaller matrices, $U U^\top$. You can also think of a two-layer linear neural network in the exact same way ($U V^\top$).

Strangely, even if you make $U$ way wider than necessary—leaving the problem completely under-determined—gradient descent still exhibits an "implicit bias" toward low-rank solutions. However, this bias is finicky. Standard factorizations usually only find approximately low-rank matrices, leaving behind a stubborn tail of small, noisy components unless you carefully babysit the step sizes and start with tiny initializations. Furthermore, sometimes the weights diverge toward infinity even as the underlying directions align!

The authors ask: What if we decouple the directional structure from the magnitude? Can we stop weights from blowing up while forcing redundant components to die off completely—and use this to shrink modern neural networks while they train?

Methods

Instead of the standard $X = U U^\top$ for positive semidefinite (PSD) matrix recovery, the authors propose $X = U D U^\top$:

  • $U$ (Structure): Constrained inside a fixed Frobenius norm ball ($\|U\|_F \le \alpha$). All columns must share a strict "norm budget."
  • $D$ (Scale): A nonnegative diagonal matrix ($D_{ii} \ge 0$) that scales individual rank-one components, preserving full expressivity despite $U$ being bounded.

Optimization uses simple projected gradient descent: take a gradient step, rescale $U$ if it steps outside the ball, and clip negative entries of $D$ to zero.

To bring this to deep learning, they introduce UDV blocks: inserting a lightweight diagonal layer $D$ between two Frobenius-norm-constrained linear layers ($U$ and $V^\top$), Applied across MLP-Mixers and Vision Transformers (ViTs).

Figure 2: [Left] Construction of the UDV structure from the UV structure. [Right] The iterative pruning procedure of the SVD-based pruning.

Because UDV blocks naturally concentrate spectral energy into a few components during training, the authors introduce UDVPruning:

  1. Pre-train (first 45% of epochs): Let the low-rank structure naturally emerge.
  2. Iterative SVD Pruning (next 15%): Compute the SVD of $UD$, keep only the smallest rank $r$ needed to preserve $\tau = 99.9\%$ of the spectral energy, and physically slice out the remaining neurons block-by-block (followed by a global cleanup step).
  3. Recovery (final 40%): Fine-tune the newly slimmed network.

Datasets

No new benchmarks were introduced; the authors evaluated their methods across real-world inverse problems and standard vision datasets:

  • Fourier Ptychography: Real optical phase-retrieval measurements of a human blood cell sample ($185,600$ intensity measurements reconstructing a $160 \times 160$ complex-valued image).
  • Image Classification: CIFAR-10, CIFAR-100, and ImageNet-1K (evaluated across Tiny, Small, and Base scales of ViT and MLP-Mixer).

Key Insights and Ideas

  • It’s all about the journey, not the destination: Mathematically, the authors prove (Theorems 1 & 2) that adding the norm ball and diagonal scaling does not change the stationary points of the optimization problem. Every fixed point of $U D U^\top$ corresponds to a stationary point of $U U^\top$. The magic comes purely from optimization dynamics.
  • Survival of the fittest: When the norm constraint on $U$ becomes active, columns must compete for a fixed norm budget. Useful components take over the budget, actively starving unsupported components and driving them to numerical zero rather than letting them decay slowly.
Figure 1: Controlled matrix-completion experiment. The step-size and initialization sweeps compare UDU and the standard factorization in terms of optimization residuals and final singular value spectra; solid lines represent UDU and dashed lines represent the standard factorization. The six-panel grid shows the evolution of column norms for UDU (blue) and the standard factorization (red). Most columns collapse to numerical zero for UDU, leaving only a small set of active components.
  • Robustness to hyperparameters: Unlike standard factorizations that require tiny initializations to avoid noisy spectral tails, $U D U^\top$ recovers truly low-rank matrices across wide sweeps of step sizes and initializations—and solves phase retrieval from random initializations without bespoke spectral warm-starts.

Key Results

  • Clean Phase Retrieval: In the blood cell imaging task (an ideally rank-1 problem), standard $U U^\top$ produced a slowly decaying spectrum and a heavily corrupted image. $U D U^\top$ locked onto an exact rank-1 solution, yielding a crisp reconstruction.
Figure 3: [Left] Singular value spectra of the solutions obtained by the standard factorization and UDU after 104
  • Higher Accuracy—Even Unpruned: Simply swapping standard layers for UDV blocks often boosted baseline test accuracy. On CIFAR-10, ViT-Base jumped from 92.18% to 95.15%, and on CIFAR-100, ViT-Base leaped from 61.04% to 71.22%.
  • Real Efficiency Gains via UDVPruning: With $\tau = 0.999$, UDVPruning compressed parameters and FLOPs while staying competitive with—or beating—the unpruned backbones:
  • ImageNet (Top-5): ViT-Base improved from 90.81% (backbone) to 92.28% (UDVPruning); MLPMixer-Small went from 88.17% to 88.37%.
  • Beyond theoretical FLOPs, pruning during training yielded genuine wall-clock training and inference speedups alongside lower measured energy consumption compared to dense baselines and competing structured-pruning methods (LoRITa, Cuttlefish, DemP).

Limitations and Future Work

While the authors provide a clean mathematical intuition for a simplified toy model (a 1D diagonal least-squares problem), a rigorous theoretical proof explaining the implicit low-rank bias of full UDV neural networks—especially under stochastic, momentum-based optimizers—remains an open question. For future work, the authors aim to build this theoretical foundation and design specialized optimization algorithms that even more aggressively exploit UDV's natural regularization properties.

Summary updated

Abstract

Gradient descent for matrix factorization exhibits an implicit bias toward approximately low-rank solutions, even in regimes where the iterates may grow unbounded. We study this behavior through a constrained factorization with diagonal scaling, separating bounded outer factors from explicit diagonal scale parameters. For PSD matrix recovery, we use the model $X \approx UDU^\top$, where $U$ is constrained to a Frobenius norm ball and $D$ is a nonnegative diagonal factor. Although this reparameterization preserves the stationary points of the standard factorization, our numerical experiments show that its projected dynamics exhibit a stronger bias toward low-rank solutions, often recovering truly (rather than approximately) low-rank matrices across different step sizes and initializations. Building on this behavior, we extend the construction to neural networks by inserting diagonal layers between Frobenius-norm-constrained outer layers. The resulting UDV models exhibit strong rank-revealing structure during training, with many components becoming naturally prunable. We exploit this structure to develop a pruning procedure (UDVPruning) that identifies and removes redundant units during training. Across ViT and MLP-Mixer benchmarks, UDVPruning substantially reduces parameters and FLOPs while maintaining competitive test accuracy and often improving measured training time, inference latency, and energy consumption.
BibTeX
@inproceedings{hou2026constrained,
  author = {Yikun Hou and Emrullah Akbas and Suvrit Sra and Alp Yurtsever},
  title = {{Constrained Factorization with Diagonal Scaling: Rank-Revealing Training and Pruning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=S4MNR0ZcxB},
}

Loading related content...

Figure