Lifted Aggregation in Directed First-Order Probabilistic Models

Jacek Kisynski, David PooleIJCAI 2009

Introduction

In probabilistic graphical models, first-order logic allows for the representation of relationships across entire populations. However, performing exact inference often requires "grounding" the model—unrolling general rules into a massive network of individuals—which becomes computationally infeasible as population sizes grow. "Lifted inference" seeks to avoid this by reasoning about groups of individuals as single units. A significant challenge in this field is aggregation, where a single child variable depends on a large number of parent variables (e.g., a team's status depending on every player's health). Existing algorithms often scale linearly or polynomially with population size, failing to provide true scalability for large-scale relational data.

Methods: Aggregation Parfactors and Decomposition

This paper introduces aggregation parfactors, a new data structure designed to handle "many-to-one" relationships efficiently within the Conditional First-Order Variable Elimination (C-FOVE) framework. An aggregation parfactor is a hex-tuple that formally describes how a set of parent variables maps to a child variable via a deterministic operator like Noisy-OR or MAX.

The core innovation is the Decomposition Trick. For aggregation operators that are commutative and associative (such as OR, MAX, MIN, or SUM), the authors demonstrate that the operation can be decomposed into a balanced binary tree. This approach, similar to the "square-and-multiply" method in binary exponentiation, reduces the computational complexity from $O(n)$ to $O(\log n)$ relative to the population size $n$.

Decomposition of an aggregation operator into a balanced binary tree, enabling logarithmic scaling.

Furthermore, the authors introduce generalized parfactors to manage "context" variables—parameters that influence parents without being part of the aggregation itself—ensuring that the "lifted" property is preserved even in complex dependency structures.

Key Insights

The primary insight is that aggregation can be treated as a structural problem rather than a simple counting task. By leveraging recursive binary operations, the cost of inference becomes nearly independent of population size. For this $O(\log n)$ trick to be effective, parent variables must remain independent; the paper details how to "delay" conditioning on common ancestors to maintain this independence during the elimination process. This unified representation allows modelers to specify structure without knowing the population size upfront, fulfilling a core promise of first-order probabilistic modeling.

Experimental Results

The authors evaluated their approach, AC-FOVE, against standard Variable Elimination (VE) and previous state-of-the-art methods like C-FOVE using models such as a Soccer Injury model (Noisy-OR/MAX) and a Smoking-Friendship social network model.

The results show a dramatic performance advantage for AC-FOVE. In Noisy-OR tests, standard VE failed at population sizes around 20, and C-FOVE scaled linearly. In contrast, AC-FOVE's performance remained nearly flat, processing populations of up to 100,000 individuals in milliseconds. This represents a fundamental shift in the complexity class of the inference task for these common operators.

Inference time comparison: AC-FOVE maintains near-constant performance as population size $n$ grows to $10^5$, while other methods scale poorly.

In the more complex smoking-friendship model, AC-FOVE successfully handled instances where other algorithms crashed due to memory or time constraints at very small population sizes ($n > 11$).

Limitations and Future Work

While AC-FOVE offers significant speedups, it relies on the aggregation operator being commutative and associative. While common, this does not cover every possible dependency. Additionally, complex "lattice" structures where dependencies form intricate grids remain a challenge for lifted inference and are not fully solved by this method. Future work includes testing these methods on larger, more diverse real-world relational databases to explore the practical scope of logarithmic aggregation.

Summary updated

BibTeX
@inproceedings{kisynski2009lifted,
  author = {Jacek Kisynski and David Poole},
  title = {{Lifted Aggregation in Directed First-Order Probabilistic Models}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2009},
}
Figure