NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Continuous Graph Structure with Bilevel Programming for Graph Neural Networks

Minyang Hu, Hong Chang, Bingpeng Ma, Shiguang Shan

Abstract

Graph Neural Networks (GNNs) are highly sensitive to the quality of the input graph structure. Real-world data often contains noise, missing edges, or irrelevant connections that degrade model performance. We present LCGS, a framework that treats graph structure learning as a bilevel optimization problem. LCGS utilizes a dual-normalization technique to promote implicit sparsity and an improved Neumann-IFT algorithm for stable hypergradient computation. Experimental results on benchmark citation networks demonstrate that LCGS consistently outperforms existing methods, particularly in scenarios with significant structural noise.

Introduction

The performance of GNNs is fundamentally constrained by the accuracy of the underlying graph. In many practical scenarios, graphs are constructed from noisy data or are incomplete, leading to suboptimal node representations. Previous attempts to learn graph structures have struggled with the non-differentiability of discrete edges and a lack of ground-truth supervision. While continuous relaxations exist, they often result in dense, noisy graphs that are computationally expensive and difficult to interpret.

Methodology

The LCGS framework addresses these challenges through three primary innovations:

Dual-Normalization

To avoid the pitfalls of dense continuous graphs, LCGS models the graph as a real-valued matrix and applies a dual-normalization technique. This approach implicitly encourages sparsity, effectively "muting" weak or noisy connections without requiring manual thresholding or post-processing.

Bilevel Optimization

LCGS formulates graph structure learning as a nested optimization problem. The "inner loop" trains GNN parameters ($w$) on the training set given a fixed graph structure. The "outer loop" then updates the graph generator parameters ($\theta$) to minimize loss on a separate validation set. This ensures the learned graph generalizes well to unseen data.

The LCGS framework uses bilevel programming to optimize the graph generator (outer loop) and the GNN (inner loop) iteratively.

Improved Neumann-IFT

Calculating hypergradients in bilevel optimization is notoriously unstable. The authors enhance the Neumann-IFT (Implicit Function Theorem) algorithm with a Power Iteration step. This modification ensures the convergence of the mathematical series used for gradient approximation, providing a stable and memory-efficient training process.

Experimental Evaluation

The model was evaluated on standard citation benchmarks (Cora, Citeseer, and Pubmed) and their noisy variants.

Performance and Robustness

LCGS achieves state-of-the-art accuracy on clean datasets, notably reaching 85.0% on Cora and 75.9% on Citeseer. Its true strength lies in its robustness to structural perturbations. In experiments where 25% of edges were corrupted, LCGS maintained 75.5% accuracy on Cora, whereas a standard GCN dropped to 47.5%.

Comparison of LCGS against baseline GNNs and other structure learning methods across three benchmark datasets.

Scalability

By leveraging the efficiency of the improved Neumann-IFT, LCGS scales to larger datasets like Pubmed, which often pose memory challenges for traditional bilevel optimization methods.

Conclusion

LCGS provides a mathematically rigorous framework for learning graph structures that are both sparse and task-relevant. By treating the validation set as a supervisor and ensuring optimization stability, it offers a robust solution for deploying GNNs on noisy, real-world data. Future research may explore more complex graph generators and refined eigenvalue estimation techniques to further enhance stability.

Summary updated

BibTeX
@inproceedings{hu2022learning,
  author = {Minyang Hu and Hong Chang and Bingpeng Ma and Shiguang Shan},
  title = {{Learning Continuous Graph Structure with Bilevel Programming for Graph Neural Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/424},
}
Figure