Introduction
Probabilistic inference—the task of calculating probabilities or finding the most likely state in a model—is a cornerstone of machine learning but is notoriously difficult, often reaching NP-hard complexity. However, many real-world models, particularly those derived from relational logic like Markov Logic Networks (MLNs), exhibit significant internal symmetry. For instance, in a social network model where every individual follows identical behavioral rules, treating each person as a unique variable is computationally redundant.
This paper establishes a rigorous mathematical foundation for "lifted inference," which exploits these redundancies by performing calculations once for groups of symmetric objects. By utilizing the theory of automorphism groups, the authors formally define symmetry in probabilistic models and demonstrate how to "lift" advanced variational inference techniques, such as MAP estimation with cycle constraints.
Formalizing Symmetry through Group Theory
The authors bridge the gap between group theory and machine learning by defining the automorphism group of an exponential family. If the variables and features of a model can be permuted without altering the underlying distribution, these permutations form a group that characterizes the model's symmetry.
Using the concept of "group action," the authors partition variables and features into orbits (equivalence classes). They prove that for any symmetric optimization problem, the optimal solution must reside within a "lifted" space where all members of a single orbit share the same value. This allows for a dramatic reduction in the dimensionality of the problem.
Lifted Variational Inference and Cycle Constraints
A major contribution of this work is the lifting of cycle constraints. While standard lifted inference often focuses on local constraints, cycle constraints enforce consistency across loops in a graph, providing significantly tighter and more accurate results. The authors prove that if a set of constraints depends solely on the graph structure, the lifted version of those constraints remains valid. This allows the accuracy of cycle-consistent inference to be achieved with the efficiency of lifted methods.
To detect these symmetries, the authors propose two primary methods:
- Graph Automorphism: Using tools like
nautyon the grounded graph. - Renaming: Analyzing the high-level logical "recipes" (first-order logic structure) in MLNs, which is often more efficient than processing the final grounded graph.
Experimental Evaluation
The framework was evaluated using a "semi-transitive" Markov Logic Network, a synthetic benchmark designed to challenge lifted inference by modeling random graphs with repulsive interactions and transitivity rules.
Key Results
- Scalability: As domain size (number of entities) increased, ground methods scaled poorly. In contrast, lifted methods—particularly the "renaming" variant—maintained nearly constant runtimes.
- Accuracy: The Lifted CYCLE method achieved objective values very close to the exact Integer Linear Programming (ILP) solution, significantly outperforming the standard LOCAL LP relaxation baseline.
- Efficiency: The lifted cycle algorithm converged much faster than its propositional (non-lifted) counterpart, which was only marginally faster than the slow ILP approach.
Conclusion and Future Work
By treating symmetry as a formal mathematical group, this research moves lifted inference from an intuitive heuristic to a rigorous framework applicable to any exponential family. While the current work focuses on MAP inference in discrete models, future directions include extending these group-theoretic approaches to marginal inference (calculating specific variable probabilities) and applying the framework to continuous or hybrid domains. Additionally, the authors aim to refine the "renaming" implementation to further eliminate dependencies on domain size.
Summary updated