NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient matrix completion with Gaussian models

Flavien Léger, Guoshen Yu, Guillermo Sapiro

TL;DR

This paper demonstrates that one of the simplest probabilistic tools—a single Gaussian model—can perform matrix completion (like predicting movie ratings) nearly as well as complex, state-of-the-art Bayesian methods. By using a Maximum A Posteriori Expectation-Maximization (MAP-EM) algorithm, the authors achieve competitive accuracy at a significantly lower computational cost.

What Problem Does This Paper Address?

Matrix completion is the task of filling in the "holes" in a massive table where most entries are missing. The classic example is collaborative filtering for recommendation systems: if you have a matrix where rows are users and columns are movies, most users have only rated a tiny fraction of the available films. The goal is to predict the missing ratings to recommend new content.

The dominant approach in the field usually involves "low-rank" matrix factorization, assuming that a few hidden factors (like genre or actor preference) explain most of the data. While effective, these models can become computationally expensive or mathematically "fiddly" as they grow more complex. The authors ask: can we achieve similar results using a much simpler, classical statistical model?

Methods

The authors treat each row of the matrix (e.g., a user's ratings) as a "signal" drawn from a multivariate Gaussian distribution $\mathcal{N}(\mu, \Sigma)$. To handle the missing data and estimate the model parameters, they use a two-step MAP-EM algorithm:

  1. E-step (Signal Estimation): Given the current estimate of the "average" user ($\mu$) and the correlations between movies ($\Sigma$), the algorithm calculates the most likely ratings for the missing entries of each user. This is a linear estimation problem that can be solved efficiently using Cholesky factorization.
  2. M-step (Model Estimation): Using the newly "completed" rows from the E-step, the algorithm updates the global mean ($\mu$) and the covariance matrix ($\Sigma$). They apply a simple eigenvalue-based regularization ($\Sigma + \epsilon I$) to ensure the matrix remains stable even when data is sparse.

The algorithm typically converges in fewer than 10 iterations. Because it treats each row independently during the E-step, it is highly parallelizable and has a memory footprint dominated simply by the size of the covariance matrix ($N^2$, where $N$ is the number of items).

Datasets

The approach was evaluated on two classic benchmark datasets for collaborative filtering:

  • EachMovie: 2.8 million ratings, ~36,000 users, and ~1,600 movies.
  • 1M MovieLens: 1 million ratings, ~6,000 users, and ~3,600 movies.

The authors tested two scenarios: Weak Generalization (predicting missing ratings for users already in the training set) and Strong Generalization (predicting ratings for entirely new users the model hasn't seen before).

Key Insights and Ideas

  • Simplicity is Powerful: The most surprising takeaway is that a single Gaussian distribution—which assumes all users follow the same basic correlation structure—is "in the same ballpark" as much more sophisticated non-parametric Bayesian models.
  • Implicit Correlation: By learning the covariance matrix $\Sigma$, the model automatically captures which movies are "linked." If the model knows you liked Star Wars, and the covariance matrix shows a high correlation between Star Wars and Star Trek, the MAP estimate will naturally pull your predicted Star Trek rating higher.
  • Computational Efficiency: Unlike sparse coding or complex factorization methods, the bottleneck here is a simple matrix inversion/factorization. For sparse datasets (where users rate only a few items), the complexity scales very favorably.

Key Results

The performance was measured using Normalized Mean Absolute Error (NMAE).

  • On the EachMovie dataset, the proposed Gaussian Model (GM) achieved an NMAE of 0.4164, very close to the state-of-the-art NBMC (Nonparametric Bayesian Matrix Completion) at 0.4109.
  • On the 1M MovieLens dataset, the GM achieved 0.3959, compared to NBMC's 0.3916.
  • Speed: The authors emphasize that while they are slightly behind the absolute top-performing models in accuracy (by a margin of less than 0.005), their algorithm is significantly simpler to implement and faster to run.

Limitations and Future Work

  • The "Average User" Assumption: A single Gaussian assumes there is one global mean and one set of correlations. In reality, movie viewers belong to distinct "clusters" (e.g., horror fans vs. documentary fans).
  • Scaling the Covariance: The memory requirement is $O(N^2)$. While fine for 4,000 movies, this becomes a challenge for platforms with millions of items (like Amazon or YouTube) without further optimization or dimensionality reduction.
  • Future Direction - GMMs: The authors suggest that moving from a single Gaussian to a Gaussian Mixture Model (GMM) could capture different user categories (age, gender, genre preference) and likely close the remaining accuracy gap with state-of-the-art methods.

Summary updated

BibTeX
@inproceedings{leger2011efficient,
  author = {Flavien Léger and Guoshen Yu and Guillermo Sapiro},
  title = {{Efficient matrix completion with Gaussian models}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2011},
  doi = {10.1109/icassp.2011.5946603},
}
Figure