MahNMF: Manhattan Non-negative Matrix Factorization

Naiyang Guan, Dacheng Tao, Zhigang Luo, John Shawe-TaylorarXiv 2012

Abstract

Non-negative Matrix Factorization (NMF) is a cornerstone of parts-based data representation, but its standard formulations are highly sensitive to outliers. This paper introduces Manhattan Non-negative Matrix Factorization (MahNMF), a robust framework that minimizes the Manhattan distance ($L_1$ norm) instead of the traditional Euclidean distance. By leveraging the $L_1$ norm, MahNMF effectively models heavy-tailed Laplacian noise, making it resilient to occlusions and "salt and pepper" noise. We describe two optimization strategies: Rank-one Residual Iteration (RRI) for small-scale efficiency and a scalable Nesterov smoothing method for large datasets. Experimental results in face recognition and background subtraction demonstrate that MahNMF significantly outperforms traditional NMF in noisy environments.

Introduction

Most NMF variants minimize Euclidean distance or Kullback-Leibler divergence, assuming Gaussian or Poisson noise distributions. In real-world scenarios, however, data is often corrupted by outliers—such as shadows in images or moving objects in video—that deviate significantly from these assumptions. Because Euclidean distance squares the error, it over-penalizes these outliers, causing the resulting factorization to lose its low-rank structure.

MahNMF addresses this by employing the Manhattan distance ($L_1$ norm). The $L_1$ norm is more "forgiving" to large errors, allowing the algorithm to ignore sparse outliers while capturing the underlying parts-based representation.

Methods

The core challenge of MahNMF lies in its non-convex and non-smooth objective function. To solve this, the authors propose two distinct optimization strategies.

Rank-one Residual Iteration (RRI)

RRI approximates the residual matrix using the outer product of one row of the factor matrices at a time. This approach provides closed-form solutions for updates, making it highly efficient for small-scale problems.

Algorithm 1: Rank-one Residual Iteration (RRI) method for MahNMF.

Nesterov’s Smoothing Method

For large-scale matrices, the authors introduce a smoothing technique based on Nesterov’s method. By applying a smoothing parameter to the $L_1$ norm, the objective becomes differentiable, allowing for the use of optimal gradient methods with a convergence rate of $O(1/k^2)$.

Illustration of objective function smoothing, where non-smooth components (blue) are approximated by smoother functions (green, red) to facilitate optimization.

Extensions of the MahNMF Framework

The authors extend MahNMF into a versatile family of algorithms:

  • Box-constrained MahNMF: Restricts data to specific ranges (e.g., [0, 1]).
  • Manifold Regularized MahNMF: Preserves the intrinsic geometric structure of the data.
  • Group Sparse MahNMF: Facilitates feature grouping in multi-view learning.
  • Symmetric MahNMF: Tailored for graph clustering and image segmentation.

Results

MahNMF was evaluated across several synthetic and real-world benchmarks, including the Yale B face database and various video sequences for background subtraction.

Face Recognition under Occlusion

On the Yale B dataset, MahNMF achieved significantly higher accuracy than EucNMF and KLNMF when images were subject to occlusions. The algorithm successfully "ignored" the occluded regions to learn clean facial basis vectors.

Background Subtraction

In surveillance video tests, MahNMF performed comparably to state-of-the-art methods like Robust PCA (RPCA), successfully separating static backgrounds from dynamic foreground objects.

Scalability and Performance

Experiments confirmed that while RRI is faster for small matrices, Nesterov’s smoothing method is the superior choice for large-scale data, maintaining high performance as dimensionality grows.

Discussion and Conclusion

MahNMF represents a significant step forward in robust parts-based learning. While it is not a universal replacement for standard NMF—performing slightly worse in purely Gaussian noise—it is a powerful tool for datasets contaminated by Laplacian or heavy-tailed noise. The use of Nesterov’s smoothing is the "secret sauce" that makes the $L_1$ objective practical for modern engineering applications. Future work will explore formal theoretical convergence proofs for the framework's regularized extensions.

Summary updated

BibTeX
@misc{guan2012mahnmf,
  author = {Naiyang Guan and Dacheng Tao and Zhigang Luo and John Shawe-Taylor},
  title = {{MahNMF: Manhattan Non-negative Matrix Factorization}},
  year = {2012},
  eprint = {1207.3438},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1207.3438},
}
Figure