Abstract
Statistical Relational Learning (SRL) provides a powerful means to model complex dependencies, but grounding these models in large-scale data often results in massive, redundant graphical structures. We introduce Lifted Hinge-Loss Markov Random Fields (LHL-MRFs), a framework that accelerates Maximum A Posteriori (MAP) inference by identifying and collapsing these symmetries. By combining color refinement for symmetry detection with the Alternating Direction Method of Multipliers (ADMM) for convex optimization, LHL-MRFs achieve up to a 3x speedup on real-world citation and knowledge graph datasets while maintaining exact solutions.
Introduction
In Statistical Relational Learning, logic-like rules are used to define dependencies between entities. When applied to real-world datasets, these rules are "grounded," creating Hinge-Loss Markov Random Fields (HL-MRFs) with millions of variables and potentials. Despite their size, these models often exhibit significant structural redundancy because the same rules are applied repeatedly across different parts of the graph. Standard inference algorithms typically fail to exploit this redundancy, performing redundant calculations for identical substructures.
Methods: The LHL-MRF Framework
The proposed LHL-MRF framework addresses this inefficiency by performing inference on a compressed version of the model. The process involves three main stages:
- Symmetry Detection via Color Refinement: The HL-MRF is represented as a bipartite factor graph. A weighted color refinement algorithm is applied to group variables and potentials that are structurally indistinguishable.
- Lifting: Identical nodes are collapsed into "super-nodes," creating a "lifted" factor graph that is significantly smaller than the original.
- Lifted ADMM Optimization: The MAP inference problem—a convex optimization task in HL-MRFs—is solved on the compressed graph using a lifted version of the Alternating Direction Method of Multipliers (ADMM).
The authors mathematically prove that the solution obtained from the lifted graph is equivalent to the solution of the original, uncompressed problem, ensuring that speed gains do not come at the cost of accuracy.
Experimental Evaluation
The performance of LHL-MRFs was evaluated on several benchmarks:
- Citation Networks: Citeseer and Cora datasets for document classification.
- Knowledge Graphs: A large-scale Wikidata subset for entity resolution.
- Synthetic Models: A "Smoker" social network model to test the impact of graph density and varying levels of symmetry.
Results and Discussion
LHL-MRFs consistently outperformed standard HL-MRFs and commercial solvers like Gurobi in terms of scalability and speed.
As shown in the figure above, the lifting process significantly reduces the model size. For instance, the Citeseer dataset saw a 66% reduction in variables and potentials, while Cora achieved a 46% reduction. These reductions translated into nearly 3x faster total inference times on these datasets.
A key insight from the study is the "density trade-off": lifting is most effective in models with high structural symmetry. In scenarios with highly precise, noisy continuous values, the number of exact symmetries decreases, potentially increasing the relative overhead of the color refinement phase.
Conclusion
Lifted Hinge-Loss Markov Random Fields provide a robust method for scaling probabilistic inference in relational models. By exploiting exact symmetries, the framework reduces computational costs without introducing approximation errors. Future work includes exploring "approximate lifting" to group nearly-identical nodes for even greater speedups and applying these techniques to weight and structure learning.
Summary updated