Abstract
This paper proposes a novel theoretical framework for graph classification by repurposing Graph Generative Models (GGMs). By deriving a "Logistic ELBO" (Evidence Lower Bound) for variational auto-encoders, the work provides a mathematical foundation for training generative models to perform discriminative tasks. This approach is designed to leverage the structural priors inherent in generative modeling to potentially offer superior performance on small graph datasets where traditional discriminative methods often struggle with generalization.
Introduction
In the field of machine learning on graphs, two primary research directions have largely evolved in isolation: graph classification and graph generation. Graph classification focuses on predicting labels for entire graph structures (e.g., determining the toxicity of a molecule), while graph generation focuses on creating new, realistic graph topologies.
The dominant paradigm for classification involves embedding a graph into a vector space and applying a standard classifier. However, graph data is frequently scarce, presenting a challenge for purely discriminative models. Drawing inspiration from non-relational domains like computer vision, where generative models often outperform discriminative ones in low-data regimes, this paper investigates whether the sophisticated machinery of graph generation can be adapted to improve classification accuracy.
Methodology: The Logistic Variational Auto-Encoder
The core contribution of this work is the transition from a generative perspective—modeling the probability of a graph given a label $P(\text{Graph} | \text{Label})$—to a discriminative one using the log-odds ratio. To achieve this, the paper introduces the Logistic Variational Auto-Encoder (VAE).
The Logistic ELBO
The author derives a new objective function termed the Logistic ELBO. While standard VAEs maximize the likelihood of the data, this variant maximizes the evidence lower bound of the classification accuracy. This provides a practical training objective for VAE-based graph classifiers, allowing the model to optimize for label prediction while maintaining its generative properties.
Architecture and Information Leakage
The proposed architecture utilizes a standard graph encoder to generate embeddings, paired with a class-conditional graph decoder. A significant challenge in using VAEs for classification is "information leakage," where the encoder might bypass structural learning by encoding the class label directly into the latent variable $z$.
To mitigate this, the paper adopts a Gaussian Stochastic Neural Network (GSNN) approach. By constraining the latent space and ensuring the recognition network aligns with the prior network, the model is forced to identify latent representations that are useful for structural reconstruction without simply "copy-pasting" the label. This ensures the decoder actually learns the underlying structural differences between classes.
Theoretical Insights
As a theoretical exploration, the paper offers several key insights into the intersection of generation and classification:
- Generative Advantage: The author argues that because graph data is complex and often limited, leveraging the priors of generative models can lead to faster convergence and better generalization than standard discriminative methods.
- Unified Framework: The derivation shows that any class-conditional GGM—including GraphVAEs, auto-regressive models, or diffusion models—can theoretically be converted into a classifier using the proposed formulas.
- Formalization of the "Cheating" Problem: The work provides a formal framework for understanding how encoders leak labels and offers a structural solution via the GSNN condition.
Conclusion and Future Work
While this paper establishes a robust mathematical blueprint for generative graph classification, it remains a theoretical contribution. The primary limitation is the current lack of empirical evaluation on standard benchmarks such as the TUDataset or Open Graph Benchmark (OGB). Additionally, the computational complexity of generative decoders, which often reconstruct full adjacency matrices, may be higher than that of simple MLP-based classifiers.
Future research will focus on implementing this architecture to test its performance against state-of-the-art Graph Neural Networks (GNNs), specifically in "small-data" regimes where the generative approach is hypothesized to provide the most significant benefit.
Summary updated