Introduction
Relational Probabilistic Models (RPMs), such as Markov Logic Networks, provide a powerful framework for modeling domains characterized by both uncertainty and complex relational structures. However, performing inference in these models remains a significant computational challenge. While "lifted inference"—the technique of reasoning about groups of symmetric objects rather than individuals—has seen success in marginal (SUM) and maximum-a-posteriori (MAX) queries, the hybrid Marginal MAP (MMAP) query has remained largely resistant to efficient lifting. This paper introduces the first lifted inference algorithm specifically designed for MMAP queries, leveraging a new reduction rule called SOM-R.
The Challenge of Marginal MAP
Marginal MAP (MMAP) queries are particularly difficult because they involve two distinct types of operations: summing out latent variables (SUM) and finding the most likely assignment for query variables (MAX). Unlike pure marginal or pure MAP inference, the SUM and MAX operations in MMAP do not commute. This lack of commutativity prevents the direct application of many standard lifting techniques, as the order of operations is strictly constrained. Consequently, traditional approaches often resort to "grounding" the model—expanding it to represent every individual object—which leads to an exponential explosion in complexity as the domain size grows.
The SOM-R Rule: Exploiting Symmetry
The authors propose a novel lifting rule termed Single Occurrence for MAX Reduce (SOM-R). This rule is built upon the identification of a specific class of logical variables: Single Occurrence for MAX (SOM) variables.
Defining SOM Variables
A logical variable is classified as SOM if it appears at most once in any given formula and is associated with at least one MAX predicate. This structural property is the key to unlocking computational savings.
The Extreme Assignment Property
The theoretical core of the paper is the Extreme Assignment Property. The authors prove that for SOM variables, an optimal MMAP solution exists where all groundings (individual instances) of the variable take the same truth value—either all true or all false. This "extreme" behavior implies that the optimal configuration does not break the inherent symmetry of the domain.
Domain Reduction
By leveraging the Extreme Assignment Property, the SOM-R rule allows the inference engine to reduce a domain of $N$ symmetric constants down to a single representative constant. The weights of the formulas are adjusted to account for the original domain size, but the complexity of the resulting inference problem becomes independent of the original domain size $m$, effectively achieving $O(1)$ scaling relative to that domain.
Algorithmic Framework
The SOM-R rule does not operate in isolation. It is integrated into a comprehensive lifted inference framework that includes:
- Decomposition: Breaking the problem into independent sub-problems.
- Binomial Conditioning: Efficiently counting assignments for symmetric groups.
Experimental results on the IMDB dataset demonstrated that SOM-R often acts as a catalyst; by simplifying the model's structure, it enables the application of other lifting rules that were previously blocked by the model's complexity, creating a cascade of simplification.
Experimental Evaluation
The proposed algorithm was evaluated on three benchmark domains: the Student dataset (modeling students and job offers), Friends & Smokers (a social network model), and IMDB (actor and director relationships).
Performance and Scaling
The results indicate that lifted MMAP inference provides orders-of-magnitude improvements over ground inference. In the Student domain, the Lifted-SOM-R approach maintained nearly flat scaling as the number of objects increased, whereas ground inference quickly hit time and memory limits. This demonstrates that lifting is essential for scaling MMAP to real-world domain sizes.
Memory Efficiency
Memory usage was significantly reduced. In the Student dataset, the number of ground formulas required for inference dropped from thousands to nearly zero, as the SOM-R rule allowed the problem to be solved almost entirely at the first-order (lifted) level.
Conclusion and Future Work
This work represents a significant milestone in relational probabilistic reasoning by providing the first formal lifting rule for MMAP. By identifying SOM variables and proving the Extreme Assignment Property, the authors have enabled exact inference in models that were previously computationally intractable.
While the SOM-R rule applies to a specific class of variables, its success paves the way for future research. The authors identify several areas for growth, including the development of rules for more complex relational structures, the exploration of approximate lifting for "noisy" models where perfect symmetry is absent, and extending these rules to handle models with hard constraints.
Summary updated