Efficient CDF Approximations for Normalizing Flows

Chandramouli Shama Sastry, Andreas Lehrmann, Marcus Brubaker, Alexander Radovic
2/23/2022
cs.LGstat.ML
diffusion-flow

Official code: BorealisAI/nflow-cdf-approximations (6 stars, Python, last commit 2022-02-14).

Abstract

Normalizing flows model a complex target distribution in terms of a bijective transform operating on a simple base distribution. As such, they enable tractable computation of a number of important statistical quantities, particularly likelihoods and samples.

Show full abstract

Despite these appealing properties, the computation of more complex inference tasks, such as the cumulative distribution function (CDF) over a complex region (e.g., a polytope) remains challenging. Traditional CDF approximations using Monte-Carlo techniques are unbiased but have unbounded variance and low sample efficiency. Instead, we build upon the diffeomorphic properties of normalizing flows and leverage the divergence theorem to estimate the CDF over a closed region in target space in terms of the flux across its \emph{boundary}, as induced by the normalizing flow. We describe both deterministic and stochastic instances of this estimator: while the deterministic variant iteratively improves the estimate by strategically subdividing the boundary, the stochastic variant provides unbiased estimates. Our experiments on popular flow architectures and UCI benchmark datasets show a marked improvement in sample efficiency as compared to traditional estimators.

View on arXivView PDF

Code Implementations(1)

Official implementation of "Efficient CDF Approximations for Normalizing Flows"

61PythonOct 28, 20214 years agoNOASSERTION

Similar Papers

Cite this paper

@article{sastry2022efficient,
  title  = {Efficient CDF Approximations for Normalizing Flows},
  author = {Chandramouli Shama Sastry and Andreas Lehrmann and Marcus Brubaker and Alexander Radovic},
  year   = {2022},
  eprint = {2202.11322},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.11322}
}

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

Discussion