[Paper Review] Flexible and Hierarchical Prior for Bayesian Nonnegative Matrix Factorization
This paper proposes a novel Bayesian nonnegative matrix factorization model, GRRN, which uses a flexible hierarchical prior with rectified-normal distributions to enforce nonnegativity on latent factors. The method improves prediction accuracy and reduces overfitting on sparse datasets like MovieLens 100K and 1M, outperforming existing Bayesian and non-probabilistic NMF approaches, especially under high data sparsity and increasing model complexity.
In this paper, we introduce a probabilistic model for learning nonnegative matrix factorization (NMF) that is commonly used for predicting missing values and finding hidden patterns in the data, in which the matrix factors are latent variables associated with each data dimension. The nonnegativity constraint for the latent factors is handled by choosing priors with support on the nonnegative subspace. Bayesian inference procedure based on Gibbs sampling is employed. We evaluate the model on several real-world datasets including MovieLens 100K and MovieLens 1M with different sizes and dimensions and show that the proposed Bayesian NMF GRRN model leads to better predictions and avoids overfitting compared to existing Bayesian NMF approaches.
Motivation & Objective
- To address the challenge of hyperparameter selection in Bayesian NMF for collaborative filtering and factor analysis.
- To develop a probabilistic NMF framework that naturally enforces nonnegativity through prior distributions rather than hard constraints.
- To improve generalization and reduce overfitting in sparse matrix factorization, especially when data is highly incomplete.
- To provide a computationally efficient and interpretable Bayesian NMF method with robust performance across varying data sparsity and latent dimensionality.
Proposed method
- The model uses a hierarchical prior structure where latent factors are drawn from a rectified-normal (Gaussian) distribution to ensure nonnegativity.
- Nonnegativity is enforced via prior choice rather than explicit constraints, allowing for full Bayesian inference with Gibbs sampling.
- The likelihood is defined over observed entries only, using a mask matrix to exclude missing data in the loss function.
- The model employs a fully specified graphical model with conditionals derived from conjugate priors for efficient Gibbs sampling.
- The hierarchical prior includes hyperpriors on the scale parameters of the rectified-normal distributions, enabling automatic regularization and interpretability.
- The inference procedure computes the posterior distribution over latent factors using Gibbs sampling, enabling uncertainty quantification and principled model comparison.
Experimental results
Research questions
- RQ1How can nonnegativity in matrix factorization be enforced more naturally and flexibly using prior distributions?
- RQ2Can a hierarchical prior structure improve generalization and reduce overfitting in Bayesian NMF, especially under high data sparsity?
- RQ3How does the proposed GRRN model compare to existing Bayesian and non-probabilistic NMF methods in terms of predictive performance on real-world sparse datasets?
- RQ4Does the use of rectified-normal priors lead to better convergence and out-of-sample performance than standard conjugate priors in NMF?
Key findings
- The GRRN model achieves the lowest mean squared error (MSE) on held-out test sets, especially under high sparsity, with MSE remaining stable at 1.05 even when 98% of data is unobserved on MovieLens 100K.
- When 97% of data is unobserved, GRRN’s MSE is 1.05, while GTTN and GTT models show significantly worse performance (e.g., 5452.18 and 2650.21, respectively).
- The GRRN model maintains strong out-of-sample performance even as the latent dimension K increases from 20 to 50, showing robustness to model complexity.
- In contrast to non-probabilistic NMF, which overfits easily, GRRN shows consistent performance across different sparsity levels and dataset sizes.
- The model demonstrates superior convergence and in-sample performance compared to GEE, which suffers from overfitting despite better in-sample fit.
- The hierarchical prior structure enables better generalization, as evidenced by stable performance across 97% and 98% unobserved data fractions, indicating reduced overfitting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.