paper-with-me

홈 › Papers

NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphs

2022-06-10 · Jinsong Chen, Kaiyuan Gao, Gaichao Li, Kun He

The graph Transformer emerges as a new architecture and has shown superior performance on various graph mining tasks. In this work, we observe that existing graph Transformers treat nodes as independent tokens and construct a single long sequence composed of all node tokens so as to train the Transformer model, causing it hard to scale to large graphs due to the quadratic complexity on the number of nodes for the self-attention computation. To this end, we propose a Neighborhood Aggregation Graph Transformer (NAGphormer) that treats each node as a sequence containing a series of tokens constructed by our proposed Hop2Token module. For each node, Hop2Token aggregates the neighborhood features from different hops into different representations and thereby produces a sequence of token vectors as one input. In this way, NAGphormer could be trained in a mini-batch manner and thus could scale to large graphs. Moreover, we mathematically show that as compared to a category of advanced Graph Neural Networks (GNNs), the decoupled Graph Convolutional Network, NAGphormer could learn more informative node representations from the multi-hop neighborhoods. Extensive experiments on benchmark datasets from small to large are conducted to demonstrate that NAGphormer consistently outperforms existing graph Transformers and mainstream GNNs. Code is available at https://github.com/JHL-HUST/NAGphormer.

📄 PDF Abstract BibTeX arXiv:2206.04910

Code (1)

jhl-hust/nagphormer 공식 구현 pytorch

Tasks

Graph LearningGraph MiningNode Classification

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
LapEigen 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Tokenized Graph Transformer with Neighborhood Augmentation for Node Classification in Large Graphs

2023-05-22 · Jinsong Chen, Chang Liu, Kaiyuan Gao, Gaichao Li 외

Graph Transformers, emerging as a new architecture for graph representation learning, suffer from the quadratic complexity on the number of nodes when handling large graphs. To this end, we propose a Neighborhood Aggrega…

Data AugmentationGraph Representation LearningNode ClassificationRepresentation Learning

Rethinking Tokenized Graph Transformers for Node Classification

2025-02-12 · Jinsong Chen, Chenyang Li, Gaichao Li, John E. Hopcroft 외

Node tokenized graph Transformers (GTs) have shown promising performance in node classification. The generation of token sequences is the key module in existing tokenized GTs which transforms the input graph into token s…

ClassificationNode ClassificationRepresentation Learning

Leveraging Contrastive Learning for Enhanced Node Representations in Tokenized Graph Transformers

2024-06-27 · Jinsong Chen, Hanpeng Liu, John E. Hopcroft, Kun He

While tokenized graph Transformers have demonstrated strong performance in node classification tasks, their reliance on a limited subset of nodes with high similarity scores for constructing token sequences overlooks val…

Contrastive LearningNode Classification

NTFormer: A Composite Node Tokenized Graph Transformer for Node Classification

2024-06-27 · Jinsong Chen, Siyu Jiang, Kun He

Recently, the emerging graph Transformers have made significant advancements for node classification on graphs. In most graph Transformers, a crucial step involves transforming the input graph into token sequences as the…

Node ClassificationRepresentation Learning

Beyond the Snapshot: Brain Tokenized Graph Transformer for Longitudinal Brain Functional Connectome Embedding

2023-07-03 · Zijian Dong, Yilei Wu, Yu Xiao, Joanna Su Xian Chong 외

Under the framework of network-based neurodegeneration, brain functional connectome (FC)-based Graph Neural Networks (GNN) have emerged as a valuable tool for the diagnosis and prognosis of neurodegenerative diseases suc…

Prognosis