Diagnostics for Conditional Density Models and Bayesian Inference Algorithms

David Zhao, Niccolò Dalmasso, Rafael Izbicki, Ann B. Lee
2/20/2021
stat.ME
bayesian

Official code: zhao-david/CDE-diagnostics (15 stars, Jupyter Notebook, MIT, last commit 2026-05-26).

Abstract

There has been growing interest in the AI community for precise uncertainty quantification. Conditional density models f(y|x), where x represents potentially high-dimensional features, are an integral part of uncertainty quantification in prediction and Bayesian inference.

Show full abstract

However, it is challenging to assess conditional density estimates and gain insight into modes of failure. While existing diagnostic tools can determine whether an approximated conditional density is compatible overall with a data sample, they lack a principled framework for identifying, locating, and interpreting the nature of statistically significant discrepancies over the entire feature space. In this paper, we present rigorous and easy-to-interpret diagnostics such as (i) the "Local Coverage Test" (LCT), which distinguishes an arbitrarily misspecified model from the true conditional density of the sample, and (ii) "Amortized Local P-P plots" (ALP) which can quickly provide interpretable graphical summaries of distributional differences at any location x in the feature space. Our validation procedures scale to high dimensions and can potentially adapt to any type of data at hand. We demonstrate the effectiveness of LCT and ALP through a simulated experiment and applications to prediction and parameter inference for image data.

View on arXivView PDF

Code Implementations(1)

MIT

Diagnostics for Conditional Density Estimators and Bayesian Inference Algorithms

152Jupyter Notebook, PythonJan 27, 20216 months agoMIT

Similar Papers

Cite this paper

@article{zhao2021diagnostics,
  title  = {Diagnostics for Conditional Density Models and Bayesian Inference Algorithms},
  author = {David Zhao and Niccolò Dalmasso and Rafael Izbicki and Ann B. Lee},
  year   = {2021},
  eprint = {2102.10473},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.10473}
}

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

Discussion