Abstract
Graph Neural Networks (GNNs) are highly sensitive to the quality of the input graph structure. In practice, these structures are often noisy, incomplete, or redundant, which degrades model performance. We introduce the Generative Predictive Network (GPN), a novel framework designed to jointly learn the optimal graph structure and perform downstream tasks. GPN formulates this as a bilevel optimization problem where a Generator refines the graph and a Predictor performs the target task. To overcome the computational challenges of nested optimization, GPN employs first-order and finite difference approximations. Experimental results across multiple benchmarks demonstrate that GPN significantly outperforms existing GNNs, particularly in scenarios with missing or noisy edges.
Introduction
Most Graph Neural Networks (GNNs) are "structure-dependent," meaning they rely heavily on the adjacency matrix provided at the start. However, real-world graphs—such as citation networks or social graphs—are rarely optimal. Missing references or noisy connections can lead to poor node representations.
Existing attempts to learn graph structures face two primary challenges: the discrete bottleneck, where binary edges prevent direct gradient descent, and the bilevel trap, where the nested nature of optimizing both the graph and the model weights is computationally prohibitive. GPN addresses these by treating graph refinement as a continuous, differentiable process within a scalable bilevel framework.
Methodology: The GPN Framework
GPN decomposes the learning process into two interconnected components:
- The Generator (Upper Level): This component takes the original graph and generates a "residual" adjacency matrix. By using node features and a similarity function, it identifies potential missing links or redundant edges.
- The Predictor (Lower Level): A standard GNN (e.g., GCN) that performs the final task using the refined graph.
Optimization and Scalability
To make bilevel optimization tractable, GPN avoids the "memory nightmare" of second-order gradients through two key approximations:
- First-Order Approximation (FOA): Estimates the direction of improvement using current model weights.
- Finite Difference Approximation (FDA): Simplifies complex derivatives into basic subtractions, significantly reducing computational overhead.
Additionally, a Multi-head Enhancement strategy allows multiple generators to propose diverse structures, increasing the predictor's robustness to various noise types.
Experimental Results
GPN was evaluated on standard benchmarks (Cora, CiteSeer, PubMed) and large-scale datasets (Amazon-Computers, Coauthor-CS).
Performance and Robustness
GPN consistently achieved state-of-the-art accuracy. For instance, on the Cora dataset, GPN reached 85.9% accuracy, compared to 81.4% for a standard GCN. A critical finding was GPN's resilience to incomplete data. As shown in the figure below, GPN maintains high performance even when a significant percentage of edges are removed, outperforming other structure-learning methods like LDS and GRCN.
Inductive Learning
GPN also showed remarkable inductive capabilities. In tests where the model was trained on only 40% of nodes, it achieved 83.8% accuracy—surpassing a standard GCN trained on the full 100% graph structure. This suggests that GPN successfully learns generalizable structural patterns rather than just memorizing the training graph.
Conclusion and Future Work
GPN provides a robust solution for GNNs operating on imperfect data. By integrating graph generation into the optimization loop via a residual framework, it "patches" structural flaws while preserving prior knowledge. While GPN scales better than previous bilevel methods, future work will focus on extending this framework to dynamic graphs and web-scale datasets with billions of edges.
Summary updated