Fast Exact Matrix Completion: A Unified Optimization Framework for Matrix Completion

Dimitris Bertsimas, Michael Lingzhi LiarXiv 2019

TL;DR

This paper introduces fastImpute, a highly scalable and exact optimization framework for low-rank matrix completion both with and without side information. By analytically eliminating one of the two factor matrices from the optimization landscape, the authors reduce the problem to a non-convex gradient descent over a single factor on a fixed-norm hypersphere. The resulting algorithm achieves up to a 15x speedup and a 75% reduction in error compared to state-of-the-art methods, scaling effortlessly to matrices larger than $10^5 \times 10^5$.

What Problem Does This Paper Address?

Matrix completion—the challenge of filling in missing entries in a massive, partially observed matrix under the assumption that the underlying matrix is low-rank—is a cornerstone of modern data science, famously popularized by the Netflix Prize competition.

However, existing approaches face two major bottlenecks:

  1. Scalability vs. Accuracy: Convex relaxations (like nuclear norm minimization) provide strong theoretical guarantees but scale poorly to massive datasets. Conversely, non-convex factorization methods (like the Burer-Monteiro approach, which splits the matrix into $U V^T$) scale better but suffer from complex optimization landscapes, often requiring artificial regularization terms to guarantee convergence.
  2. Integrating Side Information: In many real-world scenarios, we possess extra features about the rows or columns (e.g., movie genres or user demographics). Incorporating this "side information" (known as inductive matrix completion) typically complicates the algorithm and degrades computational performance.

The authors tackle these challenges by presenting a unified, non-convex optimization framework that simplifies the problem structure, provides global convergence guarantees, and scales to massive matrices.

Methods

The core mathematical innovation lies in a separable reformulation of the problem.

Standard non-convex methods attempt to optimize both factor matrices $U$ and $V$ simultaneously. Instead, the authors write the target matrix as $X = U S B^T$ (where $B$ is the side information and $S$ is the matrix to be learned). They observe that if $S$ is fixed, the optimal $U$ can be solved exactly in closed form using a row-by-row weighted linear regression with Tikhonov ($\ell_2$) regularization.

By substituting this closed-form expression of $U$ back into the objective function, they eliminate $U$ entirely. The problem is thus reduced to optimizing only over $S$.

To solve this reformulated problem, the authors design two algorithms:

  • projImpute: A base algorithm that uses projected gradient descent on a fixed-norm hypersphere ($\|S\|_2 = 1$) to ensure scaling invariance, accelerated by Nesterov’s momentum.
  • fastImpute: An adaptive, stochastic version of projImpute. Instead of computing the full gradient across all rows and columns at each step, fastImpute randomly samples a subset of rows ($n_0$) and columns ($m_0$).

Crucially, the authors prove that the stochastic gradient remains exponentially close to the true gradient, allowing fastImpute to escape saddle points and converge to the global minimum under mild regularity conditions.

Datasets

The framework was evaluated using both synthetic and real-world data:

  • Synthetic Datasets: Randomly generated low-rank matrices ranging in size up to $10^6 \times 10^4$, with missing entry rates ($\mu$) as high as 95%.
  • Netflix Prize Dataset: The classic benchmark consisting of user-movie ratings. The authors created five scaling subsets (Base, Small, Medium, Large, and Full), with the full matrix containing 471,268 users and 14,538 movies.
  • TMDB Database: Used to construct the side information matrix ($B$) for the Netflix dataset, consisting of 59 features spanning genres, release dates, runtime, budget, box office revenue, and actor/actress influence scores.

Key Insights and Ideas

  • General Matrix Completion is a Special Case: The authors show that standard matrix completion (without side features) is mathematically identical to inductive matrix completion if you simply set the side information matrix $B$ to the identity matrix ($I_m$). This allows a single framework to unify both fields.
  • Landscape Simplification: Eliminating $U$ analytically drastically simplifies the optimization landscape. It removes the need for complex, artificial regularization terms that other non-convex methods require to prevent $U$ and $V$ from scaling wildly out of bounds.
  • Hypersphere Geometry: Restricting the optimization of $S$ to a unit hypersphere turns the gradient update into a clean rotation along a great circle, stabilizing the trajectory of the stochastic gradient descent.

Key Results

  • Massive Speedups: On large-scale synthetic trials without side information, fastImpute was on average 15 times faster than the fastest alternative algorithms (such as softImpute-ALS and GROUSE).
  • Superior Accuracy at High Missingness: When 95% of the matrix entries were missing, fastImpute achieved a 40% to 70% reduction in Mean Absolute Percentage Error (MAPE) compared to competing methods.
  • Real-World Performance: On the full Netflix dataset with side information, fastImpute completed the imputation in 2,934 seconds (~49 minutes) with a MAPE of 20.7%, outperforming the standard Inductive Matrix Completion (IMC) benchmark, which took 7,605 seconds (~126 minutes) and yielded a higher error (21.0%).
Dataset Size ($n \times m$) Method Time ($T$) MAPE
Full Netflix ($471k \times 14.5k$) fastImpute 2934s 20.7%
IMC 7605s 21.0%

Limitations and Future Work

  • Rank Dependence: The computational complexity of fastImpute scales cubically with the target rank $k$ ($O(k^3)$). While $k$ is typically small (e.g., $k < 30$) in practical matrix completion tasks, the algorithm's efficiency would degrade if applied to high-rank matrix approximations.
  • Linear Side Information: The current framework assumes that the low-rank factorization is a linear combination of the features in the side information. Extending this framework to handle non-linear or deeply learned feature representations remains an open avenue for future research.

Summary updated

BibTeX
@misc{bertsimas2019fast,
  author = {Dimitris Bertsimas and Michael Lingzhi Li},
  title = {{Fast Exact Matrix Completion: A Unified Optimization Framework for Matrix Completion}},
  year = {2019},
  eprint = {1910.09092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.09092},
}
Figure