Abstract
Probabilistic Neural Circuits (PNCs) represent a novel class of generative models that synthesize the tractability of Probabilistic Circuits (PCs) with the expressive power of deep neural networks. By employing neural networks to dynamically compute the mixing weights of sum units, PNCs effectively function as deep mixtures of Bayesian networks. This architecture allows for efficient, exact inference while significantly outperforming traditional circuit-based models in density estimation tasks.
Introduction: The Expressivity-Tractability Trade-off
A fundamental challenge in machine learning is balancing model expressivity with computational tractability. Standard Neural Networks (NNs) are highly expressive but function as "black boxes" regarding probabilistic queries, often requiring expensive approximate sampling for marginal or conditional probabilities. Conversely, Probabilistic Circuits (PCs), such as Sum-Product Networks, offer polynomial-time exact inference but are constrained by structural requirements like smoothness and decomposability. These constraints often limit their performance on high-dimensional, complex data.
Probabilistic Neural Circuits (PNCs) are introduced to bridge this gap, providing a framework that maintains the rigorous inference capabilities of PCs while leveraging the representational strength of deep learning.
Methodology
The PNC framework is developed through three primary conceptual advancements:
- Conditional Probabilistic Circuits (CPCs): The model generalizes standard PCs by allowing units to represent conditional distributions $p(x | \text{parents})$ rather than just joint distributions. This theoretical shift transforms the circuit into a deep mixture of Bayesian networks.
- Neural Weight Approximation: To overcome the computational impossibility of calculating weights for every possible conditioning set, PNCs utilize small neural networks to dynamically generate the weights of "sum units" based on ancestor variables in the circuit.
- Layered Convolutional Implementation: For practical application to image data, a layered architecture is employed. This uses convolutional neural networks with "half kernels"—where specific weights are fixed to zero—to ensure a strict partial ordering of variables. This ordering is crucial for maintaining valid probabilistic inference.
Key Innovations: Neural Networks as Weight Generators
The central innovation of PNCs is the use of neural networks not for direct prediction, but as dynamic weight generators for probabilistic components. This allows the model to decide how to mix different distributions based on the context provided by previously processed variables.
By maintaining a strict partial ordering (facilitated by the half-kernel trick), complex functions like deep CNNs can be integrated into the circuit without compromising the ability to perform exact marginalization. This makes PNCs a strictly more general version of existing models like Sum-Product-Quotient Networks (SPQNs).
Experimental Evaluation
The models were evaluated on the MNIST family of datasets, including original MNIST, FashionMNIST, and various EMNIST subsets. The primary metric for density estimation was bits per dimension (bpd), where lower values indicate better performance.
Density Estimation Results
PNCs consistently achieved state-of-the-art results for circuit-based models:
- MNIST: PNC achieved 0.87 bpd, a significant improvement over the 1.32 bpd of standard PCs.
- EMNIST: PNCs outperformed recent models such as SHCLT and RAT-SPNs across all variants.
- Comparison to Flows: PNCs also showed competitive performance against sophisticated flow-based models like IDF.
Classification Performance
In discriminative tasks, PNCs reached an accuracy of 98.04% on MNIST. While high, this was slightly lower than specialized "Logistic Circuits," likely due to the absence of aggressive regularization techniques common in those models.
Conclusion and Future Directions
Probabilistic Neural Circuits successfully demonstrate that neural networks can enhance the expressive power of tractable probabilistic models. While powerful, current limitations include a susceptibility to overfitting in classification and a reliance on predefined tree structures.
Future research will focus on developing specific regularization techniques for hybrid neural-probabilistic architectures, evaluating generative sampling quality compared to Autoregressive Models (ARMs), and automating the discovery of optimal circuit structures from data.
Summary updated