Abstract
Continuous latent variables (LVs) are a key ingredient of many generative models, as they allow modelling expressive mixtures with an uncountable number of components. In contrast, probabilistic circuits (PCs) are hierarchical discrete mixtures represented as computational graphs composed of input, sum and product units. Unlike continuous LV models, PCs provide tractable inference but are limited to discrete LVs with categorical (i.e. unordered) states. We bridge these model classes by introducing probabilistic integral circuits (PICs), a new language of computational graphs that extends PCs with integral units representing continuous LVs. In the first place, PICs are symbolic computational graphs and are fully tractable in simple cases where analytical integration is possible. In practice, we parameterise PICs with light-weight neural nets delivering an intractable hierarchical continuous mixture that can be approximated arbitrarily well with large PCs using numerical quadrature. On several distribution estimation benchmarks, we show that such PIC-approximating PCs systematically outperform PCs commonly learned via expectation-maximization or SGD.
Introduction
In the field of machine learning, researchers often face a fundamental trade-off between expressivity and tractability. Continuous Latent Variable (LV) models, such as Variational Autoencoders (VAEs), are highly expressive because they model data as a mixture of an infinite number of components. However, calculating marginal probabilities in these models typically requires solving high-dimensional integrals that are computationally intractable.
On the other hand, Probabilistic Circuits (PCs) are computational graphs that represent probability distributions as hierarchical mixtures. While PCs are tractable—allowing for exact and efficient computation of marginals and conditionals—they have traditionally been limited to discrete latent variables. This limitation often prevents them from capturing the complex, smooth dependencies inherent in real-world data. This paper introduces Probabilistic Integral Circuits (PICs) to bridge this gap, enabling the use of continuous latent variables within a tractable circuit-based framework.
The PIC Framework: From Symbolic Integrals to Concrete Circuits
The core innovation of this work is the Integral Unit ($\int$). While standard PCs rely on sum and product units, PICs introduce units that represent a symbolic integral over a continuous variable.
To transform these symbolic graphs into executable models, the authors employ numerical quadrature (specifically the trapezoidal rule). This process "materializes" the PIC into a Quadrature Probabilistic Circuit (QPC), effectively turning continuous integrals into weighted sums.
To ensure the model remains compact and expressive, the conditional distributions within the PIC are parameterized using lightweight Neural Energy-Based Models (EBMs). These networks are further enhanced with Fourier Feature Layers (FFLs), which allow the small neural networks to learn complex, high-frequency patterns in low-dimensional latent spaces. Training is performed via maximum likelihood, where gradients are backpropagated through the quadrature points to update the neural parameters.
Experimental Evaluation
The authors evaluated PICs across several distribution estimation benchmarks, including the MNIST family (MNIST, FashionMNIST, EMNIST) and the Penn Tree Bank (PTB) for character-level language modeling.
A significant advantage of the PIC approach is the "Circuit Factory" property. A single trained PIC acts as a template; at test time, users can choose the number of integration points ($N$) to balance accuracy and inference speed without needing to retrain the model. Furthermore, because parameters are generated by neural networks, the stored model is significantly more compact than its materialized counterpart.
On the PTB dataset, QPCs achieved a bits-per-dimension (BPD) of 1.22, setting a new state-of-the-art for non-autoregressive models and significantly outperforming the previous best, SparsePC (1.35). In the MNIST family, QPCs systematically outperformed standard Hidden Chow-Liu Trees (HCLTs) and other complex baselines.
Discussion and Future Work
While PICs represent a major step forward, challenges remain. The current implementation uses univariate integrals nested within a tree structure. Scaling this to high-dimensional, highly connected latent spaces is difficult due to the "curse of dimensionality" in numerical integration. Additionally, because the internal components are EBMs, the models do not support direct differentiable sampling. Future research may explore replacing EBMs with Normalizing Flows to enable sampling or developing methods for learning the PIC structure itself from data.
Conclusion
Probabilistic Integral Circuits successfully unify the expressivity of continuous latent variable models with the tractability of probabilistic circuits. By materializing symbolic integrals through numerical quadrature and neural parameterization, PICs offer a robust, compact, and high-performing framework for deep generative modeling.
Summary updated