Skip to main content
QUICK REVIEW

[論文レビュー] NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphs

Jinsong Chen, Kaiyuan Gao|arXiv (Cornell University)|Jun 10, 2022
Advanced Graph Neural NetworksComputer Science被引用数 22
ひとこと要約

NAGphormerは Hop2Token を導入してマルチホップ近傍情報をトークン化し、グラフトランスフォーマーのミニバッチ学習を可能にし、既存のグラフトランスフォーマーやGNNより大規模グラフでノード分類を改善します。

ABSTRACT

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.

研究の動機と目的

  • グラフトランスフォーマーを用いた大規模グラフでのノード分類のスケーラビリティを動機づける。
  • Hop2Tokenを提案し、マルチホップ近傍を各ノードのトークン列に変換する。
  • Hop2Tokenをトランスフォーマーのバックボーンと適応的なホップ毎の読み出しと統合する。
  • NAGphormerとデカップルドGCNを比較する理論解析を提供する。
  • 小規模および大規模グラフのベンチマークで優れた性能を実証する。

提案手法

  • Hop2Tokenを導入して、k-ホップ近傍を各ノードのトークン列に集約する。
  • 各ノードの入力を、[0, K]のkについてのx_v^k表現の列として構築し、トランスフォーマーの次元へ射影する。
  • LayerNorm、MSA、FFNを備えたトランスフォーマーエンコーダを用いて、トークン列からノード表現を学習する。
  • アテンションベースのリードアウトを適用し、最終ノード埋め込みのために異なるホップの寄与を適応的に重み付けする。
  • ラプラシアン固有ベクトルをノード特徴に結合して構造エンコーディングを組み込み、集約にはアテンションベースのリードアウトを用いる。
  • 複雑さ分析とデカップルドGCNとの理論的比較を提供し、表現力の向上の可能性を示す。

実験結果

リサーチクエスチョン

  • RQ1Hop2Tokenは、各ノードをマルチホップトークンの列として扱うことで、大規模グラフ上でグラフトランスフォーマーのスケーラブルな学習を可能にするか。
  • RQ2アテンションベースのリードアウトは、異なるホップの近傍を効果的に重み付けしてノード表現を改善するか。
  • RQ3NAGphormerは、小規模および大規模データセットでデカップルドGCNや他のグラフトランスフォーマーとどう比較されるか。
  • RQ4構造エンコーディングとリードアウトの選択が性能に与える影響はどの程度か。)

主な発見

  • NAGphormerは、小規模データセットで複数の指標にわたり、ベースラインを一貫して上回る。
  • 大規模データセットでは、NAGphormerはAMiner-CS、Reddit、Amazon2MでPPRGo、GraphSAINT、GRAND+などのスケーラブルGNNを上回る。
  • 構造エンコーディングの導入は、グラフ構造によって利得が異なるが、データセット全体で精度向上をもたらす。
  • マルチホップトークンにまたがるアテンションベースのリードアウトは、単純なSINやSUMリードアウトよりも優れており、特に小規模グラフで効果的。
  • ミニバッチ学習と大規模グラフでの有利な学習コストにより、モデルはスケーラビリティを示す。
  • 理論分析は、自己注意を介してNAGphormerがデカップルドGCNより表現力の高いマルチホップ近傍表現を学習できることを示す。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。