To allow for tractable probabilistic inference with respect to domain sizes, lifted probabilistic inference exploits symmetries in probabilistic graphical models. However, checking whether two factors encode equivalent semantics and hence are exchangeable is computationally expensive. In this paper, we efficiently solve the problem of detecting exchangeable factors in a factor graph. In particular, we introduce the detection of exchangeable factors (DEFT) algorithm, which allows us to drastically reduce the computational effort for checking whether two factors are exchangeable in practice. While previous approaches iterate all $O(n!)$ permutations of a factor's argument list in the worst case (where $n$ is the number of arguments of the factor), we prove that DEFT efficiently identifies restrictions to drastically reduce the number of permutations and validate the efficiency of DEFT in our empirical evaluation.
翻译:为在领域规模下实现可处理的概率推理,提升概率推理利用概率图模型中的对称性。然而,检查两个因子是否编码等价语义(即是否可交换)在计算上代价高昂。本文高效解决了因子图中可交换因子检测问题。具体而言,我们提出了可交换因子检测(DEFT)算法,该算法能大幅降低实际中检查两个因子是否可交换所需的计算开销。现有方法在最坏情况下需遍历因子参数列表的所有$O(n!)$种排列(其中$n$为因子参数数量),而我们证明DEFT能高效识别约束条件,从而大幅减少排列数量,并在实验评估中验证了DEFT的高效性。