[Paper Review] Scaling Up Probabilistic Circuits by Latent Variable Distillation
This paper proposes latent variable distillation (LVD), a method that enhances large probabilistic circuits (PCs) by leveraging supervision from deep generative models (e.g., Transformers) to guide latent variable assignments. By optimizing a lower-bound on the likelihood using these distilled assignments, LVD enables large PCs to fully utilize their capacity, achieving state-of-the-art performance on image and language modeling benchmarks, including competitive results against flow-based models and variational autoencoders.
Probabilistic Circuits (PCs) are a unified framework for tractable probabilistic models that support efficient computation of various probabilistic queries (e.g., marginal probabilities). One key challenge is to scale PCs to model large and high-dimensional real-world datasets: we observe that as the number of parameters in PCs increases, their performance immediately plateaus. This phenomenon suggests that the existing optimizers fail to exploit the full expressive power of large PCs. We propose to overcome such bottleneck by latent variable distillation: we leverage the less tractable but more expressive deep generative models to provide extra supervision over the latent variables of PCs. Specifically, we extract information from Transformer-based generative models to assign values to latent variables of PCs, providing guidance to PC optimizers. Experiments on both image and language modeling benchmarks (e.g., ImageNet and WikiText-2) show that latent variable distillation substantially boosts the performance of large PCs compared to their counterparts without latent variable distillation. In particular, on the image modeling benchmarks, PCs achieve competitive performance against some of the widely-used deep generative models, including variational autoencoders and flow-based models, opening up new avenues for tractable generative modeling. Our code can be found at https://github.com/UCLA-StarAI/LVD.
Motivation & Objective
- To address the performance plateau observed in large probabilistic circuits despite increasing model capacity.
- To improve the optimization of large PCs by providing extra supervision through latent variable assignments derived from expressive deep generative models.
- To enable scalable, efficient training of large PCs by reducing reliance on standard EM optimization.
- To demonstrate that LVD allows PCs to achieve competitive performance against non-trainable deep generative models like VAEs and flow-based models.
Proposed method
- LVD uses neural embeddings from a pre-trained deep generative model (e.g., BERT or Vision Transformer) to cluster training examples and assign semantics-aware values to latent variables in the PC.
- It introduces a modified training objective that optimizes a lower-bound on the marginal likelihood, using the induced latent variable assignments as supervision: ∑ᵢ log p(x⁽ⁱ⁾, z⁽ⁱ⁾).
- The method performs initial training using this lower-bound objective to guide optimization before fine-tuning on the full maximum-likelihood objective.
- The framework is specialized for image modeling by structuring PCs over image patches and using patch-wise latent-conditioned distributions.
- It employs techniques such as parameter tying and clustering to improve sample efficiency and reduce training time.
- The approach is general and can be adapted to various PC architectures and deep generative models.
Experimental results
Research questions
- RQ1Can latent variable distillation effectively overcome the performance plateau in large probabilistic circuits?
- RQ2Does using supervision from deep generative models improve the optimization and expressiveness of large PCs?
- RQ3Can LVD-trained PCs achieve competitive performance against non-trainable deep generative models like VAEs and flow-based models?
- RQ4How does LVD affect training efficiency and scalability of large PCs?
Key findings
- On ImageNet32, a 25M-parameter PC trained with LVD outperforms a 400M-parameter HCLT, demonstrating superior sample efficiency.
- LVD enables a progressive decrease in test set bits per dimension (bpd) as model size increases, indicating effective utilization of capacity.
- With LVD, a 500M-parameter PC was trained in 10 hours on a single A5000 GPU, significantly faster than baseline methods requiring over a day.
- On ImageNet32 and ImageNet64, LVD achieved bpd within 0.1–0.3 of state-of-the-art flow-based models and VAEs, showing strong competitiveness.
- The performance gap on CIFAR-10 is attributed to data scarcity, suggesting that architectural modifications like parameter tying could close this gap.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.