Lune

ICML2020Top-tier venue

Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits

Robert Peharz, Steven Lang, Antonio Vergari, Karl Stelzner, Alejandro Molina, Martin Trapp, Guy Van den Broeck, Kristian Kersting, Zoubin Ghahramani

Abstract

Probabilistic circuits (PCs) are a promising avenue for probabilistic modeling, as they permit a wide range of exact and efficient inference routines. Recent ``deep-learning-style'' implementations of PCs strive for a better scalability, but are still difficult to train on real-world data, due to their sparsely connected computational graphs. In this paper, we propose Einsum Networks (EiNets), a novel implementation design for PCs, improving prior art in several regards. At their core, EiNets combine a large number of arithmetic operations in a single monolithic einsum-operation, leading to speedups and memory savings of up to two orders of magnitude, in comparison to previous implementations. As an algorithmic contribution, we show that the implementation of Expectation-Maximization (EM) can be simplified for PCs, by leveraging automatic differentiation. Furthermore, we demonstrate that EiNets scale well to datasets which were previously out of reach, such as SVHN and CelebA, and that they can be used as faithful generative image models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

39 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Semantic Probabilistic Layers for Neuro-Symbolic Learning cites Tractable Regularization of Probabilistic Circuits
  • Tractable Control for Autoregressive Language Generation cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
  • Subtractive Mixture Models via Squaring: Representation and Learning cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
  • Subtractive Mixture Models via Squaring: Representation and Learning cites Tractable Regularization of Probabilistic Circuits
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers39

  1. Semantic Probabilistic Layers for Neuro-Symbolic LearningKareem Ahmed, Stefano Teso, Kai-Wei Chang, Guy Van den Broeck et al.NeurIPS 2022 · 133 citations
  2. Tractable Control for Autoregressive Language GenerationHonghua Zhang, Meihua Dang, Nanyun Peng, Guy Van den BroeckICML 2023 · 63 citations
  3. Tractable Regularization of Probabilistic CircuitsAnji Liu, Guy Van den BroeckNeurIPS 2021 · 50 citations
  4. Subtractive Mixture Models via Squaring: Representation and LearningLorenzo Loconte, Aleksanteri M. Sladek, Stefan Mengel, Martin Trapp et al.ICLR 2024 · 42 citations
  5. The Tractability of SHAP-Score-Based Explanations for Classification over Deterministic and Decomposable Boolean CircuitsMarcelo Arenas, Pablo Barceló, Leopoldo E. Bertossi, Mikaël MonetAAAI 2021 · 37 citations

Related papers

  1. Scaling Tractable Probabilistic Circuits: A Systems PerspectiveAnji Liu, Kareem Ahmed, Guy Van den BroeckICML 2024 · 26 citations
  2. Scaling Probabilistic Circuits via Monarch MatricesHonghua Zhang, Meihua Dang, Benjie Wang, Stefano Ermon et al.ICML 2025
  3. Lossless Compression with Probabilistic CircuitsAnji Liu, Stephan Mandt, Guy Van den BroeckICLR 2022 · 29 citations
  4. Sparse Probabilistic Circuits via Pruning and GrowingMeihua Dang, Anji Liu, Guy Van den BroeckNeurIPS 2022 · 25 citations
  5. Scaling Up Probabilistic Circuits by Latent Variable DistillationAnji Liu, Honghua Zhang, Guy Van den BroeckICLR 2023 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines