TL;DR
Graph-Induced Sum-Product Networks (GSPNs) bridge the gap between deep graph networks and tractable probabilistic modeling. By structuring hierarchies of Sum-Product Networks (SPNs) to mirror the message-passing flow of standard graph neural networks, GSPNs can answer complex probabilistic queries and handle missing data naturally, all while remaining as efficient as their non-probabilistic counterparts.
What Problem Does This Paper Address?
Deep Graph Networks (DGNs) have become the standard for learning on graph-structured data, such as molecules or social networks. However, most DGNs act as "black boxes": they provide accurate predictions but struggle to quantify uncertainty or handle missing input attributes without relying on ad-hoc imputation methods.
While probabilistic graphical models (PGMs) offer a mathematically rigorous alternative, they often face a strict "tractability-expressiveness" tradeoff. Exact inference in cyclic graphs is usually NP-hard, forcing researchers to rely on slow approximations. The authors seek a model that combines the efficiency and representational power of deep learning with the mathematical rigor of a tractable probabilistic model. This combination allows the model to answer complex queries—like "What is the likelihood of this node's attributes given its neighborhood?"—in polynomial time.
Methods: Graph-Induced Sum-Product Networks
The authors introduce Graph-Induced Sum-Product Networks (GSPNs). The core architecture relies on two foundational concepts:
- Sum-Product Networks (SPNs): These are "probabilistic circuits" that represent a joint distribution as a computational directed acyclic graph (DAG) of sum nodes (mixtures) and product nodes (factorizations). They allow for exact, efficient marginalization and conditioning.
- Graph-Induced Trees: Standard message-passing networks implicitly create a "computation tree" for every node by aggregating information from neighbors $L$ hops away.
The GSPN Architecture: As illustrated above, GSPNs build a hierarchy of SPNs. Instead of passing arbitrary continuous feature vectors (as in a standard Graph Convolutional Network), GSPNs pass posterior distributions. Specifically, the prior mixing probabilities of a "parent" SPN at layer $\ell$ are learned transformations of the posterior probabilities from its "children" SPNs at layer $\ell-1$.
To handle the inherent intractability of cycles in real-world graphs, the authors employ a pseudo-likelihood objective. This treats the graph's joint distribution as a product of conditional distributions for each node, making the learning process computationally feasible and parallelizable on GPUs. They also introduce probabilistic shortcut connections (analogous to residual connections in deep learning) to prevent vanishing gradients in deep hierarchies.
Key Insights and Ideas
- Probabilistic Message Passing: GSPNs provide a formal probabilistic interpretation of message passing. A "message" isn't just a dense vector; it is evidence being propagated through a hierarchy of latent variables.
- Natural Handling of Missing Data: Because SPNs are used, missing attributes don't require "guessing" or imputation. You simply set the corresponding leaf nodes in the circuit to 1, effectively marginalizing out the missing variables mathematically.
- Counterfactual Reasoning: Because the model learns a full distribution, it enables "what-if" analyses. For example, the authors demonstrate how the likelihood of a molecule changes if you swap a Chlorine atom for an Oxygen atom, providing a layer of interpretability that standard GNNs lack.
Key Results
- Scarce Supervision: As shown in the table above, in scenarios where only a tiny fraction of labels are available, GSPNs significantly outperform standard supervised models like GIN and remain highly competitive with unsupervised baselines like Deep Graph Infomax (DGI).
- Missing Data Robustness: GSPNs achieved lower Negative Log-Likelihood (NLL) on missing attribute tasks compared to standard Gaussian Mixture Models (GMMs) because they successfully leverage the graph structure to "fill in the blanks."
- Competitive Performance: On standard graph classification benchmarks, GSPNs outperformed previous probabilistic models (like CGMM) and matched the performance of state-of-the-art neural models like GIN.
- Efficiency: Despite the probabilistic overhead, GSPNs' forward and backward pass times are comparable to standard GIN models, making them highly practical for real-world use.
Limitations and Future Work
- Pseudo-likelihood Approximation: While pseudo-likelihood makes the model tractable, it is still an approximation of the true joint distribution of a cyclic graph, which might introduce slight biases in specific edge cases.
- Edge Features: The current iteration of GSPN does not explicitly model edge types (e.g., single vs. double bonds in chemistry). The authors note that incorporating edge features would likely improve performance on chemical datasets.
- Aggregation Expressiveness: To maintain a fully probabilistic formulation, the authors used relatively simple neighborhood aggregation functions. Exploring more complex, yet still tractable, aggregations is a suggested next step for future research.
Summary updated