Graph Attention Multi-Layer Perceptron

Wentao Zhang, Ziqi Yin, Zeang Sheng, Wen Ouyang, Xiaosen Li, Yangyu Tao, Zhi Yang, Bin Cui

Abstract

Graph neural networks (GNNs) have recently achieved state-of-the-art performance in many graph-based applications. Despite the high expressive power, they typically need to perform an expensive recursive neighborhood expansion in multiple training epochs and face a scalability issue. Moreover, most of them are inflexible since they are restricted to fixed-hop neighborhoods and insensitive to actual receptive field demands for different nodes. We circumvent these limitations by introducing a scalable and flexible Graph Attention Multilayer Perceptron (GAMLP). With the separation of the non-linear transformation and feature propagation, GAMLP significantly improves the scalability and efficiency by performing the propagation procedure in a pre-compute manner. With three principled receptive field attention, each node in GAMLP is flexible and adaptive in leveraging the propagated features over the different sizes of reception field. We conduct extensive evaluations on the three large open graph benchmarks (e.g., ogbn-papers100M, ogbn-products and ogbn-mag), demonstrating that GAMLP not only achieves the state-of-art performance, but also additionally provide high scalability and efficiency.

Introduction

Graph Neural Networks (GNNs) have revolutionized how we process networked data, from social media recommendations to drug discovery. However, they face a persistent "neighbor explosion" problem: as you stack layers to capture more distant relationships, the number of nodes involved grows exponentially. This makes training on massive graphs—like those with billions of edges—prohibitively expensive and slow.

A new framework, Graph Attention Multi-Layer Perceptron (GAMLP), sidesteps these scaling issues while adding a layer of "intelligence" to how nodes aggregate information from their surroundings. By decoupling time-consuming graph operations from model training and introducing node-adaptive attention, GAMLP achieves state-of-the-art performance on massive benchmarks like OGB-Papers100M.

The Need for Adaptive Receptive Fields

Most GNNs are "coupled," performing graph convolutions during every training step, which is the root of the scalability crisis. While "decoupled" models like SIGN solve this by pre-computing neighbor information, they are often too rigid, applying the same weights to information from 1-hop, 2-hop, or $K$-hop neighbors for every node.

Inconsistent optimal steps and RF expansion speed across different nodes.

As shown in Figure 1, different nodes require different receptive fields (RF). A node in a dense region might reach optimal accuracy with fewer propagation steps, whereas a node in a sparse region may need to look many hops away to find sufficient information. GAMLP’s attention mechanism addresses this by allowing each node to decide which "hop" is most important.

The GAMLP Architecture

GAMLP tackles these issues through two primary innovations: Receptive Field (RF) Attention and Reliable Label Utilization (RLU).

Receptive Field Attention

Instead of a fixed average of neighbor features, GAMLP uses attention mechanisms to combine multi-hop information. The authors propose three variants:

  • Smoothing Attention: Weights features based on their distance from a "stationary state" to avoid over-smoothing.
  • Recursive Attention: Measures the "information gain" provided by each additional hop.
  • JK Attention: Uses a multi-scale reference vector to guide the combination process.
The architecture of GAMLP with JK Attention.

As illustrated in Figure 3, the model uses precomputed propagated features. A reference vector is generated via an MLP from concatenated features, which then guides the attention mechanism to weight different hops before final classification.

Reliable Label Utilization (RLU)

RLU is a multi-stage training process. In the first stage, the model is trained normally. In subsequent stages, the model uses its own high-confidence predictions (soft labels) for unlabeled nodes as additional input features. This "label reuse" helps propagate supervision signals across the graph more effectively.

Experimental Results

The researchers evaluated GAMLP on the Open Graph Benchmark (OGB), focusing on the largest available datasets like ogbn-products (~2.4M nodes) and ogbn-papers100M (~111M nodes).

GAMLP consistently outperformed existing state-of-the-art (SOTA) models:

  • Accuracy: On ogbn-products, GAMLP+RLU achieved 84.59% test accuracy, outperforming popular models like UniMP and SAGN.
  • Massive Scale: On the 111-million-node ogbn-papers100M dataset, it reached 68.25% accuracy, setting a new benchmark for single-model performance.
  • Efficiency: Because graph structure is handled during pre-processing, training happens on a standard MLP, making it significantly faster and more scalable than traditional GNNs.

Conclusion

GAMLP demonstrates that it is possible to achieve the efficiency of an MLP while retaining the attentional benefits of complex GNNs. By addressing the "one size fits all" receptive field problem, it provides a flexible and scalable solution for industrial-scale graph learning.

Summary updated

BibTeX
@misc{zhang2021graph,
  author = {Wentao Zhang and Ziqi Yin and Zeang Sheng and Wen Ouyang and Xiaosen Li and Yangyu Tao and Zhi Yang and Bin Cui},
  title = {{Graph Attention Multi-Layer Perceptron}},
  year = {2021},
  eprint = {2108.10097},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.10097},
}
Figure