[Paper Review] Sparse Graph Attention Networks
This paper proposes Sparse Graph Attention Networks (SGATs), which learn sparse attention coefficients via L₀-norm regularization to identify and remove noisy or irrelevant edges from graphs. By sharing a single attention coefficient across all layers and heads, SGATs achieve improved performance on disassortative graphs and maintain accuracy on assortative graphs while pruning 50%-80% of edges.
Graph Neural Networks (GNNs) have proved to be an effective representation learning framework for graph-structured data, and have achieved state-of-the-art performance on many practical predictive tasks, such as node classification, link prediction and graph classification. Among the variants of GNNs, Graph Attention Networks (GATs) learn to assign dense attention coefficients over all neighbors of a node for feature aggregation, and improve the performance of many graph learning tasks. However, real-world graphs are often very large and noisy, and GATs are prone to overfitting if not regularized properly. Even worse, the local aggregation mechanism of GATs may fail on disassortative graphs, where nodes within local neighborhood provide more noise than useful information for feature aggregation. In this paper, we propose Sparse Graph Attention Networks (SGATs) that learn sparse attention coefficients under an $L_0$-norm regularization, and the learned sparse attentions are then used for all GNN layers, resulting in an edge-sparsified graph. By doing so, we can identify noisy/task-irrelevant edges, and thus perform feature aggregation on most informative neighbors. Extensive experiments on synthetic and real-world graph learning benchmarks demonstrate the superior performance of SGATs. In particular, SGATs can remove about 50\%-80\% edges from large assortative graphs, while retaining similar classification accuracies. On disassortative graphs, SGATs prune majority of noisy edges and outperform GATs in classification accuracies by significant margins. Furthermore, the removed edges can be interpreted intuitively and quantitatively. To the best of our knowledge, this is the first graph learning algorithm that shows significant redundancies in graphs and edge-sparsified graphs can achieve similar or sometimes higher predictive performances than original graphs.
Motivation & Objective
- To address overfitting and noise sensitivity in Graph Attention Networks (GATs) on large, noisy real-world graphs.
- To reduce redundancy in GATs, where multiple attention heads produce highly similar attention distributions.
- To develop a graph learning method that can identify and remove task-irrelevant or noisy edges automatically.
- To improve performance on disassortative graphs, where local aggregation in GATs fails due to neighborhood noise.
- To demonstrate that edge-sparsified graphs can achieve comparable or better performance than original graphs.
Proposed method
- Apply L₀-norm regularization to the attention coefficients to encourage sparsity in edge selection across all GNN layers.
- Share a single set of attention coefficients across all attention heads and all layers, simplifying the GAT architecture.
- Learn a single attention weight per edge that is used throughout the entire network, reducing redundancy.
- Use a differentiable approximation of the L₀ norm via a concrete relaxation to enable end-to-end training.
- Optimize the model using stochastic gradient descent with a sparsity-inducing hyperparameter λ to control edge pruning.
- Integrate the sparse attention mechanism into a GNN framework that performs feature aggregation only on informative neighbors.
Experimental results
Research questions
- RQ1Can L₀-norm regularization effectively identify and remove noisy or irrelevant edges in graph-structured data?
- RQ2Does learning a single shared attention coefficient across all heads and layers improve generalization and reduce overfitting compared to standard GATs?
- RQ3Can edge-sparsified graphs maintain or improve classification accuracy on both assortative and disassortative graphs?
- RQ4How does the sparsity level (controlled by λ) affect model performance and edge removal rate?
- RQ5Can SGAT outperform GAT, GCN, and GraphSAGE on disassortative graphs where local aggregation is detrimental?
Key findings
- SGATs achieved similar or higher classification accuracy than GATs on disassortative graphs like Texas and Cora, demonstrating robustness to neighborhood noise.
- On assortative graphs such as PPI and Reddit, SGATs pruned 50%-80% of edges while maintaining comparable classification accuracy.
- The optimal regularization parameter λ was found to be 2e-6 for PPI and 5e-3 for Texas, balancing sparsity and performance.
- The number of attention heads K=2 yielded the best performance on PPI and Texas, indicating that higher K increases overfitting risk.
- t-SNE visualization showed that SGAT learned more class-separable representations than GAT on noisy disassortative graphs like Texas.
- Despite pruning a large number of edges, SGAT did not significantly reduce runtime or memory usage compared to GAT, due to dominant memory costs in feature storage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.