Abstract
Recently popularized graph neural networks achieve the state-of-the-art accuracy on a number of standard benchmark datasets for graph-based semi-supervised learning, improving significantly over existing approaches. These architectures alternate between a propagation layer that aggregates the hidden states of the local neighborhood and a fully-connected layer. Perhaps surprisingly, we show that a linear model, that removes all the intermediate fully-connected layers, is still able to achieve a performance comparable to the state-of-the-art models. This significantly reduces the number of parameters, which is critical for semi-supervised learning where the number of labeled examples is small. This in turn allows room for designing more innovative propagation layers. Based on this insight, we propose a novel graph neural network that removes all the intermediate fully-connected layers and replaces the propagation layers with attention mechanisms that respect the structure of the graph. The attention mechanism allows us to learn a dynamic and adaptive local summary of the neighborhood to achieve more accurate predictions. In a number of experiments on benchmark citation networks datasets, we demonstrate that our approach outperforms competing methods.
Introduction
Semi-supervised learning on graphs involves classifying nodes where only a small fraction of labels are available—sometimes as few as 20 per class. Standard Graph Convolutional Networks (GCNs) address this by interleaving feature propagation (averaging a node's features with its neighbors) with fully-connected neural network layers. However, these models often suffer from over-parameterization, making them prone to overfitting when labels are scarce. Furthermore, most GNNs utilize static propagation, treating all neighbors as equally important regardless of their actual relevance.
The AGNN Architecture
The researchers propose the Attention-based Graph Neural Network (AGNN), a simplified architecture that focuses on the propagation step rather than network depth. The design was informed by the discovery of the Graph Linear Network (GLN): by removing all intermediate non-linearities from a GCN, the authors found the model still performed remarkably well, suggesting that the propagation of structural information is the primary driver of performance.
AGNN consists of three main components:
- Initial Embedding: A single layer projects high-dimensional features (like bag-of-words) into a lower-dimensional latent space.
- Attention-Guided Propagation: Instead of uniform averaging, AGNN computes weights between nodes using cosine similarity. This allows the model to "ignore" noisy edges that do not contribute to correct classification.
- Minimal Parameterization: Each propagation layer uses only a single trainable scalar ($\beta$) to scale the attention. This keeps the model lightweight and stable during training.
Experimental Results
The model was evaluated on three classic benchmark citation networks: CiteSeer, Cora, and PubMed. In these datasets, nodes represent papers and edges represent citations.
State-of-the-Art Performance
AGNN consistently outperformed GCN and other popular baselines across standard fixed splits. As shown in the results below, AGNN achieved a top accuracy of 83.1% on the Cora dataset.
Robustness to Data Distribution
To further test the model, the authors conducted experiments on random splits, where the distribution of labeled nodes is less uniform. AGNN showed even stronger relative gains in these scenarios, outperforming the simplified GLN and other embedding-based methods like node2vec.
Key Insights and Interpretability
- Propagation is King: The structural information provided by the graph is more important than the depth of the neural network applied to each node.
- Adaptive Filtering: By using attention, the model learns to dynamically weight neighbors. This is particularly useful for nodes on the boundaries between different classes, where some neighbors may belong to a different category.
- Interpretability: Unlike "black-box" GNNs, AGNN allows researchers to visualize attention weights. One can literally see which neighbors the model "listened to" when making a prediction, providing qualitative evidence for why certain classifications were made.
Conclusion
AGNN demonstrates that simplifying GNN architectures by removing redundant non-linear layers can lead to better generalization in semi-supervised settings. By replacing static averaging with an adaptive attention mechanism, the model achieves superior accuracy while remaining highly parameter-efficient. Future work may explore applying this attention-based propagation to more diverse graph types, such as social networks or knowledge graphs.
Summary updated