Theoretical Analysis of Sparse Optimization with Reparameterization, Weight Decay, and Adaptive Learning Rate

Huangyu Xu, Jingqin Yang, Qianqian Xu, Jiaye Teng

Sparse optimization—the art of finding solutions with the fewest possible non-zero coefficients—is a cornerstone of modern machine learning. Whether the goal is pruning a massive neural network for edge deployment or recovering signals in medical imaging, sparsity is essential. However, practitioners face a classic catch-22: the most effective mathematical tool for the job, $\ell_p$ regularization ($0 < p < 1$), is notoriously unstable to optimize because its gradients explode as weights approach zero.

In this paper, researchers introduce ReWA (Reparameterization, Weight decay, and Adaptive learning rate), a novel optimization framework that provides the sparsity benefits of $\ell_p$ regularization while maintaining the stability of standard deep learning optimizers. ReWA achieves significantly higher sparsity than traditional $\ell_1$ methods on CIFAR-10 and ImageNet without sacrificing test accuracy.

The Problem: Instability in $\ell_p$ Regularization

In sparse training, researchers typically choose between two imperfect options:

  1. $\ell_1$ Regularization (LASSO): Convex and easy to optimize, but it introduces bias and often fails to produce truly sparse solutions in complex, non-linear landscapes.
  2. $\ell_p$ Regularization ($0 < p < 1$): Much closer to the "ideal" $\ell_0$ norm (which simply counts non-zeros), but it is non-convex and non-smooth. Specifically, the gradient goes to infinity as a weight approaches zero, causing optimization to "blow up" or oscillate wildly.

Previous attempts to fix this instability relied on gradient clipping or smooth approximations, which often resulted in poor approximations of the original problem. The authors sought a way to get the "sharp" sparsity of $\ell_p$ using the "smooth" tools of modern Stochastic Gradient Descent (SGD).

The Solution: The ReWA Framework

ReWA attacks the optimization problem through a three-pronged strategy:

  1. Reparameterization: Instead of optimizing a weight $x$ directly, the framework defines $x = y^K$ (where $y$ is an auxiliary variable and $K$ is an odd integer). This transformation smooths the optimization landscape near zero.
  2. Weight Decay: A standard $\ell_2$ penalty (weight decay) is applied to the auxiliary variable $y$. The authors prove that weight decay on $y$ is mathematically equivalent to $\ell_p$ regularization on $x$, where $p = 2/K$.
  3. Adaptive Learning Rate: Reparameterization creates a new problem: a "stagnation region" or saddle point at zero where the gradient vanishes, trapping weights that should be moving. ReWA introduces a coordinate-wise adaptive learning rate that scales the update to cancel out this vanishing effect, allowing weights to escape the zero-trap when necessary.

Key Insights

  • The "Zero-Trap" Paradox: While reparameterization solves the "exploding gradient" problem of $\ell_p$, it introduces a "vanishing gradient" problem at zero. Without the adaptive learning rate, a weight that accidentally hits zero stays there forever. The adaptive learning rate is the "secret sauce" that prevents this.
  • Pruning the Untrainable: In overparameterized models, some dimensions provide no "learning signal" (the gradient is zero). Explicit weight decay is essential here because it acts as a uniform force pulling these "useless" dimensions toward zero, ensuring a sparse final model.
  • Implicit Regularization Link: The paper provides a rigorous proof that the ReWA iteration implicitly optimizes a specific regularizer that behaves like $\ell_p$. This bridges the gap between heuristic pruning and formal optimization theory.

Experimental Results

The authors evaluated ReWA across three distinct scales, demonstrating its versatility and effectiveness:

  • Synthetic Dataset: On a 10,000-dimensional linear regression task designed to test exact signal recovery, ReWA outperformed both $\ell_1$ and LASSO, achieving near-perfect recovery of sparse signals.
  • CIFAR-10 (ResNet-18): ReWA maintained competitive test accuracy even at a compression ratio of $10^2$ (99% sparsity). In contrast, traditional methods on the same architecture typically show significant accuracy drops after a $10^2$ compression ratio.
  • ImageNet (ResNet-50): ReWA successfully scaled to large-scale, real-world benchmarks, maintaining accuracy at high compression ratios where standard $\ell_p$ methods would likely fail to converge.
  • Efficiency: The computational overhead of ReWA is negligible. It only adds simple element-wise operations that are heavily dominated by the standard forward and backward passes.

Limitations and Future Directions

While ReWA offers a robust solution for sparse optimization, it introduces new hyperparameters ($K, M, \epsilon$). The authors provide "rules of thumb" (e.g., starting with $K=9, M=2$), but automated selection of these values remains an open challenge. Additionally, the theoretical proofs rely on standard assumptions—like smoothness and low-dimensional update subspaces—that are difficult to verify for every layer of massive networks.

Currently, the empirical work focuses on ResNets. Extending ReWA to Large Language Models (LLMs) and Transformer architectures is a natural next step, and the authors have provided a preliminary "ReWA+AdamW" algorithm to pave the way for this future research.

Summary updated

BibTeX
@inproceedings{xu2026theoretical,
  author = {Huangyu Xu and Jingqin Yang and Qianqian Xu and Jiaye Teng},
  title = {{Theoretical Analysis of Sparse Optimization with Reparameterization, Weight Decay, and Adaptive Learning Rate}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=74PNBqBKPA},
}
Figure