Abstract
Lifted probabilistic inference algorithms exploit regularities in the structure of graphical models to perform inference more efficiently. More specifically, they identify groups of interchangeable variables and perform inference once per group, as opposed to once per variable. The groups are defined by means of constraints, so the flexibility of the grouping is determined by the expressivity of the constraint language. Existing approaches for exact lifted inference use specific languages for (in)equality constraints, which often have limited expressivity. In this article, we decouple lifted inference from the constraint language. We define operators for lifted inference in terms of relational algebra operators, so that they operate on the semantic level (the constraints extension) rather than on the syntactic level, making them language-independent. As a result, lifted inference can be performed using more powerful constraint languages, which provide more opportunities for lifting. We empirically demonstrate that this can improve inference efficiency by orders of magnitude, allowing exact inference where until now only approximate inference was feasible.
Introduction
Statistical Relational Learning (SRL) models often describe complex relationships among vast numbers of objects, such as users in a social network or proteins in a biological system. Standard probabilistic inference methods, like Variable Elimination (VE), typically "ground" these models, treating every individual object as a unique entity. This approach leads to a computational explosion as the number of objects grows.
Lifted inference was introduced to mitigate this by exploiting symmetries—treating groups of interchangeable objects as a single unit. However, early lifted algorithms like C-FOVE were limited by their "syntactic" nature. They relied on simple constraint languages (e.g., $X \neq Y$) to define these groups. When evidence is introduced—such as observing a specific attribute for a single individual—these simple languages often fail. They are forced to "shatter" the model, splitting large symmetric groups into many individual pieces, which causes the algorithm to revert to inefficient ground-level reasoning.
Methodology: The GC-FOVE Algorithm
To address these limitations, we propose GC-FOVE (Generalized C-FOVE), which decouples inference operators from the underlying constraint language through three key innovations:
1. Operator Decoupling via Relational Algebra
Instead of defining inference operators (multiplication and summing-out) based on specific syntactic constraints, GC-FOVE defines them using relational algebra operations like joins and projections. This shift makes the algorithm "language-independent," allowing it to work with any constraint language that supports these algebraic operations.
2. Extensionally Complete Constraints
GC-FOVE utilizes a constraint language that is "extensionally complete," meaning it can represent any arbitrary subset of objects. This is implemented efficiently using Constraint Trees, a data structure that facilitates fast merging, splitting, and counting of object sets.
3. Lifted Absorption
A novel operator, "Lifted Absorption," is introduced to handle evidence more effectively. Unlike standard algorithms that treat evidence as just another factor, Lifted Absorption allows the system to remove observed variables from the model in a single lifted step. This preserves symmetry even in the presence of complex observations.
Experimental Evaluation
We evaluated GC-FOVE against C-FOVE using synthetic benchmarks (Workshop Attributes, Competing Workshops, Social Network) and real-world datasets (WebKB, Yeast).
Key Results
- Scalability: In the Social Network domain, C-FOVE failed beyond 100 objects, whereas GC-FOVE handled 1,000 objects in approximately 200 seconds.
- Performance Gains: On synthetic tasks, GC-FOVE was consistently 1 to 2 orders of magnitude faster than C-FOVE as domain sizes increased.
- Real-World Robustness: On WebKB and Yeast datasets, C-FOVE frequently timed out or ran out of memory once evidence was introduced. GC-FOVE solved these same problems in seconds.
- Granularity: Experiments confirmed that GC-FOVE maintains a "coarser" model during inference, performing significantly fewer operations by keeping interchangeable objects grouped together longer.
Conclusion
The core bottleneck in lifted inference is often the expressivity of the constraint language rather than the probabilistic calculus itself. By moving to a relational algebra framework and introducing Lifted Absorption, GC-FOVE bridges the "symmetry gap" caused by evidence. Future work includes applying these decoupling techniques to other lifted algorithms like Lifted Belief Propagation and extending Lifted Absorption to handle general deterministic relationships.
Summary updated