Solving NMF with smoothness and sparsity constraints using PALM

Raimon Fabregat, Nelly Pustelnik, Paulo Gonçalves, Pierre BorgnatarXiv 2019

Abstract

Non-negative Matrix Factorization (NMF) is a fundamental technique for dimensionality reduction, yet standard formulations often lack physical realism and suffer from rotational indeterminacy. This paper introduces a robust framework that simultaneously enforces sparsity and smoothness constraints using the Proximal Alternating Linearized Minimization (PALM) algorithm. By incorporating $L_1$ regularization for sparsity and Tikhonov regularization for smoothness, the proposed method generates more interpretable and stable data decompositions. Evaluation on face images and synthetic datasets demonstrates that these constraints guide the algorithm toward physically meaningful solutions with reduced variability.

Introduction

Non-negative Matrix Factorization (NMF) decomposes complex data into basis patterns ($W$) and activation weights ($H$). Despite its popularity, NMF faces challenges regarding the uniqueness of solutions and the lack of inherent constraints to match real-world data properties, such as parts-based structures (sparsity) or temporal continuity (smoothness). Previous attempts to add these constraints often resulted in complex, non-generalizable optimization schemes. This work addresses these issues by applying the PALM framework to provide a mathematically rigorous and extensible approach to constrained NMF.

Methodology

The authors utilize Proximal Alternating Linearized Minimization (PALM), which is well-suited for non-convex and non-smooth optimization problems.

Sparsity and Smoothness Constraints

  • Sparsity: An $L_1$ norm penalty is added to the basis matrix $W$. This encourages the discovery of localized, "parts-based" features rather than global "eigenfaces."
  • Smoothness: Tikhonov regularization is applied to the activation matrix $H$ using a finite difference matrix. This penalizes abrupt changes between adjacent columns, ensuring temporal or spatial continuity in the weights.
Comparison of activation coefficients for original, standard PALM, and Smooth PALM methods.

The PALM algorithm alternates between updating $W$ and $H$ using gradient steps followed by proximal operators. This approach allows for the direct handling of non-differentiable terms like the $L_1$ norm while ensuring convergence.

Experimental Evaluation

The framework was tested on two datasets:

  1. Face Images: Used to qualitatively assess the interpretability of basis features.
  2. Synthetic "Toy" Data: Used for quantitative benchmarking where ground-truth activation coefficients are known smooth functions.

Results and Discussion

The inclusion of constraints significantly improves the interpretability and stability of the factorization. While standard NMF may achieve lower reconstruction error by fitting noise, the constrained versions recover the underlying physical structure more accurately.

Quantitative Performance

In synthetic tests, Smooth NMF achieved a Frobenius norm error of 53.85, outperforming the 55.38 error of standard NMF. More importantly, the combination of sparsity and smoothness constraints led to the most robust performance.

Quantitative comparison of W and H scores across NMF variants, showing the robustness of the Sparse & Smooth approach.

As illustrated in the performance scores, the "Sparse & Smooth" variant consistently yields the lowest error scores and the tightest error bars across multiple initializations, indicating superior stability and reliability compared to raw NMF or single-constraint models.

Conclusion

This paper demonstrates that incorporating sparsity and smoothness into NMF via the PALM framework enhances both the interpretability and stability of data decompositions. Future work includes automating hyperparameter tuning for the regularization coefficients and extending the framework to other $\beta$-divergences to accommodate diverse noise profiles.

Summary updated

BibTeX
@misc{fabregat2019solving,
  author = {Raimon Fabregat and Nelly Pustelnik and Paulo Gonçalves and Pierre Borgnat},
  title = {{Solving NMF with smoothness and sparsity constraints using PALM}},
  year = {2019},
  eprint = {1910.14576},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.14576},
}
Figure