English

Efficient Detection of Commutative Factors in Factor Graphs

Artificial Intelligence 2024-07-24 v1 Data Structures and Algorithms Machine Learning

Abstract

Lifted probabilistic inference exploits symmetries in probabilistic graphical models to allow for tractable probabilistic inference with respect to domain sizes. To exploit symmetries in, e.g., factor graphs, it is crucial to identify commutative factors, i.e., factors having symmetries within themselves due to their arguments being exchangeable. The current state of the art to check whether a factor is commutative with respect to a subset of its arguments iterates over all possible subsets of the factor's arguments, i.e., O(2n)O(2^n) iterations for a factor with nn arguments in the worst case. In this paper, we efficiently solve the problem of detecting commutative factors in a factor graph. In particular, we introduce the detection of commutative factors (DECOR) algorithm, which allows us to drastically reduce the computational effort for checking whether a factor is commutative in practice. We prove that DECOR efficiently identifies restrictions to drastically reduce the number of required iterations and validate the efficiency of DECOR in our empirical evaluation.

Keywords

Cite

@article{arxiv.2407.16280,
  title  = {Efficient Detection of Commutative Factors in Factor Graphs},
  author = {Malte Luttermann and Johann Machemer and Marcel Gehrke},
  journal= {arXiv preprint arXiv:2407.16280},
  year   = {2024}
}

Comments

Accepted to the Proceedings of the 12th Conference on Probabilistic Graphical Models (PGM 2024)

R2 v1 2026-06-28T17:50:34.561Z