[논문 리뷰] Graph Inductive Biases in Transformers without Message Passing
GRIT은 학습된 상대적 임의 보행 위치 인코딩을 활용하고, 이중 노드 및 노드쌍 주의 메커니즘, 그리고 차수 정보를 활용하여 명시적 메시지 전달 없이 그래프 inductive bias를 가능하게 하는 그래프 트랜스포머로, 작은부터 큰 그래프 데이터셋에 걸쳐 최첨단 결과를 달성합니다.
Transformers for graph data are increasingly widely studied and successful in numerous learning tasks. Graph inductive biases are crucial for Graph Transformers, and previous works incorporate them using message-passing modules and/or positional encodings. However, Graph Transformers that use message-passing inherit known issues of message-passing, and differ significantly from Transformers used in other domains, thus making transfer of research advances more difficult. On the other hand, Graph Transformers without message-passing often perform poorly on smaller datasets, where inductive biases are more crucial. To bridge this gap, we propose the Graph Inductive bias Transformer (GRIT) -- a new Graph Transformer that incorporates graph inductive biases without using message passing. GRIT is based on several architectural changes that are each theoretically and empirically justified, including: learned relative positional encodings initialized with random walk probabilities, a flexible attention mechanism that updates node and node-pair representations, and injection of degree information in each layer. We prove that GRIT is expressive -- it can express shortest path distances and various graph propagation matrices. GRIT achieves state-of-the-art empirical performance across a variety of graph datasets, thus showing the power that Graph Transformers without message-passing can deliver.
연구 동기 및 목표
- 메시지 전달 없이 작게는 작은 데이터셋에서 성능이 떨어지는 그래프 트랜스포머의 격차를 동기 부여하고 해결하며, 순수 주의(attention)만을 사용할 때 그래프 inductive bias가 부족한 문제를 다룬다.
- GRIT를 메시지 전달 없이 그래프 inductive bias를 갖는 그래프 트랜스포머로 제안한다.
- 그래프 작업에서 표현력과 실용적 성능을 가능하게 하는 설계 선택을 이론적으로 정당화하고 실험적으로 검증한다.
제안 방법
- 그래프 구조를 포착하기 위해 임의 보행 확률로 초기화된 학습된 상대 위치 인코딩(RRWP)을 도입한다.
- RRWP 인코딩을 업데이트할 수 있으며 노드와 노드 페어 표현을 함께 업데이트하는 유연한 주의 메커니즘을 개발한다.
- 각 층에서 차수 정보를 주입하고 차수 정보를 보존하기 위해 레이어 노름을 배치 정규화로 대체한다.
- MLP 업데이트기로 RRWP가 최단 경로 거리와 다양한 그래프 전달 행렬을 근사할 만큼 표현력이 있음을 증명한다.
- 설계 선택을 정당화하고 데이터셋 전반에서 최첨단 성능을 시연하기 위한 제거 연구 및 합성 실험을 제시하여 설계의 효과를 입증한다.
실험 결과
연구 질문
- RQ1GRIT가 학습된 업데이트를 가진 RRWP를 통해 일반적인 그래프 전파 행렬과 최단 경로 거리를 표현할 수 있는가?
- RQ2노드 및 노드 페어 표현을 함께 업데이트하는 것이 메시지 전달 없이 그래프 구조를 활용하는 모델의 능력을 향상시키는가?
- RQ3차수 정보의 도입과 대체 정규화가 MPN을 사용하지 않는 그래프 트랜스포머의 표현력과 성능에 어떤 영향을 미치는가?
주요 결과
- GRIT은 작-중-대규모 데이터셋을 포함한 다양한 그래프 벤치마크에서 최첨단 실험 성능을 달성한다.
- MLP 업데이트기가 있는 RRWP는 SPD 거리 및 여러 그래프 전파를 근사할 수 있어 GD-WL 분석에서 RRWP를 SPD보다 엄격히 표현력이 높게 만든다.
- 노드 및 노드 페어 표현을 업데이트하는 제안된 주의 메커니즘은 위치 인코딩을 업데이트하는 것을 학습하여 표현력을 향상시킨다.
- 차수 스케일러와 배치 정규화를 통해 차수 정보를 보존하고 유용한 차수 신호를 유지하여 성능을 향상시킨다.
- 제거 연구는 차수 스케일러 제거, RRWP 업데이트 제거, 또는 대체 주의/매칭 인코딩 사용 시 성능이 저하됨을 보여주며 GRIT의 설계 선택의 효율성을 뒷받침한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.