Sliced Score Matching: A Scalable Approach to Density and Score Estimation

Yang Song, Sahaj Garg, Jiaxin Shi, Stefano Ermon
5/17/2019
cs.LGstat.ML

Official code: ermongroup/sliced_score_matching (152 stars, GPL-3.0, last commit 2020-01-07).

Abstract

Score matching is a popular method for estimating unnormalized statistical models. However, it has been so far limited to simple, shallow models or low-dimensional data, due to the difficulty of computing the Hessian of log-density functions. We show this difficulty can be mitigated by projecting the scores onto random vectors before comparing them. This objective, called sliced score matching, only involves Hessian-vector products, which can be easily implemented using reverse-mode automatic differentiation. Therefore, sliced score matching is amenable to more complex models and higher dimensional data compared to score matching. Theoretically, we prove the consistency and asymptotic normality of sliced score matching estimators. Moreover, we demonstrate that sliced score matching can be used to learn deep score estimators for implicit distributions. In our experiments, we show sliced score matching can learn deep energy-based models effectively, and can produce accurate score estimates for applications such as variational inference with implicit distributions and training Wasserstein Auto-Encoders.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Code for reproducing results in the sliced score matching paper (UAI 2019)

15222PythonJun 25, 20196 years agoGPL-3.0
density-estimationenergy-based-modelscore-estimationscore-matchinguai2019

Cite this paper

@article{song2019sliced,
  title  = {Sliced Score Matching: A Scalable Approach to Density and Score Estimation},
  author = {Yang Song and Sahaj Garg and Jiaxin Shi and Stefano Ermon},
  year   = {2019},
  eprint = {1905.07088},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.07088}
}

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

Discussion