Joint majorization-Minimization for nonnegative matrix factorization with the β-divergence

Arthur Marmin, José Henrique de Morais Goulart, Cédric Févotte

Abstract

Nonnegative Matrix Factorization (NMF) is typically solved using Block Coordinate Descent, which alternates between updating factor matrices. This paper introduces a Joint Majorization-Minimization (JMM) framework that updates both factor matrices simultaneously. By deriving a single joint auxiliary function for the $\beta$-divergence, the authors produce new multiplicative updates that are as simple to implement as classical methods but offer significant speedups—reducing CPU time by up to 86% for Itakura-Saito and Kullback-Leibler divergences.

Introduction

Nonnegative Matrix Factorization (NMF) is a fundamental tool in data science, used to decompose complex datasets into meaningful, additive parts. Mathematically, it approximates a matrix $V$ as the product of two nonnegative matrices, $W$ and $H$. The standard optimization strategy is Block Coordinate Descent (BCD): fixing $H$ to update $W$, then fixing $W$ to update $H$. While reliable, this alternating approach is often computationally inefficient.

Researchers have long sought "joint" optimization methods—updating both $W$ and $H$ at the same time—to improve convergence speed. However, finding a mathematically tight upper bound (a majorizer) for both variables simultaneously is difficult. Previous attempts were often restricted to specific cases like quadratic loss. This paper proposes a general Joint Majorization-Minimization (JMM) framework applicable to the entire family of $\beta$-divergences.

The Joint Majorization-Minimization Framework

The core of the JMM approach is the construction of a single auxiliary function $G(W, H | \tilde{W}, \tilde{H})$ that upper-bounds the objective function for both factors jointly. To achieve this, the authors decompose the $\beta$-divergence into convex, concave, and constant terms.

Decomposition of the $\beta$-divergence into convex, concave, and constant terms for various $\beta$ values.

As shown in the table above, the decomposition varies depending on the value of $\beta$. By applying Jensen’s inequality to the convex part and the tangent inequality to the concave part, the authors create a joint bound. This approach leads to simple multiplicative updates that reuse "stale" computations. In the joint scheme, certain matrix products (like the approximation $\tilde{V} = \tilde{W}\tilde{H}$) remain constant during sub-iterations, significantly lowering the cost per iteration compared to alternating methods that must recompute these products every time a single block changes.

Experimental Results

The authors evaluated JMM across diverse real-world datasets, including face images (Olivetti), audio spectrograms, song play counts (TasteProfile), and hyperspectral imaging. The performance gains were substantial, particularly for the most popular divergences:

  • Audio Spectrograms ($\beta=0$): JMM achieved an 86% reduction in average CPU time compared to the standard block approach.
  • Face Images ($\beta=0$): A 72% reduction in CPU time was observed.
  • Recommender Systems ($\beta=1$): On the large-scale TasteProfile dataset, JMM was 13% faster, saving approximately 20 minutes of computation.

However, the efficiency gains are dependent on the choice of $\beta$. For $\beta=1.5$ (used in hyperspectral data), JMM was actually 18% slower. This is because the general formula for arbitrary $\beta$ values requires additional divisions that can outweigh the savings in matrix multiplication.

Discussion and Conclusion

JMM consistently arrives at the same quality of solution (local minima) as standard alternating methods but does so much faster for the most common NMF variants ($\beta = 0, 1, 2$). The "aha" moment of this research is that the joint auxiliary function avoids redundant matrix multiplications, which are the primary bottleneck in large-scale NMF.

While the objective function is guaranteed to decrease at every step, proving the formal convergence of the iterates themselves remains a challenge because the joint auxiliary function is not jointly convex. Future work may explore stochastic versions of JMM to handle "Big Data" scenarios and deeper convergence analysis for non-convex auxiliary functions.

Summary updated

BibTeX
@article{marmin2021joint,
  author = {Arthur Marmin and José Henrique de Morais Goulart and Cédric Févotte},
  title = {{Joint majorization-Minimization for nonnegative matrix factorization with the β-divergence}},
  journal = {Signal Processing},
  year = {2021},
  doi = {10.1016/j.sigpro.2023.109048},
}
Figure