Bisimulation-based Approximate Lifted Inference

Prithviraj Sen, Amol Deshpande, Lise Getoor

Abstract

Probabilistic inference in large relational models is often computationally expensive due to the sheer number of factors and variables. While "lifted inference" techniques exploit symmetries to reduce complexity, they typically require explicit first-order logical representations and are sensitive to minor variations in factor values. This paper presents a novel framework for approximate lifted inference that automatically discovers symmetries in ground models using graph-theoretic bisimulation. By introducing tunable parameters for factor similarity and path length, the proposed method enables a trade-off between inference accuracy and computational efficiency. Experimental results on synthetic and real-world citation networks demonstrate significant speedups and memory reductions with minimal loss in accuracy.

Introduction

Probabilistic graphical models (PGMs) are powerful tools for reasoning under uncertainty, but exact inference—such as variable elimination—is often intractable for large-scale relational data. "Lifted inference" aims to mitigate this by grouping symmetric computations, effectively calculating the math once and reusing it. However, traditional lifted inference relies on two restrictive assumptions: the availability of a first-order logical structure and the presence of perfect symmetries. This paper addresses these gaps by introducing a method to automatically discover and exploit approximate symmetries directly from ground models.

The rv-elim Graph and Bisimulation

The core of the proposed approach is the rv-elim graph, a representation that tracks the sequence of factor multiplications and summations during inference.

The initial graphical model structure used as a basis for inference.

To compress this graph, the authors employ bisimulation, a concept from concurrency theory. In this context, two nodes are bisimilar if their computational histories (incoming paths) are identical. By grouping bisimilar nodes, the inference engine can perform calculations once and reuse the results across the group. This process does not require a pre-defined first-order model, making it applicable to arbitrary graphical models.

Approximate Lifting Techniques

The authors extend exact lifting to handle real-world noise and minor variations through two main innovations:

  1. Approximate Bisimulation ($k$-bisimilarity): Instead of checking the entire history, the algorithm only compares paths up to a user-defined length $k$. This captures local symmetries even when global ones are broken.
  2. Factor Binning: Factors (clique potentials) that are numerically "close" (within a user-specified distance $\epsilon$) are treated as identical. The authors prove that this Factor Binning problem is equivalent to the NP-complete Dominating Set problem and solve it using a greedy set-cover approximation.
The progression of graph compression: (a) the original ground rv-elim graph, (b) the graph after exact lifting, and (c) the highly compressed graph achieved through approximate lifting.

As shown in the figure above, approximate lifting (c) significantly reduces the graph size compared to exact lifting (b), which in turn is smaller than the ground model (a). This "close enough" principle unlocks massive speedups that exact methods cannot achieve.

Performance and Results

The framework was tested on synthetic Bayesian Networks and real-world citation datasets (Cora and CiteSeer).

  • Efficiency: On synthetic data, the unified engine achieved over 100x speedup compared to ground inference. On the Cora dataset, it provided a 2.7x speedup with only a 4.8% drop in accuracy.
  • Memory Savings: Even in cases where wall-clock speedups were modest, the reduction in the number of intermediate factors led to substantial memory efficiency.
  • Low Overhead: The preprocessing time for symmetry discovery was negligible, often taking less than a second even on large networks, ensuring that the benefits of lifting are not outweighed by the cost of finding symmetries.

Conclusion

By moving away from the requirement for perfect symmetry and explicit logic, this work makes lifted inference applicable to a broader class of real-world problems. The tunable parameters $k$ and $\epsilon$ allow practitioners to balance the trade-off between speed and precision, making it a versatile tool for large-scale probabilistic reasoning. Future work includes automating parameter selection and integrating these techniques with other bounded-complexity inference algorithms.

Summary updated

BibTeX
@inproceedings{sen2009bisimulation,
  author = {Prithviraj Sen and Amol Deshpande and Lise Getoor},
  title = {{Bisimulation-based Approximate Lifted Inference}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2009},
}
Figure