TL;DR
This paper proposes a novel method, LAG (Laplace Approximation-based Graph), to learn the underlying graph structure for Graph Neural Networks (GNNs) by maximizing the marginal likelihood. This approach offers a more flexible and less restrictive way to discover optimal graph structures compared to existing methods, leading to improved GNN performance on standard benchmarks.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) excel at leveraging graph structures for learning. However, the performance of GNNs is highly sensitive to the quality of the input graph. Real-world graph data can be noisy, incomplete, or simply not well-suited for a particular GNN architecture. While methods exist to learn graph structures, they often rely on strong assumptions (e.g., sparsity, homophily) or require complex, custom-designed loss functions, making them difficult to implement and potentially overly restrictive. This paper addresses the challenge of learning flexible and effective graph structures for GNNs without imposing such strong prior assumptions.
Methods
The core of the proposed method, LAG, is to frame graph structure learning as a Bayesian model selection problem. The authors propose using the marginal likelihood as the objective function: a higher marginal likelihood indicates a more probable graph structure. Since computing the exact marginal likelihood is intractable for neural networks, they employ two key techniques:
- Laplace Approximation: This method approximates the marginal likelihood, making it computationally feasible. The loss function for learning the graph structure is derived from the negative log of this approximated marginal likelihood.
- Straight Through Estimator (STE): Graph structures are inherently discrete (represented by adjacency matrices with 0s and 1s), making them non-differentiable and unsuitable for gradient-based optimization. STE allows for backpropagation through this discrete structure by using the discrete adjacency matrix in the forward pass and its continuous relaxation in the backward pass.
The overall approach is a bilevel optimization scheme: an inner loop trains the GNN parameters to minimize the empirical loss, and an outer loop updates the graph structure to maximize the marginal likelihood.
Datasets
The experiments were conducted on five standard graph datasets:
- Planetoid: Cora and Citeseer (citation networks where nodes are documents and edges are citations).
- WebKB: Cornell, Texas, and Wisconsin (web page link networks).
The node features for these datasets are represented as bag-of-word vectors. The paper considers two scenarios for initial graph structure: using the provided original graph and constructing an initial graph using a k-Nearest Neighbor (kNN) algorithm with k=3.
Key Insights and Ideas
- Marginal Likelihood as a Universal Objective: The paper demonstrates that marginal likelihood can serve as a principled and effective objective for learning graph structures, aligning well with model generalizability.
- Flexibility without Strong Assumptions: By using marginal likelihood, LAG can learn generic graph structures without needing to pre-define properties like sparsity or homophily, making it more adaptable.
- Simplicity and Effectiveness: The combination of Laplace approximation and STE provides a relatively simple yet powerful framework for graph structure learning, outperforming existing GCN-based methods.
- Correlation between Marginal Likelihood and Performance: The study shows a strong correlation between the learned marginal likelihood and the GNN's test accuracy, visually confirming the objective's effectiveness.
Key Results
- Improved Performance: LAG-GCN consistently outperforms vanilla GCN and other GCN-based graph structure learning (GSL) methods (LDS, IDGL) across various datasets and initializations.
- Competitive with State-of-the-Art: LAG-GCN matches the performance of Transformer-based GSL methods like NodeFormer, even when using a simpler GCN architecture.
- Significant Gains with kNN Initialization: With kNN graph initialization, LAG-GCN shows notable improvements, increasing average test accuracy by 3.27% on Planetoid and 2.09% on WebKB compared to NodeFormer.
- Validation Loss Correlation: Figure 2(a) shows that the marginal likelihood closely tracks the validation loss during training, indicating its role in guiding the model towards better generalization.
Limitations and Future Work
- Scalability: The paper acknowledges that improving the scalability of LAG is a future research direction. While the method is GNN-agnostic, its computational complexity might become a bottleneck for very large graphs.
- Approximation Accuracy: The effectiveness relies on the accuracy of the Laplace approximation and the GGN approximation for the Hessian. Further investigation into the impact of these approximations on performance could be beneficial.
Summary updated