Learning the Stein Discrepancy for Training and Evaluating Energy-Based Models without Sampling

Will Grathwohl, Kuan-Chieh Wang, Jorn-Henrik Jacobsen, David Duvenaud, Richard Zemel
2/13/2020
stat.MLcs.LG

Official code: wgrathwohl/LSD (50 stars, Python, last commit 2020-07-08).

Abstract

We present a new method for evaluating and training unnormalized density models. Our approach only requires access to the gradient of the unnormalized model's log-density.

Show full abstract

We estimate the Stein discrepancy between the data density $p(x)$ and the model density $q(x)$ defined by a vector function of the data. We parameterize this function with a neural network and fit its parameters to maximize the discrepancy. This yields a novel goodness-of-fit test which outperforms existing methods on high dimensional data. Furthermore, optimizing $q(x)$ to minimize this discrepancy produces a novel method for training unnormalized models which scales more gracefully than existing methods. The ability to both learn and compare models is a unique feature of the proposed method.

View on arXivView PDF

Code Implementations(1)

wgrathwohl/LSDOfficial100%

Official Release of "Learning the Stein Discrepancy for Training and Evaluating Energy-Based Models without Sampling"

505PythonJul 8, 20206 years ago

Similar Papers

Cite this paper

@article{grathwohl2020learning,
  title  = {Learning the Stein Discrepancy for Training and Evaluating Energy-Based Models without Sampling},
  author = {Will Grathwohl and Kuan-Chieh Wang and Jorn-Henrik Jacobsen and David Duvenaud and Richard Zemel},
  year   = {2020},
  eprint = {2002.05616},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.05616}
}

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/2002.05616.svg)](https://codeofpaper.com/paper/2002.05616)

Discussion