Matrix-wise $\ell_0$-constrained Sparse Nonnegative Least Squares

Nicolas Nadisic, Jérémy E. Cohen, Arnaud Vandaele, Nicolas Gillis · DOI

TL;DR

This paper introduces a novel approach to sparse Nonnegative Least Squares (NNLS) by shifting from rigid, column-by-column sparsity constraints to a flexible, matrix-wise global budget. Their proposed two-step algorithm, "Salmon," uses Pareto fronts to find the optimal trade-off between reconstruction accuracy and total sparsity, outperforming traditional heuristics in both facial recognition and hyperspectral imaging tasks.

What Problem Does This Paper Address?

In many fields—like identifying minerals in satellite imagery (hyperspectral unmixing) or extracting features from facial photos—researchers use Nonnegative Least Squares (NNLS). The goal is to represent data as a combination of "building blocks" (like spectral signatures or facial parts) using only positive weights.

To make these models interpretable and reduce noise, we often want "sparse" solutions, meaning each data point should be explained by only a few building blocks. Traditionally, researchers enforced this column-wise: "Every pixel must be composed of exactly $k$ materials."

However, real-world data is rarely that uniform. Some pixels are complex mixtures, while others are pure. Forcing a fixed sparsity level on every column is either too restrictive or too loose. This paper tackles the matrix-wise $q$-sparse MNNLS problem, where you have a total budget of $q$ non-zero entries to distribute across the entire dataset, allowing the model to spend its "sparsity budget" where it’s needed most.

Methods

The authors propose a two-step framework called Salmon (Sparsity Applied $\ell_0$-constraints Matrix-wise On NNLS):

  1. Pareto Front Generation: For every single column in the data, the algorithm generates a "menu" of solutions (a Pareto front). Each entry on this menu represents a different trade-off: "If you give me 1 non-zero entry, here is the minimum error; if you give me 2, here is the error," and so on up to $r$ entries. They test three ways to generate these menus:
  2. Arborescent: An exact branch-and-bound method (slow but perfect).
  3. NNOMP: A fast, greedy heuristic.
  4. Homotopy: A method that follows the "regularization path" of the problem.
  5. Greedy Selection: Once all columns have their menus, Salmon uses a greedy selection strategy to pick exactly one solution per column such that the total number of non-zeros equals the budget $q$, while minimizing the total reconstruction error.

Crucially, the authors provide a mathematical proof that this greedy selection step is near-optimal, meaning it finds a solution very close to the theoretical best possible combination.

Datasets

The researchers evaluated Salmon on two types of real-world data:

  • Facial Images: The CBCL, Frey, and Kuls datasets. Here, the goal is to decompose faces into sparse facial features (eyes, noses, etc.).
  • Hyperspectral Images: Jasper, Samson, Urban, and Cuprite. These are satellite/aerial images where each pixel contains a spectrum that must be decomposed into pure material signatures.
  • Synthetic Data: They also generated artificial well-conditioned and ill-conditioned datasets to test the algorithm's limits under controlled noise levels.

Key Insights and Ideas

  • Flexibility is Key: The "aha moment" is realizing that global sparsity is more natural than local sparsity. By allowing the model to be "dense" on complex data points and "sparse" on simple ones, the overall reconstruction error drops significantly for the same total number of non-zero parameters.
  • Decoupling the Problem: By splitting the problem into "generate options" and "select options," the authors made a massive combinatorial problem computationally tractable.
  • The Power of Exactness: While greedy heuristics (like OMP) are popular because they are fast, the paper shows that using an exact method (Arborescent) in Step 1 leads to much better results, especially when the data is "ill-conditioned" (meaning the building blocks look very similar to each other).

Key Results

  • Superior Accuracy: In almost every test, Salmon (H+S, OG+S, or ARBO+S) achieved lower reconstruction errors than state-of-the-art column-wise methods for the same average sparsity.
  • Optimal Selection: In their experiments, the greedy selection step (Step 2) reached the guaranteed global optimum in 19 out of 22 test cases.
  • Visual Coherence: Qualitatively, the abundance maps (visualizations of the results) produced by Salmon showed much better spatial coherence and less noise compared to standard $\ell_1$ (Lasso) or column-wise greedy methods.
  • Efficiency: While more complex than a simple heuristic, Salmon is significantly faster than trying to solve the entire matrix problem globally via vectorization, which often crashes due to memory limits.

Limitations and Future Work

  • Scalability of Step 1: The exact "Arborescent" method is computationally expensive. While it works great for problems with a few dozen building blocks ($r$), it becomes too slow as $r$ grows into the hundreds.
  • Symmetry: This paper focuses on making the coefficient matrix ($X$) sparse. In Nonnegative Matrix Factorization (NMF), you often want both the dictionary ($A$) and the coefficients ($X$) to be sparse. The authors note that Salmon could be applied symmetrically in an alternating fashion, but they haven't explored the convergence of such an approach yet.
  • Algorithm Selection: The "best" version of Salmon depends on the data. The authors suggest Arborescent for small, difficult problems and Homotopy for very large datasets where speed is the priority.

Summary updated

BibTeX
@article{nadisic2022matrix,
  author = {Nicolas Nadisic and Jérémy E. Cohen and Arnaud Vandaele and Nicolas Gillis},
  title = {{Matrix-wise $\textbackslash\{\}ell\_0$-constrained Sparse Nonnegative Least Squares}},
  journal = {Machine Learning},
  year = {2022},
  doi = {10.1007/s10994-022-06260-2},
}
Figure