Memory-Efficient Convex Optimization for Self-Dictionary Separable Nonnegative Matrix Factorization: A Frank-Wolfe Approach

Tri Nguyen, Xiao Fu, Ruiyuan WuIEEE TSP 2021

Abstract

Nonnegative matrix factorization (NMF) often relies on the separability condition for tractable algorithm design. Separability-based NMF is mainly handled by two types of approaches, namely, greedy pursuit and convex programming. A notable convex NMF formulation is the so-called self-dictionary multiple measurement vectors (SD-MMV), which can work without knowing the matrix rank a priori, and is arguably more resilient to error propagation relative to greedy pursuit. However, convex SD-MMV renders a large memory cost that scales quadratically with the problem size. This work proposes a memory-efficient algorithm for convex SD-MMV. Our algorithm capitalizes on the special update rules of the Frank-Wolfe (FW) algorithm. It is shown that, under reasonable conditions, the FW algorithm solves the noisy SD-MMV problem with a memory cost that grows linearly with the amount of data. To handle noisier scenarios, a smoothed group sparsity regularizer is proposed to improve robustness while maintaining the low memory footprint.

Introduction

Nonnegative Matrix Factorization (NMF) is a cornerstone of unsupervised learning, used extensively for topic modeling, community detection, and hyperspectral unmixing. While NMF is generally NP-hard, the separability assumption—which posits that the latent basis vectors (e.g., "anchor words" in a document corpus) are present as columns in the data matrix itself—makes the problem tractable.

Two primary paradigms exist for solving separable NMF: greedy pursuit (e.g., Successive Projection Algorithm) and convex programming. While greedy methods are fast, they suffer from error propagation. Convex formulations, specifically the Self-Dictionary Multiple Measurement Vectors (SD-MMV) approach, offer superior noise robustness and do not require the rank $K$ to be known beforehand. However, SD-MMV introduces a coefficient matrix $C \in \mathbb{R}^{N \times N}$, where $N$ is the number of data points. This $O(N^2)$ memory requirement has historically limited convex NMF to small datasets.

Illustration of the Self-Dictionary Multiple Measurement Vectors (SD-MMV) formulation for separable NMF, where the data matrix X is reconstructed using a sparse subset of its own columns.

The MERIT Framework

This paper introduces MERIT (Memory-Efficient Frank-Wolfe based NMF), an algorithmic framework designed to break the $O(N^2)$ barrier. The key insight is the application of the Frank-Wolfe (FW) algorithm to the SD-MMV problem.

Frank-Wolfe for Memory Efficiency

Unlike standard gradient descent methods that require a projection onto the constraint set—often resulting in a dense $N \times N$ matrix—the FW algorithm solves a linear subproblem at each iteration. For the SD-MMV problem, this subproblem identifies a single "best" column to update.

The authors demonstrate that if the algorithm is initialized at zero, the iterates naturally maintain the row-sparsity of the coefficient matrix $C$. Instead of storing the full $N \times N$ matrix, MERIT only needs to store the $K$ non-zero rows, reducing memory complexity to $O(KN)$.

Robustness via Smoothed Regularization

To enhance performance in noisy environments, the authors propose a smoothed version of the $\ell_{\infty,1}$ group-sparsity regularizer. This differentiable objective allows the FW algorithm to effectively suppress noise while maintaining the sparse update structure that ensures memory efficiency. This "FW-friendly" objective improves robustness without sacrificing the low memory footprint.

Experimental Evaluation

The researchers evaluated MERIT against state-of-the-art baselines on synthetic and real-world datasets, including TDT2 and Reuters-21578 for text mining, and DBLP for community detection.

Key Results

  • Scalability: On the Reuters dataset, traditional convex solvers like FastGradient exceeded 20GB of RAM as the number of documents grew. MERIT maintained a footprint under 2GB, scaling linearly with $N$.
  • Accuracy: MERIT outperformed greedy baselines in clustering accuracy, particularly in high-noise scenarios. For instance, on the TDT2 topic modeling task ($K=10$), it achieved a 5% improvement in clustering accuracy over the best baseline.
  • Noise Resilience: Synthetic tests showed that MERIT could perfectly identify latent factors at a Signal-to-Noise Ratio (SNR) of 10dB, a regime where greedy methods like SPA consistently failed to reach that accuracy even at 20dB.

Conclusion

MERIT represents a significant step forward for convex NMF, providing the first linear-memory algorithmic framework for the SD-MMV formulation. By bridging the gap between the scalability of greedy methods and the robustness of convex optimization, it enables the application of high-quality NMF to large-scale real-world problems. While the FW algorithm can sometimes exhibit slower convergence than accelerated gradient methods, its memory efficiency makes it a vital tool for big data analytics.

Summary updated

BibTeX
@misc{nguyen2021memory,
  author = {Tri Nguyen and Xiao Fu and Ruiyuan Wu},
  title = {{Memory-Efficient Convex Optimization for Self-Dictionary Separable Nonnegative Matrix Factorization: A Frank-Wolfe Approach}},
  year = {2021},
  eprint = {2109.11135},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.11135},
}
Figure