Get rid of your constraints and reparametrize: A study in NNLS and implicit bias

Hung-Hsu Chou, Johannes Maly, Claudio Mayrink Verdun, Bernardo Freitas Paulo da Costa, Heudson Mirandola

Introduction

Non-Negative Least Squares (NNLS)—finding $x \ge 0$ that minimizes $\|Ax - b\|_2^2$—is a fundamental problem in signal processing, imaging, and machine learning. Traditional solvers often face a "pick your poison" scenario: accurate but non-scalable second-order methods like active-set algorithms, or scalable but slow first-order methods like Projected Gradient Descent (PGD). This paper explores a third path: removing the constraints entirely through reparametrization and leveraging the implicit bias of overparametrized models.

Hadamard Reparametrization

The core methodology involves a Hadamard reparametrization. Instead of optimizing $x$ directly under the constraint $x \ge 0$, the authors define $x$ as an element-wise power of a new unconstrained variable $z$ (specifically $x = z^{\odot L}$ for $L \ge 2$). By running gradient descent on this non-convex objective, the optimization dynamics naturally stay within the non-negative orthant. This approach can be interpreted through Riemannian geometry, where the reparametrization distorts the space to enforce positivity without explicit projections.

Key Insights: Implicit Bias and Initialization

A central finding is the role of implicit $\ell_1$-bias. When initialized near zero, the algorithm doesn't just converge to any non-negative solution; it naturally gravitates toward sparse solutions that minimize the $\ell_1$-norm. This makes the initialization scale ($\alpha$) a critical hyperparameter that acts as a tuning knob for sparsity, effectively providing a "tuning-free" alternative to LASSO.

Implicit bias and coordinate convergence. (a) shows how smaller initialization leads to solutions with lower $\ell^1$-norm, approaching the $\ell_1$-min solution. (b) illustrates the convergence behavior across different layers.

Acceleration and Convergence

To improve efficiency, the authors derive a novel accelerated flow inspired by Nesterov’s acceleration and second-order ODEs. This Riemannian acceleration improves the theoretical convergence rate from $O(1/t)$ to $O(1/t^2)$.

Empirically, the method often performs even better than these theoretical bounds. In numerical experiments, the accelerated Riemannian method (ACC) reached $O(1/k^3)$ or even $O(1/k^4)$ decay in some instances, significantly outperforming standard gradient flow.

Convergence rates of the ODE solution and acceleration methods. The plots demonstrate empirical decay rates exceeding the theoretical $O(k^{-2})$ for certain configurations.

Performance and Scalability

The proposed method was evaluated on synthetic Gaussian matrices, MNIST, and CIFAR-10. Key results include:

  • Superior Support Identification: Overparametrized gradient descent (GD-nL) identifies the non-zero indices of sparse signals more accurately than PGD.
  • Robustness: The "soft" nature of the constraints makes the method more forgiving than active-set solvers when the ground truth contains small negative perturbations.
  • Efficiency: By relying on matrix-vector multiplications rather than matrix inversions, the framework scales gracefully to high-dimensional problems.

Conclusion

This work demonstrates that functional complexity can effectively replace geometric constraints. While theoretical questions remain regarding the full discretization of the accelerated ODE and the stability of constant step-sizes, the reparametrization framework offers a scalable, stable, and naturally sparse approach to constrained optimization. Future research may extend these principles to box constraints or semidefinite programming.

Summary updated

BibTeX
@inproceedings{chou2025get,
  author = {Hung-Hsu Chou and Johannes Maly and Claudio Mayrink Verdun and Bernardo Freitas Paulo da Costa and Heudson Mirandola},
  title = {{Get rid of your constraints and reparametrize: A study in NNLS and implicit bias}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=HC0O9aRv2n},
}
Figure