Automorphism Groups of Graphical Models and Lifted Variational Inference

Hung Hai Bui, Tuyen N. Huynh, Sebastian Riedel

Introduction

Probabilistic inference—the task of calculating the most likely state (MAP) or marginal probabilities in a graphical model—is a fundamental challenge in machine learning, known to be NP-hard. Traditional approaches often rely on the sparsity of connections between variables. However, modern models derived from first-order logic or relational databases are frequently highly connected yet exhibit significant symmetry. This paper provides a rigorous mathematical foundation for "lifted inference," using the theory of automorphism groups to formalize symmetry and enable efficient computation in a reduced-dimensional space.

Theoretical Framework: Symmetry and Orbits

The core innovation lies in bridging group theory with exponential families. The authors define symmetry through Automorphism Groups, where a pair of permutations—one for variables and one for features—leaves the model's probability distribution unchanged.

By applying "group action," variables and features are partitioned into orbits (equivalence classes). If two variables belong to the same orbit, they are guaranteed to share the same marginals and expectations. This allows for the construction of a "lifted graph" where nodes represent entire orbits rather than individual variables.

Illustration of a ground graph being transformed into a lifted graph via orbit partitioning.

Lifted Variational Inference

The authors prove that standard variational optimization, which typically occurs in a high-dimensional space, can be "lifted" to a lower-dimensional space defined by these orbits without any loss of information. A major technical contribution is the introduction of Lifted Cycle Inequalities. While cycle constraints are essential for ensuring consistency across loops in a graph, they are often computationally prohibitive. By lifting these constraints, the authors make them tractable, significantly improving the accuracy of the approximation compared to "local" methods that only consider nodes and edges.

To automate this process, the paper suggests representing models as colored factor graphs and using the nauty algorithm to detect symmetries efficiently.

Experimental Evaluation

The approach was evaluated using a synthetic Markov Logic Network (MLN) known as the "semi-transitive model." This model is particularly challenging because it enforces transitivity using repulsive weights, creating a complex structure for inference.

Key Results

  • Scalability: Lifted methods demonstrated significant speedups, scaling gracefully as the domain size increased, whereas traditional "ground" (propositional) methods quickly became computationally infeasible.
  • Accuracy: The "Lifted CYCLE" approach achieved objective values nearly identical to exact Integer Linear Programming (ILP) solutions. In contrast, "Lifted LOCAL" methods, which ignore cycle constraints, were notably less accurate.
  • Efficiency: For larger domains, the lifted cycle method was not only more accurate than local approximations but also faster than exact ILP solvers.

Conclusion and Future Work

This work formalizes symmetry as a tool for dimensionality reduction in probabilistic models. While the results for MAP inference are promising, future research is needed to extend these techniques to marginal inference and to handle "soft" symmetry breaking, where data is nearly but not perfectly symmetric. Additionally, while the nauty algorithm is effective in practice, the general problem of finding automorphism groups remains a point of computational interest.

Summary updated

BibTeX
@inproceedings{bui2013automorphism,
  author = {Hung Hai Bui and Tuyen N. Huynh and Sebastian Riedel},
  title = {{Automorphism Groups of Graphical Models and Lifted Variational Inference}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2013},
}
Figure