Abstract: Non-negative matrix factorization (NMF) approximates a given matrix as a product of two non-negative matrices. Multiplicative algorithms deliver reliable results, but they show slow convergence for high-dimensional data and may be stuck away from local minima. Gradient descent methods have better behavior, but only apply to smooth losses such as the least-squares loss. In this article, we propose a first-order primal-dual algorithm for non-negative decomposition problems (where one factor is fixed) with the KL divergence, based on the Chambolle-Pock algorithm. All required computations may be obtained in closed form and we provide an efficient heuristic way to select step-sizes. By using alternating optimization, our algorithm readily extends to NMF and, on synthetic examples, face recognition or music source separation datasets, it is either faster than existing algorithms, or leads to improved local optima, or both.
Introduction
Non-negative Matrix Factorization (NMF) is a cornerstone of dimensionality reduction, used to find "parts-based" representations of data, such as features in a face or individual instruments in a song. While the standard "least-squares" version of NMF is well-understood, many applications—particularly in audio processing and text mining—perform better using the Kullback-Leibler (KL) divergence as a loss function.
However, KL-NMF is difficult to solve. The traditional approach, Multiplicative Update Algorithms (MUA), is notoriously slow to converge and often gets trapped in poor local optima. Modern alternatives like ADMM (Alternating Direction Method of Multipliers) exist but often require expensive matrix inversions and the manual tuning of "penalty" parameters, which can be a headache for practitioners.
The Primal-Dual Framework
The proposed First-order Primal-dual Algorithm (FPA) is based on the Chambolle-Pock framework. This approach breaks the complex NMF problem into two alternating convex sub-problems, estimating one matrix factor while the other remains fixed.
Key technical highlights include:
- Closed-form Proximal Operators: The authors derive exact mathematical solutions for the "proximal operators" of the KL divergence, allowing the algorithm to handle the non-smooth nature of the KL loss without complex approximations.
- Data-Driven Step-Sizes: A significant practical contribution is a heuristic for automatically selecting the step-size parameters ($\sigma$ and $\tau$). This removes the need for the "grid search" or trial-and-error usually required by gradient-based methods.
- Linearization over Inversion: Unlike ADMM, which often requires solving linear systems (matrix inversions), the FPA is "linearized." This makes each iteration computationally "cheap"—roughly the same cost as simple multiplicative updates—but with superior convergence properties.
- The Power of Duality: By solving the problem in both primal and dual spaces simultaneously, the algorithm gains a "certificate of optimality," indicating proximity to the best possible solution for the current sub-problem.
Experimental Setup
The algorithm was evaluated on three distinct types of data:
- Synthetic Data: Randomly generated matrices used to benchmark convergence rates and accuracy against a known ground truth.
- MIT-CBCL Face Database: A standard benchmark in computer vision consisting of 2,429 images ($19 \times 19$ pixels) of faces, used to test the algorithm's ability to learn parts-based visual features.
- Music Source Separation: A 108-second recording of "My Heart" by Louis Armstrong & His Hot Five. This real-world audio task requires decomposing a complex spectrogram into individual instrumental components.
Performance Evaluation
- Speed: On the Louis Armstrong music dataset, the FPA reached a solution in 13 minutes, compared to 15 minutes for ADMM and 80 minutes for the traditional MUA.
- Convergence: In synthetic tests, FPA converged to significantly lower objective values (better fits) than MUA, which tended to stall early.
- Quality of Optima: For the face recognition task, the FPA successfully learned the expected parts-based features (eyes, noses, lips) more efficiently than competing methods, demonstrating that it finds high-quality solutions.
- Tuning Simplicity: The authors found that the only parameter that really matters is the number of inner iterations ($iter_{ND}$). A small number (between 3 and 10) is almost always optimal, making the algorithm highly "plug-and-play."
Conclusion and Future Directions
While FPA is better at avoiding some poor local optima, NMF remains fundamentally a non-convex problem. No alternating algorithm can guarantee finding the absolute global minimum. Additionally, while the authors suggest 3–10 inner iterations, the optimal number might vary slightly depending on the specific dataset's sparsity or scale.
Future work includes extending this primal-dual framework to the broader family of $\beta$-divergences (which includes Itakura-Saito divergence), which would be a valuable next step for the signal processing community.
Summary updated