Tractability through Exchangeability: A New Perspective on Efficient Probabilistic Inference

Mathias Niepert, Guy Van den Broeck

Introduction

Efficient probabilistic inference is the cornerstone of modern AI, yet it remains a significant challenge. For decades, conditional independence has been the primary tool for achieving tractability. By factorizing large models into smaller, independent components, algorithms like variable elimination can handle complex networks. However, when models become densely connected—possessing high "treewidth"—these traditional methods fail.

This paper introduces a formal statistical foundation for "lifted" probabilistic inference, identifying exchangeability as a fundamental driver of tractability that complements independence. By showing that the identity of variables often matters less than their collective patterns, the authors demonstrate how to achieve efficiency in models with millions of variables.

The Challenge of High Treewidth

In probabilistic graphical models, complexity is often tied to the connectivity of the graph. Once a model becomes too densely connected, traditional inference algorithms become exponentially slow because they rely on finding independent sub-problems.

A high-treewidth model where traditional independence-based inference is intractable.

While independence allows us to break a problem apart, many real-world relational models (like social networks or biological systems) are naturally dense. Surprisingly, a class of "lifted inference" algorithms has succeeded in these domains. This paper explains why: they exploit symmetries where the identity of variables doesn't matter, only their counts or patterns. This property, known as exchangeability, provides a theoretical framework that explains tractability even in the absence of independence.

Methods: Formalizing Exchangeability

The authors bridge the gap between statistics and computer science by formalizing finite partial exchangeability. Unlike the infinite sequences typically studied in Bayesian statistics, this work focuses on finite sets of variables common in AI applications.

Key Concepts

  1. Finite Partial Exchangeability: A distribution is partially exchangeable if the probability of a state depends only on a sufficient statistic (like a count) rather than the specific assignment to specific variables.
  2. Exchangeable Decompositions: This generalizes the idea of "identical" variables to "identical groups" of variables that can be permuted without changing the joint probability.
  3. Orbits and Sufficient Statistics: By grouping states into "orbits" (equivalence classes where all states have the same probability), the summation required for inference reduces from an exponential number of states ($2^N$) to a polynomial number of orbits.
Illustration of exchangeability: probabilities depend on the count of patterns (sufficient statistics) rather than specific assignments.

Theoretical Results and Case Studies

The paper provides rigorous proofs (Theorems 2 and 4) showing that if a model has an exchangeable decomposition with bounded width, tasks like Marginal Inference and Most Probable Explanation (MPE) can be solved in polynomial time relative to the number of variables.

As a primary case study, the authors use Markov Logic Networks (MLNs). MLNs combine first-order logic with probabilistic models, making them ideal for demonstrating how syntactic symmetries in logic translate into statistical exchangeability. The authors prove that all "monadic" MLNs (those using only unary predicates like Smokes(x)) are always tractable because they naturally possess the required exchangeable decompositions. This provides the first purely statistical characterization of exact lifted inference.

Insights and Implications

  • The Power of Counting: In an exchangeable model, you don't need to know who smokes to calculate the probability of a cancer outbreak; you only need to know how many people smoke. This "counting" is what makes lifted inference efficient.
  • Representation Independence: Partial exchangeability is a statistical property of the distribution itself, applying whether the model is represented as a table, a Bayesian network, or a set of logic rules.
  • Dual Forces for Tractability: While independence allows us to factorize a model, exchangeability allows us to collapse it. They are complementary forces that together provide a more complete picture of efficient inference.

Future Directions

While this work provides a strong theoretical foundation, several challenges remain. Detecting exchangeability in general, non-relational models is difficult, and the current theory is limited to discrete variables. Future work aims to extend these principles to continuous domains and approximate inference frameworks, potentially leading to a new structural language for representing exchangeability, akin to directed acyclic graphs (DAGs) for independence.

Summary updated

BibTeX
@inproceedings{niepert2014tractability,
  author = {Mathias Niepert and Guy Van den Broeck},
  title = {{Tractability through Exchangeability: A New Perspective on Efficient Probabilistic Inference}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.9073},
}
Figure