Efficient Detection of Commutative Factors in Factor Graphs

Malte Luttermann, Johann Machemer, Marcel Gehrke
7/23/2024
cs.AIcs.DScs.LG

No official code found. Best implementation: StatisticalRelationalAI/DECOR (0 stars, GPL-3.0, last commit 2024-07-15).

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(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.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Source code for the paper "Efficient Detection of Commutative Factors in Factor Graphs" (PGM 2024)

00R, JuliaJul 15, 20242 years agoGPL-3.0
factor-graphslifted-inferenceprobabilistic-graphical-models

Similar Papers

Cite this paper

@article{luttermann2024efficient,
  title  = {Efficient Detection of Commutative Factors in Factor Graphs},
  author = {Malte Luttermann and Johann Machemer and Marcel Gehrke},
  year   = {2024},
  eprint = {2407.16280},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.16280v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.16280.svg)](https://codeofpaper.com/paper/2407.16280)

Discussion