Daniel D. Lee and H. Sebastian Seung's classic paper provides the mathematical rigor behind the "multiplicative update rules" that established Non-negative Matrix Factorization (NMF) as a staple in unsupervised learning and data science.
The Challenge of Matrix Factorization
In multivariate data analysis, a common goal is to decompose a large matrix $V$ (e.g., a dataset of images or documents) into two smaller matrices, $W$ and $H$, such that $V \approx WH$.
Standard techniques have notable limitations:
- Principal Components Analysis (PCA): Allows negative entries, leading to "cancellations" where features subtract from one another. This produces abstract basis vectors that lack intuitive human interpretation.
- Vector Quantization (VQ): Highly restrictive, forcing each data point to be represented by only a single "prototype" in a winner-take-all approach.
NMF bridges this gap by enforcing a strict non-negativity constraint: all elements in $W$ and $H$ must be $\ge 0$. This forces the model to learn a "parts-based" representation where features are strictly additive. However, optimizing this non-convex problem is notoriously difficult. Traditional gradient descent requires meticulous "step-size" (learning rate) tuning to maintain positive values and ensure convergence.
Multiplicative Update Rules
To solve this optimization challenge, the authors introduce two simple, iterative algorithms based on Multiplicative Update Rules, corresponding to two different cost functions:
- Squared Euclidean Distance: Ideal for minimizing general reconstruction error.
- Generalized Kullback-Leibler (KL) Divergence: Better suited for data modeled as probability distributions or Poisson-like counts.
Why Multiplicative Updates?
Unlike standard gradient descent ($x \leftarrow x - \eta \cdot \nabla$), these rules update parameters by multiplying the current value by a ratio of the positive and negative components of the gradient.
- If the reconstruction is perfect, the multiplier becomes 1, and the algorithm reaches a fixed point.
- Because positive numbers are multiplied by positive ratios, the values never become negative, naturally satisfying the NMF constraint without manual clipping.
- The rules act as a form of diagonally rescaled gradient descent, automatically choosing a step size that ensures the cost function decreases monotonically.
Proving Convergence with Auxiliary Functions
The core theoretical contribution of the paper is the formal proof of convergence for these update rules, utilizing a technique borrowed from the Expectation-Maximization (EM) algorithm.
The authors construct an Auxiliary Function, $G$, to optimize the true objective function, $F$.
As illustrated above, the auxiliary function $G(h, h^t)$ is designed to always sit "above" the objective function $F(h)$ and touch it exactly at the current estimate, $h^t$. By finding the minimum of $G$ to determine the next step $h^{t+1}$, the authors mathematically guarantee that the original objective $F$ will never increase. Through Theorems 1 and 2, they formally prove that both the Euclidean distance and KL divergence are non-increasing under their respective update rules.
Limitations and Future Directions
While highly influential, the NMF algorithms presented have known limitations:
- Local Optima: The NMF objective is not convex in both $W$ and $H$ simultaneously. Consequently, the algorithm is only guaranteed to converge to a local minimum, making the final representation dependent on the random initialization.
- Convergence Speed: Although the multiplicative rules are robust and remarkably easy to implement (requiring only basic matrix multiplications and element-wise division), other optimization methods like conjugate gradient might converge faster in raw clock time. However, those alternatives are significantly harder to implement while strictly maintaining non-negativity constraints.
Ultimately, by linking NMF to the EM framework via auxiliary functions, Lee and Seung proved that these simple-to-code rules are mathematically sound, paving the way for NMF's widespread adoption in parts-based feature extraction.
Summary updated