A Unified Lottery Ticket Hypothesis for Graph Neural Networks

Tianlong Chen, Yongduo Sui, Xuxi Chen, Aston Zhang, Zhangyang Wang

Introduction

Graph Neural Networks (GNNs) have become the standard for processing non-Euclidean data, but their deployment is often hindered by extreme computational costs. As GNNs grow deeper and the underlying graphs expand, the bottleneck shifts from simple model parameters to a dual challenge: model complexity and graph connectivity. While traditional pruning focuses on model weights, GNN efficiency is largely dictated by the "aggregation" phase, where nodes pull information from their neighbors. This paper introduces the Unified Lottery Ticket Hypothesis for GNNs, proposing that dense GNNs contain sparse "winning tickets"—optimized pairs of sub-graphs and sub-networks—that can match the performance of the full model with significantly reduced overhead.

Unified GNN Sparsification (UGS)

To identify these winning tickets, the authors developed the Unified GNN Sparsification (UGS) framework. This approach moves beyond isolated pruning by co-optimizing the graph structure and model weights simultaneously.

The Iterative Unified Graph Sparsification process, showing the transition from dense graphs and GNNs to sparse counterparts through iterative pruning.

The framework utilizes two primary innovations:

  1. Differentiable Masking: UGS introduces masks for both the graph adjacency matrix ($m_g$) and model weights ($m_\theta$). By applying $L_1$ regularization during training, the model learns to identify and remove non-essential edges and parameters.
  2. Iterative Magnitude Pruning (IMP): Following the original Lottery Ticket Hypothesis, Graph Lottery Tickets (GLTs) are identified by training the model, pruning the lowest-magnitude components, and rewinding the remaining weights to their original initializations. This cycle repeats until the target sparsity is achieved.

Experimental Results and Key Insights

The framework was validated across standard benchmarks (Cora, Citeseer, PubMed) and large-scale Open Graph Benchmark (OGB) datasets. The results demonstrate that GLTs can achieve massive efficiency gains without compromising accuracy.

Accuracy vs. Sparsity on Cora and Citeseer datasets. The red stars represent the "winning tickets" (GLTs) found by UGS, which match or exceed baseline performance at high sparsity levels.

Key Findings:

  • Massive Efficiency: GLTs achieved the same accuracy as full models while saving 20%–98% of Multiply-Accumulate (MAC) operations on small graphs and up to 85% on large-scale OGB datasets.
  • Superiority over Baselines: UGS consistently outperformed random pruning and other state-of-the-art methods like ADMM, particularly at extreme sparsity levels. For instance, on the Cora dataset, a GLT matched baseline performance using only ~41% of the original MACs.
  • Model Robustness: The Graph Attention Network (GAT) proved particularly pruning-resistant, as its attention mechanism naturally re-identifies critical connections even after heavy sparsification. Similarly, denser graphs (like Ogbn-Proteins) showed higher resilience due to path redundancy.

Limitations and Future Work

While the theoretical savings in MACs are substantial, translating these gains into real-world wall-clock speedups remains a challenge. Current GPU hardware is highly optimized for dense matrix operations; realizing the full potential of GLTs will require specialized kernels or sparse-dense matrix multiplication (SpMM) libraries. Additionally, the iterative nature of finding these tickets is computationally expensive, suggesting that future research should focus on more efficient search strategies.

Summary updated

BibTeX
@inproceedings{chen2021unified,
  author = {Tianlong Chen and Yongduo Sui and Xuxi Chen and Aston Zhang and Zhangyang Wang},
  title = {{A Unified Lottery Ticket Hypothesis for Graph Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=8ZwhIXa4yeW},
}
Figure