Constraint Processing in Lifted Probabilistic Inference

Jacek Kisynski, David PooleUAI 2009

Introduction

Lifted probabilistic inference aims to avoid the exponential complexity of propositional models by treating groups of indistinguishable individuals as single units. However, the efficiency of these methods is often hampered by the way logical constraints are processed. This paper investigates the impact of common preprocessing techniques, such as shattering and normal form conversion, proving that they can lead to exponential complexity. The authors advocate for a "splitting as needed" approach combined with specialized #CSP solvers to maintain the efficiency gains of lifting.

The Challenge of Lifted Inference

First-Order Probabilistic Models (FOPMs) combine the expressive power of first-order logic with the probabilistic reasoning of graphical models. To perform inference efficiently in these models, researchers utilize lifted inference. This technique avoids the "propositional explosion"—where the problem size grows exponentially with the number of individuals—by performing computations on populations rather than individuals.

Comparison between first-order (lifted) and propositional (grounded) representations.

A significant challenge in lifted inference is handling constraints, such as "Person A is not Person B." Previous state-of-the-art methods relied on shattering (pre-splitting all groups into disjoint sets) or requiring constraints to be in a normal form. This research examines whether these preprocessing steps undermine the very efficiency that lifting is intended to provide.

Methods and Constraint Processing Strategies

The authors compare three primary strategies for handling constraints:

  1. Splitting as Needed: Dividing populations into subgroups only when required by a specific inference operation, such as multiplication.
  2. Shattering: A greedy preprocessing step that splits all populations at the outset so that any two sets of variables are either identical or disjoint.
  3. Normal Form Conversion: Forcing constraints into a specific structure where every variable in a group is constrained against every other, facilitating easier solution counting.

To handle complex constraints without full expansion, the authors employ a specialized #CSP (Counting Constraint Satisfaction Problem) solver. This solver leverages combinatorial insights, specifically Bell numbers, to count valid assignments of individuals to variables significantly faster than exhaustive enumeration.

Key Insights and Empirical Results

The study reveals several critical insights into the "hidden tax" of constraint processing:

  • The Shattering Trap: Shattering can be "blind," splitting populations into numerous small pieces that the inference algorithm may never need to distinguish, leading to an exponential increase in factors.
  • Normal Form Inefficiency: Converting simple constraints (like trees) into normal form is equivalent to creating a fully connected graph, which can be exponentially expensive.
  • The Power of #CSP Solvers: It is more efficient to maintain a complex model structure and use a smart solver for counting rather than attempting to simplify the model through splitting.
Complexity scaling of different inference approaches as a function of width $w$.

The authors provide a formal proof (Theorem 1) demonstrating that shattering is never superior to splitting as needed and can be exponentially worse. Empirically, "splitting as needed" consistently outperformed shattering. Furthermore, the #CSP solver approach demonstrated superior scalability compared to normal form conversion as population sizes increased, avoiding the performance walls hit by traditional methods.

Limitations and Future Directions

While the proposed approach offers significant improvements, some limitations remain. The use of a #CSP solver complicates the design of "elimination ordering" heuristics, as the solver's output is not known in advance. Additionally, while these results are expected to apply to approximate inference methods like lifted belief propagation, the specific interactions have yet to be fully explored. Future work will focus on developing informed heuristics that can "look ahead" even when integrated with a #CSP solver.

Summary updated

BibTeX
@inproceedings{kisynski2009constraint,
  author = {Jacek Kisynski and David Poole},
  title = {{Constraint Processing in Lifted Probabilistic Inference}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2009},
}
Figure