Scaling Continuous Latent Variable Models as Probabilistic Integral Circuits

Gennaro Gala, Cassio de Campos, Antonio Vergari, Erik Quaeghebeur

Abstract

Probabilistic Integral Circuits (PICs) offer a promising middle ground between the expressiveness of continuous latent variable models and the tractability of probabilistic circuits. However, their application has been limited by tree-structured constraints and high memory requirements. This paper presents a scalable framework for PICs that utilizes directed acyclic graphs (DAGs) and neural functional sharing. By materializing symbolic PICs into tensorized Quadrature Probabilistic Circuits (QPCs), the proposed method achieves state-of-the-art density estimation while reducing parameter counts by up to 99.8% compared to traditional architectures.

Introduction

Generative modeling often faces a trade-off between expressiveness and tractability. Models like Variational Autoencoders (VAEs) and Diffusion models are highly expressive but lack guaranteed tractability for tasks like marginalization. Conversely, Probabilistic Circuits (PCs) provide exact inference but struggle to scale or model complex continuous dependencies. Probabilistic Integral Circuits (PICs) were introduced to bridge this gap by representing continuous latent variable models as symbolic computational graphs.

Transformation of a Probabilistic Graphical Model (PGM) into a tree-structured Probabilistic Integral Circuit (PIC).

Despite their potential, early PICs were restricted to simple tree structures and were memory-intensive. This work addresses these limitations by enabling DAG-shaped architectures and efficient parameterization.

Methodology

The authors propose three primary innovations to scale PICs for deep learning applications.

1. DAG-shaped PICs

By deriving PICs from arbitrary variable decompositions known as Region Graphs, the framework moves beyond simple trees to complex, overlapping hierarchies. This significantly enhances the model's representational power.

2. Tensorized Quadrature PCs (QPCs)

To facilitate training, symbolic PICs are "materialized" into concrete Probabilistic Circuits using numerical quadrature. These Quadrature PCs (QPCs) align with popular tensorized circuit architectures, providing a theoretical foundation for their success.

The pipeline from (a) Region Graphs to (b) PICs, (c) materialized QPCs, and finally (d) Tensorized QPCs.

3. Neural Functional Sharing

To overcome memory constraints, the authors introduce neural functional sharing. Instead of unique parameters for every unit, multi-headed Multi-Layer Perceptrons (MLPs) parameterize hundreds of units simultaneously. This "C-sharing" approach allows a single MLP trunk to serve multiple circuit heads, drastically reducing the parameter footprint.

Experimental Results

The framework was evaluated on standard image benchmarks, including MNIST, CIFAR-10, and ImageNet (32x32 and 64x64).

  • Efficiency: Neural functional sharing enabled a 99.8% reduction in parameters for large circuits (e.g., from 262M to 387k parameters) without sacrificing performance.
  • Performance: QPCs consistently outperformed standard PCs and deep generative baselines like HCLT and RAT-SPN in terms of bits-per-dimension (bpd).
  • Scalability: On ImageNet64, PICs with functional sharing maintained manageable memory usage, whereas non-shared versions encountered out-of-memory errors.

Conclusion

This work establishes PICs as a powerful and scalable "language" for hierarchical tensor factorizations. By combining the strengths of continuous latent variables with the tractability of circuits, PICs achieve competitive density estimation with extreme parameter efficiency. Future research will focus on enabling differentiable sampling and scaling to higher-resolution imagery.

Summary updated

BibTeX
@inproceedings{gala2024scaling,
  author = {Gennaro Gala and Cassio de Campos and Antonio Vergari and Erik Quaeghebeur},
  title = {{Scaling Continuous Latent Variable Models as Probabilistic Integral Circuits}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Ke40kfOT2E},
}
Figure