Scaling Tractable Probabilistic Circuits: A Systems Perspective
Anji Liu, Kareem Ahmed, Guy Van den Broeck
Abstract
Probabilistic Circuits (PCs) are a general framework for tractable deep generative models, which support exact and efficient probabilistic inference on their learned distributions. Recent modeling and training advancements have enabled their application to complex real-world tasks. However, the time and memory inefficiency of existing PC implementations hinders further scaling up. This paper proposes PyJuice, a general GPU implementation design for PCs that improves prior art in several regards. Specifically, PyJuice is 1-2 orders of magnitude faster than existing systems (including very recent ones) at training large-scale PCs. Moreover, PyJuice consumes 2-5x less GPU memory, which enables us to train larger models. At the core of our system is a compilation process that converts a PC into a compact representation amenable to efficient block-based parallelization, which significantly reduces IO and makes it possible to leverage Tensor Cores available in modern GPUs. Empirically, PyJuice can be used to improve state-of-the-art PCs trained on image (e.g., ImageNet32) and language (e.g., WikiText, CommonGen) datasets. We further establish a new set of baselines on natural image and language datasets by benchmarking existing PC structures but with much larger sizes and more training epochs, with the hope of incentivizing future research. Code is available at https: //github.com/Tractables/pyjuice.
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.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites Tractable Control for Autoregressive Language Generation
- On the Relationship Between Monotone and Squared Probabilistic Circuits cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
- Fast and Expressive Multi-Byte Prediction with Probabilistic Circuits cites A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference
- Fast and Expressive Multi-Byte Prediction with Probabilistic Circuits cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Fast and Expressive Multi-Byte Prediction with Probabilistic Circuits cites Tractable Control for Autoregressive Language Generation
- Fast and Expressive Multi-Byte Prediction with Probabilistic Circuits cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites On the Relationship Between Monotone and Squared Probabilistic Circuits
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites Tractable Control for Autoregressive Language Generation
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
- REASON: Accelerating Probabilistic Logical Reasoning for Scalable Neuro-Symbolic Intelligence cites CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
- REASON: Accelerating Probabilistic Logical Reasoning for Scalable Neuro-Symbolic Intelligence cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Semantic Probabilistic Layers for Neuro-Symbolic Learning cites A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference
- Semantic Probabilistic Layers for Neuro-Symbolic Learning cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
- Tractable Control for Autoregressive Language Generation cites CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
- Tractable Control for Autoregressive Language Generation cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Tractable Control for Autoregressive Language Generation cites Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic Circuits
Cited by top-tier papers12
- On the Relationship Between Monotone and Squared Probabilistic CircuitsBenjie Wang, Guy Van den BroeckAAAI 2025 · 16 citations
- Fast and Expressive Multi-Byte Prediction with Probabilistic CircuitsAndreas Grivas, Lorenzo Loconte, Emile van Krieken, Piotr Nawrot et al.ICML 2026 · 9 citations
- Tractable Sharpness-Aware Learning of Probabilistic CircuitsHrithik Suresh, Sahil Sidheekh, Vishnu Shreeram M. P, Sriraam Natarajan et al.AAAI 2026 · 2 citations
- REASON: Accelerating Probabilistic Logical Reasoning for Scalable Neuro-Symbolic IntelligenceZishen Wan, Che-Kai Liu, Jiayi Qian, Hanchen Yang et al.HPCA 2026 · 2 citations
- CTSketch: Compositional Tensor Sketching for Scalable Neurosymbolic LearningSeewon Choi, Alaia Solko-Breslin, Rajeev Alur, Eric WongNeurIPS 2025 · 1 citation
Builds on17
- CommonGen: A Constrained Text Generation Challenge for Generative Commonsense ReasoningBill Yuchen Lin, Wangchunshu Zhou, Ming Shen, Pei Zhou et al.EMNLP Findings 2020 · 239 citations
- Einsum Networks: Fast and Scalable Learning of Tractable Probabilistic CircuitsRobert Peharz, Steven Lang, Antonio Vergari, Karl Stelzner et al.ICML 2020 · 155 citations
- Semantic Probabilistic Layers for Neuro-Symbolic LearningKareem Ahmed, Stefano Teso, Kai-Wei Chang, Guy Van den Broeck et al.NeurIPS 2022 · 133 citations
- A Compositional Atlas of Tractable Circuit Operations for Probabilistic InferenceAntonio Vergari, YooJung Choi, Anji Liu, Stefano Teso et al.NeurIPS 2021 · 112 citations
- Tractable Control for Autoregressive Language GenerationHonghua Zhang, Meihua Dang, Nanyun Peng, Guy Van den BroeckICML 2023 · 63 citations
Related papers
- ESTroM: Element-Flow Architecture for Processing Sparse Tractable Probabilistic ModelsAnjunyi Fan, Xuejie Liu, Anji Liu, Qiuping Wu et al.HPCA 2026
- Scaling Up Probabilistic Circuits by Latent Variable DistillationAnji Liu, Honghua Zhang, Guy Van den BroeckICLR 2023 · 5 citations
- Sparse Probabilistic Circuits via Pruning and GrowingMeihua Dang, Anji Liu, Guy Van den BroeckNeurIPS 2022 · 25 citations
- Understanding the Distillation Process from Deep Generative Models to Tractable Probabilistic CircuitsXuejie Liu, Anji Liu, Guy Van den Broeck, Yitao LiangICML 2023 · 21 citations
- Lossless Compression with Probabilistic CircuitsAnji Liu, Stephan Mandt, Guy Van den BroeckICLR 2022 · 29 citations
