TL;DR
The Comprehensive Graph Gradual Pruning (CGP) framework slashes the massive computational costs of Graph Neural Networks (GNNs) by pruning model weights, graph edges, and node features simultaneously during a single training run. Unlike previous methods that require expensive iterative retraining, CGP achieves up to 250x faster inference and 2 orders of magnitude faster training while matching or even exceeding the accuracy of dense models.
What Problem Does This Paper Address?
Graph Neural Networks are notoriously "heavy." Their computational burden stems from three main sources: millions of edges in real-world graphs, high-dimensional node feature vectors (often thousands of features per node), and increasingly deep model architectures.
Existing solutions usually rely on the Lottery Ticket Hypothesis (LTH), which involves an iterative "train-prune-retrain" cycle. This is problematic because:
- Extreme Training Cost: You have to train a dense model multiple times, which is slow and requires high-memory hardware.
- Incomplete Pruning: Most methods only trim model weights and graph edges, completely ignoring the massive redundancy in node features.
The authors set out to create a "one-shot" training paradigm that prunes everything—weights, structure, and features—gradually as the model learns.
Methods
The core of the paper is the CGP framework, which introduces three key innovations:
- Comprehensive Sparsification: CGP uses differentiable soft-masks and magnitude-based pruning to target three elements: model weights ($W$), the adjacency matrix ($A$), and the node feature matrix ($X$).
- During-Training Paradigm: Instead of waiting for a dense model to converge, CGP uses a "gradual magnitude pruning" schedule. Sparsity increases following a cubic curve over the course of a single training process, reaching the target sparsity just as the model converges.
- Regrowth Process: To prevent the permanent loss of important connections pruned early on, CGP incorporates a regrowth mechanism. It periodically removes the least important remaining connections and "regrows" new ones based on gradient or momentum magnitude, allowing the sparse structure to evolve and self-correct.
- Sparse-to-Sparse Support: The framework can even start with sparse initializations, significantly reducing the memory footprint on low-capacity devices from the very first epoch.
Datasets
The authors evaluated CGP across 14 real-world datasets and 6 GNN architectures (including GCN, GAT, SGC, APPNP, and deep models like GCNII and ResGCN):
- Small-scale: Cora, CiteSeer, PubMed (citation networks); Cornell, Texas, Wisconsin (web pages); Actor (film-related).
- Medium-scale: CS, Physics (co-authorship); Photo, Computers (Amazon co-purchase).
- Large-scale (Open Graph Benchmark):
ogbn-arxiv,ogbn-proteins, andogbn-products.
Key Insights and Ideas
- Node Features are Bloated: One of the biggest "aha" moments is that node features in most graphs are 70-80% redundant. Pruning them doesn't just save memory; it can actually improve accuracy by removing noise.
- Pruning as a Regularizer for Heterophily: In "heterophilous" graphs (where connected nodes often belong to different classes), edges are often "noisy." CGP found that aggressively pruning edges in these graphs led to massive accuracy boosts (up to 120% over baselines) because the model learned to ignore misleading connections.
- Global vs. Layer-wise: The authors found that global pruning (pruning the smallest weights across the whole model) outperforms layer-wise pruning because it naturally preserves more parameters in critical layers while stripping them from redundant ones.
- Regrowth is the Safety Net: The regrowth process is essential at extreme sparsity (e.g., 99.9%). It allows the model to "change its mind" about which connections are important as the weights evolve.
Key Results
- Efficiency: CGP is up to 45x faster to train than LTH-based methods like UGS and achieves up to 250x faster inference on specific datasets (e.g., Photo).
- Extreme Sparsity: The model maintains satisfactory performance even when 99.9% of model weights are removed.
- Scalability: On large-scale OGB datasets, CGP achieved matching performance with deep ResGCN models while saving 80% of Multiply-Accumulate (MAC) operations.
- Heterophily Performance: On the Cornell dataset, CGP (using APPNP) improved accuracy from ~40% (baseline) to ~89% by pruning away noisy graph structures.
Limitations and Future Work
- Mini-batch Constraints: For the largest OGB datasets, the authors had to use mini-batch testing due to RAM limitations (full-batch inference on
ogbn-productsrequires ~405 GB). This led to a slight decrease in accuracy compared to leaderboard-topping full-batch methods. - Future Directions: The authors plan to extend the work to channel pruning (pruning hidden layer embeddings, not just input features) and explore how these sparse training techniques can be generalized to other graph tasks like link prediction and graph classification.
Summary updated