Abstract
This paper introduces a framework for "lifting" probabilistic inference by automatically discovering symmetries in graphical models, rather than requiring them to be pre-defined. By using tunable approximations—specifically approximate bisimulation and factor binning—the authors allow users to trade a small amount of accuracy for orders-of-magnitude speedups in complex reasoning tasks. The approach is validated on both synthetic and real-world datasets, demonstrating significant performance gains with minimal error.
Introduction
Probabilistic inference, the task of calculating the likelihood of events given observed data, is a fundamental challenge in artificial intelligence, often categorized as NP-hard. Lifted inference provides a powerful shortcut by identifying symmetries within a model: if two components are identical, the system performs the calculation once and reuses the result.
Traditionally, lifted inference has relied on models being pre-defined in high-level, first-order languages like Markov Logic. However, many real-world applications involve "ground" models—massive graphs of raw variables and dependencies—where such symmetries are not explicitly labeled. This research addresses the critical need to discover these symmetries automatically and approximate them to achieve practical scalability on massive datasets.
Methodology: Discovering and Approximating Symmetry
The authors build their framework on the rv-elim graph, a data structure that maps the steps of variable elimination. They introduce two primary mechanisms to control the trade-off between computational speed and inference accuracy.
Symmetry Discovery via Bisimulation
Bisimulation is a graph-theoretic concept used to find equivalent nodes. While exact bisimulation can be computationally expensive, the authors propose $k$-bisimilarity. By examining only incoming paths of length $k$, the algorithm can group nodes that are "locally" similar. This results in a significantly compressed graph that retains the essential structural properties required for accurate inference.
Approximate Symmetry via Factor Binning
In real-world, noisy datasets, two probability tables (factors) are rarely identical. The authors introduce a threshold parameter, $\epsilon$, to allow for "close enough" symmetries. If the distance between two factors is within $\epsilon$, they are treated as identical and binned together. Finding the optimal grouping is a complex problem, which the authors solve using a greedy heuristic integrated into their Factor Binning algorithm.
Experimental Results
The unified inference engine was evaluated across several domains, including synthetic Bayesian networks and real-world citation datasets like Cora and CiteSeer.
- Efficiency: On synthetic data, the approximate lifted inference achieved speedups of two orders of magnitude over standard ground inference. In comparative tests, the approximate method was 3x faster than exact lifted inference while maintaining an acceptable 18% error rate.
- Real-World Impact: On the Cora dataset, the framework achieved a 2.7x speedup with only a 4.8% loss in accuracy. Similar results were observed on CiteSeer, with a 1.55x speedup and a negligible 1.9% accuracy loss.
- Memory Management: Beyond speed, the compression techniques significantly reduced the memory footprint required for inference, making it feasible to process larger models on standard hardware.
Conclusion
This work demonstrates that symmetry is a discoverable property inherent in the DNA of graphical models. By providing tunable "knobs"—$k$ for path length and $\epsilon$ for factor distance—the authors offer a flexible spectrum for inference. This allows practitioners to meet specific time budgets without sacrificing the integrity of their probabilistic reasoning. Future work will focus on the automatic selection of these parameters and integrating these bottom-up discovery techniques with top-down first-order descriptions.
Summary updated