Introduction
Matrix Factorisation (MF) is a fundamental technique in data science, widely applied in recommender systems and bioinformatics to uncover latent structures in large datasets. By decomposing a primary matrix into smaller latent factor matrices, researchers can predict missing values and identify hidden patterns. Nonnegative Matrix Factorisation (NMF) adds a constraint that all factors must be non-negative, significantly enhancing the interpretability of the results as "parts-based" representations.
However, standard NMF often suffers from overfitting and sensitivity to noise. Bayesian NMF addresses these issues by treating latent factors as probability distributions. This paper presents the first comprehensive empirical comparison of various inference methods for Bayesian NMF and its extension, Nonnegative Matrix Tri-Factorisation (NMTF).
Inference Methodologies
The study evaluates four distinct inference approaches:
- Non-Probabilistic (NP): Utilizes traditional multiplicative updates. While computationally efficient, it lacks uncertainty quantification and is prone to overfitting.
- Gibbs Sampling: A stochastic Markov Chain Monte Carlo (MCMC) method. It is considered the gold standard for accuracy but is computationally demanding.
- Iterated Conditional Modes (ICM): A deterministic approach that finds the Maximum A Posteriori (MAP) estimate, offering a faster alternative to Gibbs sampling.
- Variational Bayes (VB): The primary contribution of this work. The authors derive a novel VB algorithm that approximates the posterior distribution through deterministic optimization, enabling efficient parallelization.
Automatic Relevance Determination (ARD)
A significant challenge in MF is selecting the optimal number of latent factors ($K$). The authors integrate Automatic Relevance Determination (ARD), a pruning mechanism that automatically suppresses unnecessary factors. This eliminates the need for computationally expensive cross-validation for model selection, allowing the model to adapt its complexity to the data.
Empirical Evaluation and Results
The methods were tested on synthetic data and real-world drug sensitivity datasets (GDSC, CTRP, CCLE). These biological datasets are characterized by high noise and extreme sparsity, providing a rigorous test for robustness.
Robustness and Sparsity
Gibbs sampling demonstrated the highest robustness, maintaining predictive accuracy even when 80-90% of data was missing. The proposed VB approach performed nearly as well, offering a significant improvement over NP and ICM, which failed as sparsity increased beyond 40%.
Computational Efficiency
While NP and ICM are fastest per iteration, VB and ICM often reach convergence faster than Gibbs sampling. The deterministic nature of VB makes it particularly suitable for modern hardware acceleration.
Conclusion
This study establishes a clear hierarchy of inference methods for Bayesian NMF. While Gibbs sampling remains the most robust for extremely sparse data, the novel Variational Bayes approach provides a compelling balance of speed, stability, and predictive power. Furthermore, the inclusion of ARD simplifies the modeling pipeline by automating latent factor selection. Future research will explore these methods in the context of higher-dimensional tensor factorisation.
Summary updated