Skip to main content
QUICK REVIEW

[Paper Review] AIDE: An algorithm for measuring the accuracy of probabilistic inference algorithms

Marco Cusumano-Towner, Vikash K. Mansinghka|arXiv (Cornell University)|May 19, 2017
Machine Learning and AlgorithmsComputer Science25 references5 citations
TL;DR

AIDE is a Monte Carlo estimator for the symmetrized Kullback-Leibler (KL) divergence between the output distributions of two probabilistic inference algorithms, treating inference algorithms as probabilistic models with auxiliary variables. It enables practical, quantitative evaluation of approximate inference algorithms—such as SMC and variational inference—against a gold-standard, detecting failure modes missed by heuristics.

ABSTRACT

Approximate probabilistic inference algorithms are central to many fields. Examples include sequential Monte Carlo inference in robotics, variational inference in machine learning, and Markov chain Monte Carlo inference in statistics. A key problem faced by practitioners is measuring the accuracy of an approximate inference algorithm on a specific data set. This paper introduces the auxiliary inference divergence estimator (AIDE), an algorithm for measuring the accuracy of approximate inference algorithms. AIDE is based on the observation that inference algorithms can be treated as probabilistic models and the random variables used within the inference algorithm can be viewed as auxiliary variables. This view leads to a new estimator for the symmetric KL divergence between the approximating distributions of two inference algorithms. The paper illustrates application of AIDE to algorithms for inference in regression, hidden Markov, and Dirichlet process mixture models. The experiments show that AIDE captures the qualitative behavior of a broad class of inference algorithms and can detect failure modes of inference algorithms that are missed by standard heuristics.

Motivation & Objective

  • To address the lack of general, reliable metrics for evaluating the accuracy of approximate probabilistic inference algorithms in practice.
  • To provide a practical tool for measuring how closely an approximate inference algorithm approximates a gold-standard inference algorithm’s output distribution.
  • To detect failure modes in inference algorithms that standard heuristics—like log-likelihood estimates or probe function expectations—may miss.
  • To enable offline, quantitative evaluation of inference algorithm configurations (e.g., number of particles, iterations) before deployment in performance-constrained settings.
  • To establish a framework for meta-inference over auxiliary variables in inference algorithms, enabling divergence estimation across diverse inference paradigms.

Proposed method

  • Treat inference algorithms as generative probabilistic models where internal random choices are latent (auxiliary) variables.
  • Define a meta-inference algorithm to perform inference over the auxiliary variables used by a target or gold-standard inference algorithm.
  • Construct a Monte Carlo estimator for the symmetrized KL divergence between the output distributions of two inference algorithms using joint inference over their auxiliary variables.
  • Use the generalized conditional SMC update as a canonical meta-inference algorithm for SMC-based methods.
  • Apply the estimator to compare SMC, variational inference, and MCMC algorithms against a gold-standard, with convergence monitored via increasing meta-inference runs.
  • Leverage the framework to estimate divergence between approximations and the true posterior, even when the gold-standard is not exactly posterior-reflective.

Experimental results

Research questions

  • RQ1Can a general-purpose, practical metric be developed to quantify the accuracy of approximate inference algorithms relative to a gold-standard?
  • RQ2How can the symmetrized KL divergence between inference algorithm outputs be estimated without requiring exact posterior computation?
  • RQ3To what extent can AIDE detect failure modes in inference algorithms that are undetected by standard heuristics like log-likelihood or probe function expectations?
  • RQ4What are the limitations of applying AIDE to MCMC samplers, and why is it currently impractical for MCMC convergence diagnosis?
  • RQ5How does the accuracy of AIDE depend on the quality of the meta-inference algorithm used for auxiliary variable inference?

Key findings

  • AIDE successfully estimates the symmetrized KL divergence between SMC inference algorithms and a gold-standard, with estimates converging to zero as expected.
  • For variational inference, AIDE estimates converge to a nonzero asymptote that reflects the inherent approximation error of the variational family.
  • In MCMC experiments, AIDE overestimates the divergence from the true posterior in expectation, indicating bias due to inaccurate meta-inference for non-annealed samplers.
  • AIDE detects failure modes in inference algorithms—such as missing posterior modes—that are not penalized by standard log-likelihood heuristics.
  • On a real galaxy velocity data set, AIDE successfully evaluated SMC-based inference for Dirichlet process mixture models relative to an SMC gold-standard.
  • AIDE provides a practical framework for offline evaluation of inference algorithm configurations, enabling confidence in deployment for performance-constrained applications like probabilistic robotics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.