Skip to main content
QUICK REVIEW

[논문 리뷰] Representing Long-Range Context for Graph Neural Networks with Global Attention

Zhanghao Wu, Paras Jain|arXiv (Cornell University)|2022. 01. 21.
Advanced Graph Neural NetworksComputer Science인용 수 125
한 줄 요약

GraphTrans는 표준 GNN에 순열 불변 Transformer를 보강하여 장거리 노드 관계를 학습하고 그래프 수준 예측을 위한 특수 CLS 읽기를 도입하여 여러 그래프 분류 벤치마크에서 최신 결과를 달성한다.

ABSTRACT

Graph neural networks are powerful architectures for structured datasets. However, current methods struggle to represent long-range dependencies. Scaling the depth or width of GNNs is insufficient to broaden receptive fields as larger GNNs encounter optimization instabilities such as vanishing gradients and representation oversmoothing, while pooling-based approaches have yet to become as universally useful as in computer vision. In this work, we propose the use of Transformer-based self-attention to learn long-range pairwise relationships, with a novel "readout" mechanism to obtain a global graph embedding. Inspired by recent computer vision results that find position-invariant attention performant in learning long-range relationships, our method, which we call GraphTrans, applies a permutation-invariant Transformer module after a standard GNN module. This simple architecture leads to state-of-the-art results on several graph classification tasks, outperforming methods that explicitly encode graph structure. Our results suggest that purely-learning-based approaches without graph structure may be suitable for learning high-level, long-range relationships on graphs. Code for GraphTrans is available at https://github.com/ucbrise/graphtrans.

연구 동기 및 목표

  • GNN 층을 쌓거나 계층적 풀링으로 한계를 넘어서 그래프에서 장거리 의존성을 모델링할 필요성을 동기화한다.
  • 제한된 프레임워크에 구애받지 않는 간단한 아키텍처를 제안한다. GNN 백본과 글로벌 추론용 Transformer를 결합.
  • <CLS> 토큰을 사용한 새로운 읽기(readout) 메커니즘을 조사하여 그래프 수준 임베딩을 생성한다.
  • 생물학, 화학, 컴퓨팅 프로그래밍 그래프 전반에 걸친 접근의 효과성과 일반성을 입증한다.

제안 방법

  • 로컬, 단거리 구조를 학습하기 위해 표준 GNN 백본을 사용한다.
  • GNN 임베딩 위에 순열 불변 Transformer를 적용하여 모든 쌍 상호 작용을 학습한다.
  • 위치 인코딩 없이 Transformer 차원으로 노드 임베딩을 투사하고 다중 헤드 셀프 어텐션으로 처리한다.
  • 분류를 위한 하나의 그래프 임베딩을 생성하기 위한 학습 가능한 읽기(readout)로 특수한 <CLS> 토큰을 채택한다.
  • 표준 최적화(Adam)로 엔드투엔드 학습하고 확장성과 효율성 비교를 보여준다.

실험 결과

연구 질문

  • RQ1Transformer 모듈이 GNN 임베딩에 적용될 때 더 깊은 GNN이나 풀링 방법보다 장거리 의존성을 더 잘 포착하는가?
  • RQ2특수한 <CLS> 토큰 읽기가 글로벌 풀링이나 가상 노드 방법보다 더 효과적인 그래프 임베딩을 제공하는가?
  • RQ3GraphTrans가 생물학, 화학, 프로그래밍 그래프 등 다양한 도메인에 대해 효과적이며 큰 그래프까지 확장 가능한가?

주요 결과

  • GraphTrans는 여러 Open Graph Benchmark 그래프 분류 작업에서 최신 결과를 달성한다.
  • NCI1 및 NCI109 생물학 데이터세트에서 GraphTrans (small)은 강력한 베이스라인 대비 정확도를 크게 향상한다(예: 81.3% vs 68–82% 범위의 베이스라인).
  • molpcba에서 GraphTrans는 GIN 및 GIN-Virtual 베이스라인보다 개선을 보이며 GNN 로컬 구조와 글로벌 어텐션의 결합 이점을 보여준다.
  • Code2에서 GraphTrans는 DAGNN 최신 성능 및 다른 베이스라인을 능가하며 프로그래밍 그래프에서의 효과적인 장거리 추론을 입증한다.
  • 삭선(ablations) 결과 <CLS> 읽기가 간단한 시퀀스 집계 중 가장 효과적인 집계 방법이며 Transformer가 GNN에 보완 정보를 학습한다는 것을 보여준다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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