1-Bit matrix completion: PAC-Bayesian analysis of a variational approximation

Vincent Cottet, Pierre AlquierMachine Learning 2018 · DOI

Introduction

Matrix completion is a fundamental problem in machine learning, popularized by applications such as the Netflix Prize. While standard approaches focus on predicting real-valued missing entries, many practical scenarios provide only binary feedback—such as clicks, likes, or "yes/no" responses. This specific challenge is known as 1-bit matrix completion. Traditional methods often rely on strict statistical assumptions (e.g., logistic or Probit models) and focus on minimizing estimation error relative to a "true" underlying matrix. However, these methods can be fragile under model misspecification. This paper proposes a robust alternative: a distribution-free approach focused on prediction error, utilizing PAC-Bayesian theory and variational inference.

The 1-Bit Matrix Completion Problem

In 1-bit matrix completion, we observe a subset of entries from a binary matrix $Y \in \{0, 1\}^{m_1 \times m_2}$. The goal is to predict the unobserved entries. Most existing literature assumes that the binary observations are generated by applying a link function to a low-rank latent matrix $M$. The primary objective in these frequentist settings is typically the recovery of $M$.

The authors of this study shift the focus toward prediction risk. Instead of assuming a specific generative model, they treat the problem as a supervised classification task. This "distribution-free" perspective ensures that theoretical guarantees remain valid even if the data does not perfectly follow a standard logistic or Probit distribution.

Proposed Methodology

Convex Relaxation and Hinge Loss

To make the discrete classification problem computationally tractable, the authors employ a convex relaxation. They replace the non-differentiable zero-one loss with the hinge loss, a standard surrogate in Support Vector Machines (SVMs). This allows for the formulation of a well-behaved optimization objective that penalizes misclassifications based on their distance from the decision boundary.

Pseudo-Bayesian Framework

The authors define a "pseudo-posterior" distribution over the space of matrices. Unlike a traditional Bayesian posterior derived from a likelihood function, this distribution is constructed directly from the hinge risk. This framework allows the integration of prior knowledge about the matrix structure—specifically, its low-rank nature.

Variational Bayes (VB) Approximation

Calculating the exact pseudo-posterior is computationally prohibitive. To address this, the authors utilize a mean-field variational approximation. By approximating the complex posterior with a simpler, factorized distribution, they transform the inference problem into an optimization task that can be solved efficiently.

Bi-Convex Optimization

The target matrix $M$ is factorized into two lower-dimensional matrices, $L$ and $R$ ($M = LR^\top$). While the joint optimization of $L$ and $R$ is non-convex, the problem is bi-convex: fixing one matrix makes the objective convex with respect to the other. The authors implement an alternating gradient descent algorithm to find a solution, which scales significantly better than methods requiring singular value decompositions (SVDs).

Theoretical Guarantees: PAC-Bayesian Analysis

A core contribution of this work is the application of PAC-Bayesian theory to provide "Oracle Inequalities." These mathematical bounds demonstrate that the algorithm's prediction risk converges at a rate of $O(\frac{\text{rank}(M) \cdot (m_1 + m_2)}{n})$, where $n$ is the number of observed entries. This rate is minimax optimal, meaning it matches the best possible theoretical performance for this class of problems. Crucially, these bounds hold regardless of the sampling distribution or the underlying noise model.

Empirical Evaluation

Simulated Data

The algorithm was tested on matrices of varying sizes (up to 2000x2000) and ranks (3, 5, and 10). Under "switch noise" conditions—where bits are flipped randomly—the Hinge Loss (HL) approach demonstrated superior robustness. For rank-3 matrices with high noise, the HL method achieved an error rate of approximately 8.5%, significantly lower than the 17% error rate observed for standard logistic models.

Real-World Application: MovieLens 100k

The method was also applied to the MovieLens 100k dataset, a benchmark for recommendation systems. Ratings were binarized (ratings > 3.5 mapped to 1, others to 0). The HL method achieved a misclassification rate of 0.28, performing competitively with state-of-the-art frequentist logistic models (0.27) while offering better theoretical robustness.

Conclusion

By combining PAC-Bayesian theory with variational inference, the authors provide a robust and computationally efficient framework for 1-bit matrix completion. The shift from estimation to prediction error, coupled with rank-adaptive priors and bi-convex optimization, allows the method to handle large-scale, noisy binary data with strong theoretical guarantees. Future work may explore extending this framework to other Lipschitz-continuous loss functions or deeper matrix factorization architectures.

Summary updated

BibTeX
@article{cottet2018bit,
  author = {Vincent Cottet and Pierre Alquier},
  title = {{1-Bit matrix completion: PAC-Bayesian analysis of a variational approximation}},
  journal = {Machine Learning},
  year = {2018},
  doi = {10.1007/s10994-017-5667-z},
}
Figure