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

Scalable Bayesian Non-linear Matrix Completion

Xiangju Qin, Paul Blomstedt, Samuel Kaski

Introduction

Matrix completion is a foundational task in collaborative filtering, powering recommendation systems and drug-target interaction predictions. While linear matrix factorization is the standard approach, capturing non-linear relationships often requires more complex models like Gaussian Process Latent Variable Models (GP-LVMs). Bayesian frameworks for these models are highly desirable as they provide uncertainty estimates and prevent overfitting in sparse datasets. However, they face a significant scalability wall: computing the posterior for massive, sparse matrices is computationally intensive, and existing distributed solutions often suffer from communication bottlenecks or "non-identifiability" issues where independent local models fail to align in a shared latent space.

Methodology: Anchor-Based Distributed Learning

To address these challenges, this paper introduces a distributed, communication-efficient algorithm designed for Bayesian non-linear matrix completion. The core innovation is a two-stage strategy that ensures latent space alignment across parallel workers without constant communication.

The Two-Stage Strategy

  1. Stage 1 (The Anchor): The dataset is partitioned into disjoint subsets. The algorithm first trains an initial model on the most densely observed subset, which serves as the "anchor."
  2. Stage 2 (Incremental Learning): Remaining subsets are processed in parallel. Each worker is coupled with the anchor subset, using a KL-divergence regularizer to force local latent variables to align with the anchor's estimates. This effectively solves the non-identifiability problem inherent in independent latent variable models.
The two-stage distributed learning framework and prediction mechanism using Product of Experts (PoE).

Prediction and Aggregation

For inference, the framework employs a Product of Experts (PoE) approach, multiplying the predictive distributions of independent models. To further enhance accuracy, the authors introduce Intermediate Aggregation, where submodels are combined (stacking variational distributions and averaging hyperparameters) before the final PoE step. This captures a better approximation of the full data's covariance matrix while maintaining memory efficiency.

Experimental Evaluation

The proposed method was benchmarked against state-of-the-art baselines, including Macau (a high-performance Bayesian linear factorization library) and the Subset of Data (SoD) approach, using both simulated and massive real-world datasets.

Simulated Data Results

On synthetic non-linear signals (N=25,000), the intermediate aggregation method demonstrated a remarkable ability to approximate the full posterior. As shown in the results table, it achieved an RMSE of 0.683 (RBF kernel), nearly matching the full posterior model (0.658) while running approximately three times faster.

Performance comparison on simulated data, highlighting the trade-off between predictive accuracy and wall-clock time.

Real-World Application: ExCAPE-DB

The method was also applied to the ExCAPE-DB chemogenomic dataset, containing over 76.3 million interactions. The proposed approach consistently outperformed Macau and SoD across multiple metrics. For instance, at affinity level 5, intermediate aggregation achieved an F1-score of 0.919, surpassing Macau’s 0.886. Notably, the method bypasses the communication bottlenecks that typically plague distributed GP-LVMs, as workers do not need to communicate during the training phase.

Conclusion

This research presents a scalable path forward for non-linear Bayesian matrix completion. By utilizing an anchor-based regularization strategy and intermediate aggregation, the method achieves predictive performance close to full-data models at a fraction of the computational and communication cost. While the two-stage scheme introduces some overhead compared to naive parallelism, the significant gains in accuracy and the ability to handle massive, sparse datasets make it a robust solution for modern collaborative filtering tasks.

Summary updated

BibTeX
@inproceedings{qin2019scalable,
  author = {Xiangju Qin and Paul Blomstedt and Samuel Kaski},
  title = {{Scalable Bayesian Non-linear Matrix Completion}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/454},
}
Figure