Non-negative Least Squares via Overparametrization

Hung-Hsu Chou, Johannes Maly, Claudio Mayrink Verdun · OpenReview

Abstract

In many applications, solutions of numerical problems are required to be non-negative, e.g., when retrieving pixel intensity values or physical densities of a substance. In this context, non-negative least squares (NNLS) is a ubiquitous tool, e.g., when seeking sparse solutions of high-dimensional statistical problems. Despite vast efforts since the seminal work of Lawson and Hanson in the '70s, the non-negativity assumption is still an obstacle for the theoretical analysis and scalability of many off-the-shelf solvers. In the different context of deep neural networks, we recently started to see that the training of overparametrized models via gradient descent leads to surprising generalization properties and the retrieval of regularized solutions. In this paper, we prove that, by using an overparametrized formulation, NNLS solutions can reliably be approximated via vanilla gradient flow. We furthermore establish stability of the method against negative perturbations of the ground-truth. Our simulations confirm that this allows the use of vanilla gradient descent as a novel and scalable numerical solver for NNLS. From a conceptual point of view, our work proposes a novel approach to trading side-constraints in optimization problems against complexity of the optimization landscape, which does not build upon the concept of Lagrangian multipliers.

Introduction

Non-negative Least Squares (NNLS) is a fundamental optimization problem used in diverse fields such as medical imaging, bioinformatics, and document analysis. The objective is to minimize $\|Ax - b\|_2^2$ subject to the constraint $x \ge 0$. Traditional solvers generally fall into three categories: active-set methods, which are accurate but lack scalability; interior-point methods, which struggle in high dimensions; and Projected Gradient Descent (PGD), which is scalable but often slow and difficult to tune.

This paper investigates whether the "implicit bias" observed in overparametrized neural networks can be leveraged to solve these classical problems. By reparametrizing the variables, we can embed the non-negativity constraint directly into the objective function, allowing for the use of unconstrained optimization techniques.

Hadamard Reparametrization and Acceleration

The core methodology involves Hadamard Reparametrization. Instead of optimizing $x$ directly, we define $x = w^{\odot L}$ (where $\odot L$ denotes the entry-wise power to $L$). The resulting objective function is: $$\mathcal{L}(w) = \frac{1}{2L} \|Aw^{\odot L} - b\|_2^2$$

By optimizing $w$ using unconstrained Gradient Descent (GD), the resulting $x$ is guaranteed to be non-negative. Theoretical analysis shows that the gradient flow of this reparametrized loss converges to the NNLS solution at a rate of $O(1/t)$. To improve performance, the authors derived a novel second-order Ordinary Differential Equation (ODE) that accelerates convergence.

Accelerated convergence rates for the continuous ODE solution and discrete acceleration methods, demonstrating empirical decay rates matching or exceeding $O(k^{-3})$.

As shown in Figure 1, the accelerated methods significantly outperform vanilla gradient flow, achieving empirical decay rates of $O(k^{-3})$ and even $O(k^{-4})$ in certain settings.

Key Insights: Implicit Bias and Robustness

Beyond simple convergence, the overparametrized approach offers several unique advantages:

  • Implicit Sparsity: When initialized with weights $w$ near zero, the algorithm naturally converges to the sparsest non-negative solution. This makes the method a "tuning-free" alternative to LASSO for sparse recovery tasks.
  • Robustness to Negative Corruption: Traditional NNLS solvers strictly enforce $x \ge 0$, which can lead to artifacts if the ground truth contains small negative components due to noise. The "soft" dynamics of reparametrized GD handle these perturbations more gracefully, resulting in higher-quality reconstructions.
  • Geometric Trade-off: The method trades a simple objective with a difficult geometric constraint for a more complex, non-convex objective that is unconstrained. The implicit bias of the optimization dynamics guides the solver to the global optimum despite the non-convexity.

Experimental Evaluation

The method was benchmarked against synthetic Gaussian matrices and real-world datasets like MNIST and CIFAR-10. A large-scale test using a 100,000-dimensional subsampled FFT problem demonstrated that the proposed method remains computationally feasible in regimes where active-set methods fail.

Convergence of various gradient descent variants (GD, SGD) with different step-size rules (constant, Barzilai-Borwein) on both dense and sparse NNLS problems.

Figure 2 illustrates the convergence behavior across dense and sparse cases. In sparse settings, the algorithm exhibits a "greedy" behavior, recovering dominant signal components first. In image reconstruction tasks with negative noise, overparametrized methods produced visually clearer results with lower error rates compared to standard solvers like TNT-NN.

Conclusion

This work demonstrates that overparametrization provides a powerful framework for solving constrained optimization problems. By leveraging the implicit bias of gradient-based optimization, we can achieve scalable, robust, and sparse solutions for NNLS without explicit constraints. Future research will focus on extending these reparametrization techniques to other constraint types and formalizing the discrete-time acceleration theory.

Summary updated

BibTeX
@inproceedings{chou2025non,
  author = {Hung-Hsu Chou and Johannes Maly and Claudio Mayrink Verdun},
  title = {{Non-negative Least Squares via Overparametrization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=HC0O9aRv2n},
}
Figure