Beyond Alternating Updates for Matrix Factorization with Inertial Bregman Proximal Gradient Algorithms

Mahesh Chandra Mukkamala, Peter Ochs

TL;DR: Matrix factorization is traditionally solved by "alternating" updates between variables, an approach that introduces bias and often lacks strong convergence guarantees. This paper introduces a non-alternating approach using a novel Bregman distance, allowing both factors to be updated simultaneously with proven convergence and significantly faster performance.

The Problem with Alternating Minimization

Matrix Factorization (MF) is a cornerstone of modern machine learning, powering everything from recommender systems (like Netflix's movie suggestions) to computer vision. The goal is to break a large matrix $A$ into two smaller factors, $U$ and $Z$, such that $A \approx UZ$.

The standard way to solve this is through alternating minimization: fixing $U$ to update $Z$, and then fixing $Z$ to update $U$. While popular, this approach has two major flaws:

  1. Bias: The solution tends to be biased toward whichever variable was updated last.
  2. Mathematical Instability: MF is a non-convex problem where the gradient is not "Lipschitz continuous." In plain English, the slope of the function can change abruptly, which breaks the convergence proofs of standard gradient descent algorithms.

Researchers have long struggled to create "non-alternating" schemes—updating $U$ and $Z$ simultaneously—that are both mathematically guaranteed to converge and computationally efficient.

A New Geometric Approach: Bregman Proximal Gradients

To solve this, the authors leverage the framework of Bregman Proximal Gradient (BPG) algorithms. Instead of measuring distance using standard Euclidean geometry (the "straight line" distance), BPG uses a Bregman distance tailored to the specific geometry of the problem.

Key Innovations

  • A Novel Kernel Function: The authors propose a specific "kernel generating distance" $h(U, Z)$ that combines quadratic and quartic terms. This function is designed to "match" the growth of the matrix factorization objective, satisfying a technical condition called the L-smad property. This property essentially tames the wild gradients of MF, allowing for a rigorous proof of convergence.
  • CoCaIn BPG-MF: They adapt an inertial variant called "Convex-Concave Inertial BPG" (CoCaIn BPG). This adds a form of "momentum" to the updates. Unlike standard momentum, which uses a fixed schedule, this version uses an adaptive backtracking step to find the best local "speed" for the algorithm.
  • Closed-Form Solutions: Usually, changing the distance metric makes the underlying math much harder to compute. Remarkably, the authors derived exact, analytic solutions for their update steps, which involve solving a simple cubic equation. This ensures the algorithm remains computationally "cheap" per iteration.
Convergence on Synthetic Data (L2 Regularization)

Key Insights

Why does this approach work so well?

  • Geometry over Step-Size: Standard gradient descent fails on MF because it assumes a global "speed limit" (the Lipschitz constant). By switching to Bregman geometry, the algorithm effectively changes its "ruler" to match the problem's terrain, allowing for much more stable and aggressive updates.
  • Coupling Matters: Previous Bregman approaches treated variables independently. This paper’s kernel explicitly embeds the coupling between $U$ and $Z$, which is the primary source of non-convexity in MF.
  • Simultaneity Wins: Updating $U$ and $Z$ at the same time avoids the inefficient "zig-zag" path often taken by alternating methods, leading to faster convergence to a stationary point.

Experimental Results

The researchers evaluated their algorithms on both synthetic data and real-world benchmarks (MovieLens-100K, 1M, and 10M) for matrix completion tasks.

Convergence on MovieLens Datasets
  • Superior Speed: In almost all tests, the inertial version (CoCaIn BPG-MF) converged significantly faster than state-of-the-art alternating methods like PALM and iPALM. The sharp drop in objective value over iterations highlights its efficiency.
  • Better Objectives: On the MovieLens datasets, the proposed non-alternating schemes reached lower (better) objective values at the limit point compared to traditional methods.
  • Efficiency: Despite the more complex math, the computational cost per iteration remained low ($O(MK + NK)$), making it highly competitive for large-scale applications.

Limitations and Future Work

While highly effective, the basic BPG-MF (without backtracking) can sometimes be slow because it relies on a conservative global constant. The authors note that the backtracking version (CoCaIn) is practically necessary for high performance.

Looking ahead, this Bregman framework opens exciting doors for future research, including extensions to Tensor Factorization for multi-dimensional data, Robust Matrix Factorization for handling severe outliers, and Stochastic Variants for online learning streams.

Summary updated

BibTeX
@inproceedings{mukkamala2019beyond,
  author = {Mahesh Chandra Mukkamala and Peter Ochs},
  title = {{Beyond Alternating Updates for Matrix Factorization with Inertial Bregman Proximal Gradient Algorithms}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=5lNR8yhu0pG},
}
Figure