Tensor Variable Elimination for Plated Factor Graphs
Not on the map. Why?
Abstract (arXiv)
A wide class of machine learning algorithms can be reduced to variable elimination on factor graphs. While factor graphs provide a unifying notation for these algorithms, they do not provide a compact way to express repeated structure when compared to plate diagrams for directed graphical models. To exploit efficient tensor algebra in graphs with plates of variables, we generalize undirected factor graphs to plated factor graphs and variable elimination to a tensor variable elimination algorithm that operates directly on plated factor graphs. Moreover, we generalize complexity bounds based on treewidth and characterize the class of plated factor graphs for which inference is tractable. As an application, we integrate tensor variable elimination into the Pyro probabilistic programming language to enable exact inference in discrete latent variable models with repeated structure. We validate our methods with experiments on both directed and undirected graphical models, including applications to polyphonic music modeling, animal movement modeling, and latent sentiment analysis.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Feb 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 1; 2025: 1; 2026: 1.
5 papers.
- 2023Automatically Marginalized MCMC in Probabilistic Programmingcited by 4
- 2024Probabilistic Programming with Programmable Variational Inferencecited by 4
- 2021A first approach to closeness distributionscited by 1
- 2025Combining Local Symmetry Exploitation and Reinforcement Learning for Optimised Probabilistic Inference -- A Work In Progresscited by 0
- 2026NeSyCat Torch: A Differentiable Tensor Implementation of Categorical Semantics for Neurosymbolic Learningcited by 0
- 2026NeSyCat Torch: A Differentiable Tensor Implementation of Categorical Semantics for Neurosymbolic Learning17 Jun 2026
- 2025Combining Local Symmetry Exploitation and Reinforcement Learning for Optimised Probabilistic Inference -- A Work In Progress11 Mar 2025
- 2024Probabilistic Programming with Programmable Variational Inference22 Jun 2024
- 2023Automatically Marginalized MCMC in Probabilistic Programming1 Feb 2023
- 2021A first approach to closeness distributions16 Nov 2021