Prior Specification for Bayesian Matrix Factorization via Prior Predictive Matching

Eliezer de Souza da Silva, Tomasz Kuśmierczyk, Marcelo Hartmann, Arto Klami
10/27/2019
stat.MLcs.LG

Official code: zehsilva/prior-predictive-specification (3 stars, MIT, last commit 2023-08-24). 1 more implementation below.

Abstract

The behavior of many Bayesian models used in machine learning critically depends on the choice of prior distributions, controlled by some hyperparameters that are typically selected by Bayesian optimization or cross-validation. This requires repeated, costly, posterior inference. We provide an alternative for selecting good priors without carrying out posterior inference, building on the prior predictive distribution that marginalizes out the model parameters. We estimate virtual statistics for data generated by the prior predictive distribution and then optimize over the hyperparameters to learn ones for which these virtual statistics match target values provided by the user or estimated from (subset of) the observed data. We apply the principle for probabilistic matrix factorization, for which good solutions for prior selection have been missing. We show that for Poisson factorization models we can analytically determine the hyperparameters, including the number of factors, that best replicate the target statistics, and we study empirically the sensitivity of the approach for model mismatch. We also present a model-independent procedure that determines the hyperparameters for general models by stochastic optimization, and demonstrate this extension in context of hierarchical matrix factorization models.

View on arXivView PDF

Code Implementations(2)

MIT

Techniques for setting of hyperparameters of hierarchical models using the prior predictive distribution of the model

30Shell, PythonSep 13, 20203 years agoMIT
bayesianmodeling

Learning hyperparameters in Bayesian models by matching moments of prior predictive distributions.

31Python, Jupyter NotebookOct 17, 20196 years ago
bayesian-modelshyperparameter-optimizationmachine-learningpoisson-matrix-factorizationtensorflow-experiments

Similar Papers

Cite this paper

@article{silva2019prior,
  title  = {Prior Specification for Bayesian Matrix Factorization via Prior Predictive Matching},
  author = {Eliezer de Souza da Silva and Tomasz Kuśmierczyk and Marcelo Hartmann and Arto Klami},
  year   = {2019},
  eprint = {1910.12263},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.12263}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.12263.svg)](https://codeofpaper.com/paper/1910.12263)

Discussion