Efficient Detection of Commutative Factors in Factor Graphs
<|reference_start|>Efficient Detection of Commutative Factors in Factor Graphs: 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(2^n)$ iterations for a factor with $n$ 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.<|reference_end|>
@article{luttermann2024efficient,
    title={Efficient Detection of Commutative Factors in Factor Graphs},
    author={Malte Luttermann, Johann Machemer, Marcel Gehrke},
    journal={arXiv preprint arXiv:2407.16280},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.16280},
    primaryClass={cs.AI cs.DS cs.LG}
}