Lifted Probabilistic Inference with Counting Formulas

Brian Milch, Luke S. Zettlemoyer, Kristian Kersting, Michael Haimes, Leslie Pack Kaelbling

Abstract

Lifted probabilistic inference aims to exploit symmetries in relational models to avoid redundant computations. This paper introduces C-FOVE, an algorithm that utilizes "counting formulas" to represent histograms of variable states. By focusing on the aggregate counts of interchangeable variables rather than their individual identities, C-FOVE achieves significant speedups, transforming exponential-time inference tasks into linear or constant-time operations.

Introduction

Probabilistic graphical models frequently encounter relational data where numerous objects—such as users in a social network—exhibit identical behavior. Standard inference algorithms like Variable Elimination (VE) are inefficient in these contexts because they treat every individual as a unique entity, leading to massive redundancy.

While previous "lifted" methods like First-Order Variable Elimination (FOVE) improved efficiency by grouping identical variables, they struggle when dependencies involve aggregate properties (e.g., "Does a room overflow if $N$ people attend?"). In such cases, FOVE often resorts to "grounding" the variables, which causes the size of probability tables to grow exponentially with the population size.

The C-FOVE Algorithm

The authors propose C-FOVE, which extends the FOVE framework by introducing Counting Formulas ($\#X [\alpha]$). Instead of tracking every individual variable, a counting formula represents a histogram. For a binary variable, the formula simply tracks how many individuals fall into the "True" bucket versus the "False" bucket.

C-FOVE manipulates these representations using six core operators:

  • Lifted Elimination (SUM-OUT): Sums out entire families of variables simultaneously.
  • Counting: Converts standard factors into counting formulas to expose hidden symmetries.
  • Exponentiation: Handles variables that affect overall weight without appearing in specific formulas.
  • Administrative Operators: Multiplying, Splitting, and Expanding are used to align factors for processing.

Because finding the optimal sequence of these operations is NP-hard, C-FOVE employs a greedy heuristic search to select the operation that minimizes the resulting table sizes at each step.

Experimental Evaluation

The algorithm was tested on synthetic relational schemas designed to test asymptotic performance as models scale.

Competing Workshops

In this model, attendance depends on the popularity of competing events. As the number of invitees increases, C-FOVE's inference time remains remarkably constant. In contrast, FOVE scales linearly, and standard VE scales exponentially, quickly becoming impractical.

Figure 2: Inference time vs. Number of Invitees. C-FOVE maintains constant time while FOVE and VE scale poorly.

Workshop Attributes

This model tests dependencies on a series of binary attributes (e.g., location, date). Here, C-FOVE scales linearly with the number of attributes. Both VE and FOVE exhibit exponential growth, failing once the number of attributes exceeds approximately 10-15.

Figure 3: Inference time vs. Number of Workshop Attributes. C-FOVE scales linearly while competitors scale exponentially.

Conclusion and Future Work

C-FOVE demonstrates that identifying interchangeability is the key to efficient inference in large relational models. By using counting formulas, the algorithm reduces a state space that would normally be $2^N$ to a simple histogram of size $N+1$. This allows for a compact representation throughout the entire inference process. Future research may extend this framework to include other aggregators like MAX or AVERAGE, and explore applying these lifting principles to approximate inference methods like Belief Propagation.

Summary updated

BibTeX
@inproceedings{milch2008lifted,
  author = {Brian Milch and Luke S. Zettlemoyer and Kristian Kersting and Michael Haimes and Leslie Pack Kaelbling},
  title = {{Lifted Probabilistic Inference with Counting Formulas}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2008},
}
Figure