Fast Algorithms for Relational Marginal Polytopes

Yuanhong Wang, Timothy van Bremen, Juhua Pu, Yuyi Wang, Ondrej Kuzelka

Introduction

Relational Marginal Polytopes (RMPs) are fundamental geometric objects in Statistical Relational Learning, representing the space of all possible expected values for grounding counts of logical formulas in models like Markov Logic Networks (MLNs). While knowing the RMP's structure simplifies tasks such as maximum-likelihood learning, their construction has historically been a major computational bottleneck. Previous approaches required an excessive number of calls to slow Weighted First-Order Model Counting (WFOMC) oracles.

A 3D visualization of a Relational Marginal Polytope (RMP).

The Fast-RMP Algorithm

This paper introduces Fast-RMP, which achieves 10–100x speedups by optimizing the construction process. Unlike prior "outside-in" methods that exhaustively check bounding half-spaces, Fast-RMP utilizes a vertex-centric approach. The core innovation is a verification step (Lemma 2) that uses a single, strategically constructed WFOMC call to determine if a candidate point is a true vertex. This allows for rapid pruning of the search space.

Additionally, the authors propose Fast-ApproxWFOMC, which uses the RMP as a "geometric filter" during approximate inference. By identifying and discarding regions of the search space that lie outside the RMP, the algorithm provides significantly tighter probability bounds and faster convergence.

Experimental Results

The algorithms were evaluated on benchmarks such as Friends and Smokers, Infection, and their transitive variants. Fast-RMP consistently outperformed existing baselines. For example, in the complex Smokers and Drinkers ($\Psi_3$) model, Fast-RMP succeeded where previous methods timed out after 10 hours.

Scaling of RMP complexity (vertices and facets) across different logical formulas as domain size increases.

As shown in the experimental data, while the number of vertices and facets grows with domain size and formula complexity, Fast-RMP manages this growth more effectively than previous techniques. The method is particularly potent for domain-liftable theories, where inference time scales polynomially.

Conclusion

Fast-RMP represents a significant step forward in making RMP construction practical for real-world relational models. While challenges remain—such as the "vertex explosion" in high-dimensional formula spaces and the reliance on WFOMC oracle efficiency for non-liftable theories—the geometric pruning and vertex verification techniques provide a robust foundation for future work in statistical relational inference.

Summary updated

BibTeX
@inproceedings{wang2021fast,
  author = {Yuanhong Wang and Timothy van Bremen and Juhua Pu and Yuyi Wang and Ondrej Kuzelka},
  title = {{Fast Algorithms for Relational Marginal Polytopes}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/586},
}
Figure