What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encoding
원문 초록
Graph Transformers, which incorporate self-attention and positional encoding, have recently emerged as a powerful architecture for various graph learning tasks. Despite their impressive performance, the complex non-convex interactions across layers and the recursive graph structure have made it challenging to establish a theoretical foundation for learning and generalization. This study introduces the first theoretical investigation of a shallow Graph Transformer for semi-supervised node classification, comprising a self-attention layer with relative positional encoding and a two-layer perceptron. Focusing on a graph data model with discriminative nodes that determine node labels and non-discriminative nodes that are class-irrelevant, we characterize the sample complexity required to achieve a desirable generalization error by training with stochastic gradient descent (SGD). This paper provides the quantitative characterization of the sample complexity and number of iterations for convergence dependent on the fraction of discriminative nodes, the dominant patterns, and the initial model errors. Furthermore, we demonstrate that self-attention and positional encoding enhance generalization by making the attention map sparse and promoting the core neighborhood during training, which explains the superior feature representation of Graph Transformers. Our theoretical results are supported by empirical experiments on synthetic and real-world benchmarks.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Delving into Instance-Dependent Label Noise in Graph Data: A Comprehensive Study and Benchmark
Scalable Graph Generative Modeling via Substructure Sequences
GT-SVQ: A Linear-Time Graph Transformer for Node Classification Using Spiking Vector Quantization
Trajectory Encoding Temporal Graph Networks
Exploring Graph Tasks with Pure LLMs: A Comprehensive Benchmark and Investigation
Beyond Message Passing: Neural Graph Pattern Machine
토론
이 논문과 연결된 포럼 글이 아직 없습니다.