Matrix-wise ℓ 0-constrained sparse nonnegative least squares

Nicolas Nadisic, Jeremy E. Cohen, Arnaud Vandaele, Nicolas Gillis · DOI

TL;DR

This paper introduces a novel "matrix-wise" approach to sparse Nonnegative Least Squares (NNLS) problems, which are fundamental in areas like Nonnegative Matrix Factorization (NMF). Their proposed two-step algorithm, "Salmon," effectively tackles large-scale problems by decomposing them into smaller subproblems and then intelligently combining the results, leading to more accurate and interpretable solutions than existing methods.

What Problem Does This Paper Address?

Many real-world problems, such as analyzing facial images or unmixing hyperspectral data, can be modeled using Nonnegative Least Squares (NNLS). These problems involve finding a set of nonnegative coefficients (weights) that best reconstruct a target signal using a dictionary of components. A key desirable property is sparsity, meaning that only a few components are needed for reconstruction. This improves interpretability and reduces noise.

While standard NNLS problems often result in naturally sparse solutions due to the nonnegativity constraint, explicitly enforcing stronger sparsity is often beneficial. Previous methods typically enforced sparsity on a column-by-column basis (e.g., each pixel in a hyperspectral image should be composed of at most k materials). However, this can be restrictive, as different columns (pixels) might naturally require different numbers of components. This paper addresses this limitation by proposing a matrix-wise sparsity constraint, allowing for a more flexible and global control over the overall sparsity of the solution matrix.

Methods

The core contribution is a two-step algorithm called Salmon for solving the matrix-wise $l_0$-constrained MNNLS problem.

  1. Pareto Front Generation (Step 1): For each column of the data matrix $B$ (representing individual signals or pixels), the algorithm generates a Pareto front. A Pareto front is a set of solutions that represent different trade-offs between reconstruction error and sparsity. The paper leverages three existing algorithms for this:
  2. Arborescent: An exact branch-and-bound algorithm for $k$-sparse NNLS. It's accurate but can be slow for large problems.
  3. NNOMP (Nonnegative Orthogonal Matching Pursuit): A greedy algorithm that provides an approximate Pareto front. It's faster but not guaranteed to be exact.
  4. Homotopy Algorithm: An algorithm that traces the regularization path for $l_1$-NNLS, which can be seen as an approximation of the Pareto front for $l_0$-NNLS. It's also relatively fast.
  5. Selection Strategy (Step 2): After generating Pareto fronts for all columns, a combinatorial problem arises: selecting one solution (one sparsity level) from each column's Pareto front to form the final sparse matrix $X$, such that the total sparsity across the matrix does not exceed a global target $q$. The authors propose a greedy selection algorithm for this step, which they prove to be near-optimal. This step intelligently chooses the best combination of column-wise sparsity levels to minimize the overall reconstruction error while respecting the global sparsity constraint.

Datasets

The paper evaluates their method on several standard datasets:

  • Facial Datasets:
    • CBCL
    • Frey
    • Kuls
  • Hyperspectral Image Datasets:
    • Jasper
    • Samson
    • Urban
    • Cuprite

These are well-established benchmarks in the field. No new datasets were introduced.

Key Insights and Ideas

  • Matrix-wise Sparsity is More Flexible: Enforcing sparsity globally across the entire solution matrix, rather than independently on each column, allows for more natural and accurate modeling, especially when the number of components varies per signal.
  • Decomposition is Key: Breaking down a large matrix-wise problem into smaller, independent column-wise subproblems is an effective strategy. This is particularly useful when dealing with high-dimensional data.
  • Pareto Fronts as a Bridge: The concept of Pareto fronts is crucial. They capture the inherent trade-off between reconstruction error and sparsity, allowing for a principled way to explore solutions before making a final selection.
  • Near-Optimal Greedy Selection: The proposed greedy algorithm for selecting the best combination of column-wise solutions is surprisingly effective and computationally efficient, providing near-optimal results for the matrix-wise problem.
  • Arborescent's Strength in Ill-Conditioned Data: While Arborescent is computationally expensive, it excels in generating exact Pareto fronts, especially for ill-conditioned datasets, leading to superior recovery of the underlying solution in such scenarios.

Key Results

  • Improved Accuracy: The proposed "Salmon" algorithm, particularly when using Arborescent for Pareto front generation (ARBO+S), consistently achieved better reconstruction accuracy than state-of-the-art column-wise sparse coding heuristics on both facial and hyperspectral image datasets.
  • Competitive Performance: Even when using faster heuristic methods (NNOMP or Homotopy) for Pareto front generation (OG+S and H+S), Salmon still outperformed column-wise methods in terms of reconstruction error.
  • Computational Efficiency: While Arborescent in step 1 can be slow, the overall Salmon algorithm remains practical. The greedy selection step is very fast, and the computational cost is largely dominated by the Pareto front generation. For hyperspectral images, Salmon's running time showed only a slight increase with the sparsity parameter $q$.
  • Robustness to Noise: On synthetic datasets, ARBO+S demonstrated a remarkable ability to recover the underlying sparse solution, especially in the presence of noise, outperforming other methods, particularly on ill-conditioned data.

Limitations and Future Work

  • Computational Cost of Exact Pareto Fronts: While Arborescent provides exact Pareto fronts, its computational cost can be prohibitive for very large problems.
  • Heuristic Approximations: The NNOMP and Homotopy algorithms provide approximate Pareto fronts, which can lead to near-optimal but not necessarily globally optimal solutions for the matrix-wise problem.
  • Adaptability of Other Algorithms: The paper mentions that other sparse NNLS algorithms could potentially be adapted for Pareto front generation, suggesting future work in exploring these options.
  • Theoretical Guarantees for Heuristics: While the paper provides theoretical guarantees for the selection step, further theoretical analysis of the Pareto front generation step when using heuristics like NNOMP or Homotopy could be beneficial.

Summary updated

BibTeX
@article{nadisic2022matrix,
  author = {Nicolas Nadisic and Jeremy E. Cohen and Arnaud Vandaele and Nicolas Gillis},
  title = {{Matrix-wise ℓ 0-constrained sparse nonnegative least squares}},
  journal = {Machine Learning},
  year = {2022},
  doi = {10.1007/s10994-022-06260-2},
}

Loading related content...

Figure