Skip to main content
QUICK REVIEW

[논문 리뷰] NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classification

Qitian Wu, Wentao Zhao|arXiv (Cornell University)|2023. 06. 14.
Advanced Graph Neural NetworksComputer Science인용 수 75
한 줄 요약

NodeFormer는 커널화된 Gumbel-Softmax를 이용한 모든 페어 메시지 전달 Transformer를 도입하여 잠재 그래프 구조를 학습하고, 레이어당 선형 시간 복잡도를 달성하며 노드 수 백만 규모의 그래프에서도 노드 분류를 확장한다.

ABSTRACT

Graph neural networks have been extensively studied for learning with inter-connected data. Despite this, recent evidence has revealed GNNs' deficiencies related to over-squashing, heterophily, handling long-range dependencies, edge incompleteness and particularly, the absence of graphs altogether. While a plausible solution is to learn new adaptive topology for message passing, issues concerning quadratic complexity hinder simultaneous guarantees for scalability and precision in large networks. In this paper, we introduce a novel all-pair message passing scheme for efficiently propagating node signals between arbitrary nodes, as an important building block for a pioneering Transformer-style network for node classification on large graphs, dubbed as extsc{NodeFormer}. Specifically, the efficient computation is enabled by a kernerlized Gumbel-Softmax operator that reduces the algorithmic complexity to linearity w.r.t. node numbers for learning latent graph structures from large, potentially fully-connected graphs in a differentiable manner. We also provide accompanying theory as justification for our design. Extensive experiments demonstrate the promising efficacy of the method in various tasks including node classification on graphs (with up to 2M nodes) and graph-enhanced applications (e.g., image classification) where input graphs are missing.

연구 동기 및 목표

  • 고정 입력 토폴로지를 넘어 노드 분류를 위한 유연한 잠재 그래프 구조 학습을 자극한다.
  • 모든 노드 쌍 간의 잠재 그래프를 추론하기 위한 확장 가능하고 미분 가능한 메커니즘을 개발한다.
  • 입력 그래프가 없는 대규모 그래프에 대해 Transformer 유사 아키텍처의 엔드-투-엔드 학습 가능성을 확보한다.
  • 가능한 경우 입력 토폴로지를 관계 편향(relational bias)과 에지 정규화를 통해 통합한다.
  • 2백만 개 노드까지 확장성과 이질적/그래프-없는 설정에서의 효과성을 입증한다.

제안 방법

  • 레이어별로 학습된 잠재 그래프를 통해 모든 페어 메시지 전달을 가진 NodeFormer를 제안한다.
  • kernelized Gumbel-Softmax 연산자를 사용하여 임의 특징 매핑을 통해 선형 시간에 모든 페어 어텐션을 근사한다.
  • 랜덤 피처로 근사된 커널 함수를 사용하여 N^2 계산을 피하고 어텐션을 재작성한다.
  • 미분 가능한 샘플링 스킴(Gumbel-Softmax with temperature)을 적용해 희소하고 학습 가능한 잠재 그래프를 얻는다.
  • 가능할 때 관찰된 에지와 학습된 에지를 정렬시키는 에지 수준 정규화 손실을 도입한다.
  • 에지가 존재할 때 입력 그래프의 관계 편향(relational bias)을 어텐션 가중치에 가산항으로 통합한다.
Figure 1: Illustration for the data flow of NodeFormer which takes node embedding matrix $\mathbf{X}$ and (optional) graph adjacency matrix $\mathbf{A}$ as input. There are three components in NodeFormer . The first one is the all-pair message passing (MP) module (colored red) which adopts our propo
Figure 1: Illustration for the data flow of NodeFormer which takes node embedding matrix $\mathbf{X}$ and (optional) graph adjacency matrix $\mathbf{A}$ as input. There are three components in NodeFormer . The first one is the all-pair message passing (MP) module (colored red) which adopts our propo

실험 결과

연구 질문

  • RQ1Transformer 유사 노드 분류기가 입력 토폴로지에 의존하지 않고 대규모 그래프에서 효과적인 잠재 그래프를 학습할 수 있는가?
  • RQ2이진 잠재 구조에 대해 미분 가능한 최적화로 확장 가능한 모든 페어 메시지 전달을 달성하는 방법은 무엇인가?
  • RQ3잠재 구조 학습이 동형성(또는 동형성-이질성) 그래프에서 노드 분류 성능에 어떤 영향을 미치는가?
  • RQ4커널 피처 맵 차원, 온도, 그리고 커널화된 Gumbel-Softmax의 근사 정확도 사이의 트레이드오프는 무엇인가?
  • RQ5NodeFormer는 대규모 데이터 세트(수백만 노드)에서 기존 구조 학습 및 확장 가능한 GNN 방법과 어떻게 비교되는가?

주요 결과

  • NodeFormer는 이질적 그래프를 포함한 표준 노드 분류 벤치마크에서 경쟁력 있거나 우수한 정확도/ROC-AUC를 달성한다.
  • 대규모 데이터셋(OGB-Proteins 및 Amazon2M)에서 NodeFormer는 베이스라인보다 더 높은 지표를 달성하면서도 메모리 사용을 합리적으로 유지한다.
  • 본 방법은 최대 2M 노드의 그래프에 선형적인 레이어당 복잡도로 확장되며, 속도 및 메모리 면에서 기존 구조 학습 접근법을 능가한다.
  • 랜덤 피처를 가진 커널화된 Gumbel-Softmax는 N과 독립적인 오차를 가지는 잘 정의된 근사를 제공하여 잠재 구조 학습의 확장 가능성을 가능하게 한다.
  • 관계 편향 및 에지 정규화는 가능할 때 기존 입력 토폴로지를 활용해 학습 안정성과 성능을 향상시킨다.
  • NodeFormer는 입력 그래프가 없을 수 있는 그래프 강화 작업(이미지/텍스트 분류)에 적용 가능성을 보여준다.
Figure 2: Experimental results for node classification in transductive setting on four common datasets. The missing results on Deezer is caused by out-of-memory (OOM).
Figure 2: Experimental results for node classification in transductive setting on four common datasets. The missing results on Deezer is caused by out-of-memory (OOM).

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.