Expectation Consistent Approximate Inference

Manfred Opper, Ole WintherJMLR 2005

TL;DR

This paper introduces "Expectation Consistent" (EC) approximate inference, a new framework for tackling complex probabilistic models where exact calculations are impossible. EC combines two tractable approximations that communicate by matching moments, allowing for better handling of correlations, especially in models with discrete variables, outperforming existing methods like loopy belief propagation.

What Problem Does This Paper Address?

In many scientific and engineering fields, we encounter probabilistic models that are too complex for exact inference (calculating probabilities or expectations). This intractability arises from large numbers of variables or integrals over multivariate distributions. Traditional methods like variational Bayes often struggle with models involving discrete or bounded variables because they require matching the support of the approximate and true distributions, leading to neglected correlations and underestimated fluctuations. Existing techniques like Expectation Propagation (EP) offer improvements but can become inadequate for densely connected graphs. This paper aims to bridge this gap by providing a more robust and flexible approximate inference method.

Methods

The core of the paper is the Expectation Consistent (EC) approximation. It's built upon a free energy formulation and involves creating two tractable probability distributions that approximate the original intractable one. These two distributions are made "consistent" by matching specific moments (like means and covariances) of certain functions. This allows for the inclusion of non-trivial correlations, which is a significant advantage over methods that neglect them.

The EC framework can be derived from optimizing a free energy approximation. The authors propose a method that involves two sets of parameters, leading to a system of equations that can be solved iteratively. They introduce both single-loop and double-loop algorithms for optimization. The single-loop approach is faster but offers no convergence guarantees, while the double-loop approach is more robust but can be slower. The method is designed to be flexible, allowing for different choices of "tractable substructures" (like single nodes or spanning trees) to represent the original distribution's features.

Datasets

Not discussed in the paper. The paper focuses on synthetic benchmark problems.

Key Insights and Ideas

  • Bridging the Gap for Discrete Variables: EC offers a way to use Gaussian approximations (which handle correlations well) even for models with discrete or bounded variables, a significant limitation of standard variational methods.
  • Communication Between Approximations: The key innovation is having two approximations "talk" to each other by matching moments. This allows them to leverage each other's strengths and compensate for weaknesses.
  • Flexibility in Tractable Substructures: The framework is general enough to allow for different choices of tractable approximations (e.g., factorizing distributions, Gaussian distributions, or even tree-structured approximations), offering a trade-off between complexity and accuracy.
  • Beyond Variational Bounds: EC is not strictly a bound-optimization method like variational Bayes. This allows it to provide meaningful results even in cases where variational bounds would be infinite or simply inaccurate.
  • Connection to Physics: The method has roots in statistical physics and offers insights into how to handle complex systems with strong dependencies.

Key Results

The paper demonstrates the effectiveness of EC on toy benchmark problems involving binary variables on fully connected graphs and 2D grids.

  • Improved Accuracy: EC consistently outperforms loopy belief propagation (SP) and a log-determinant maximization method (LD) in terms of average absolute deviation on marginals.
  • EC Tree Superiority: The "spanning tree" version of EC is shown to be almost always better than other approximations, including Bethe and Kikuchi approximations, especially for densely connected graphs.
  • Performance on Grids: For grid-like structures, EC (even the factorized version) performs comparably to or better than Bethe and Kikuchi approximations.
  • Computational Efficiency: While the double-loop algorithm can be slower, the single-loop EC algorithms are reported to converge quickly (e.g., in O(10) iterations) with computational complexity often around O(N³).

Limitations and Future Work

  • Non-Convexity: The EC free energy function can be non-convex, meaning that optimization algorithms might converge to local minima rather than the global optimum. The paper suggests a double-loop algorithm to mitigate this but acknowledges that finding the true minimum is not guaranteed.
  • Algorithmic Development: While single-loop algorithms are fast, their convergence is instance-dependent. Further algorithmic improvements are needed, especially for practical applications.
  • Choice of Substructures: The performance of EC depends on the choice of tractable substructures. Developing better heuristics for identifying these substructures, especially for complex graphical models, is a promising direction.
  • Generalization: The paper demonstrates EC for binary variables but suggests it can be extended to continuous or hybrid models, which would require further approximations.
  • Perturbative Corrections: The authors suggest that perturbative analysis using cumulant expansions could be used to calculate corrections to the EC free energy and marginals, serving as a sanity check for the approximation's validity.
  • Disordered Systems: For systems with very strong couplings, methods from the physics of disordered systems might be needed to improve estimates of free energy and marginals.

Summary updated

BibTeX
@article{opper2005expectation,
  author = {Manfred Opper and Ole Winther},
  title = {{Expectation Consistent Approximate Inference}},
  journal = {J. Mach. Learn. Res.},
  year = {2005},
  url = {https://openreview.net/forum?id=Z5uny7aC67d},
}
Figure