Exploiting Chain Rule and Bayes' Theorem to Compare Probability Distributions

Huangjie Zheng, Mingyuan Zhou
12/28/2020
stat.MLcs.LGstat.CO

Official code: JegZheng/CT-pytorch (15 stars, Python, last commit 2022-01-12).

Abstract

To measure the difference between two probability distributions, referred to as the source and target, respectively, we exploit both the chain rule and Bayes' theorem to construct conditional transport (CT), which is constituted by both a forward component and a backward one. The forward CT is the expected cost of moving a source data point to a target one, with their joint distribution defined by the product of the source probability density function (PDF) and a source-dependent conditional distribution, which is related to the target PDF via Bayes' theorem.

Show full abstract

The backward CT is defined by reversing the direction. The CT cost can be approximated by replacing the source and target PDFs with their discrete empirical distributions supported on mini-batches, making it amenable to implicit distributions and stochastic gradient descent-based optimization. When applied to train a generative model, CT is shown to strike a good balance between mode-covering and mode-seeking behaviors and strongly resist mode collapse. On a wide variety of benchmark datasets for generative modeling, substituting the default statistical distance of an existing generative adversarial network with CT is shown to consistently improve the performance. PyTorch code is provided.

View on arXivView PDF

Code Implementations(1)

Repository for conditional transport

152PythonOct 16, 20214 years ago

Similar Papers

Cite this paper

@article{zheng2020exploiting,
  title  = {Exploiting Chain Rule and Bayes' Theorem to Compare Probability Distributions},
  author = {Huangjie Zheng and Mingyuan Zhou},
  year   = {2020},
  eprint = {2012.14100},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.14100}
}

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

Discussion