atlas

Research map / Graph learning / Graph self-supervised learning

What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encoding

ICML 2024 · Graph learning › Graph self-supervised learning · approach: Semi-supervised node representation learning · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Theoretical analysis of a shallow Graph Transformer (one self-attention layer with relative positional encoding plus a two-layer perceptron) trained by SGD for semi-supervised node classification, giving sample-complexity and iteration bounds and showing attention sparsifies and positional encoding finds the core neighborhood.

Problem

Lack of theoretical understanding of when Graph Transformers generalize and what self-attention and positional encoding contribute to learning and generalization for node classification.

Approach

Introduces a discriminative/non-discriminative graph data model with a majority-vote core neighborhood, and proves that SGD on a shallow GT with learnable relative PE concentrates attention on class-relevant nodes and drives PE to the core distance, yielding lower sample complexity and faster convergence than GCN.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the fraction of discriminative nodesGraph Transformer · Semi-supervised node classificationsample complexityHelped
Reduce the confusion ratio in the core neighborhoodGraph Transformer · Semi-supervised node classificationsample complexityHelped
Sample more class-relevant nodes in the core neighborhoodGraph Transformer · Semi-supervised node classificationgeneralizationHelped
Add self-attention (ablation)Graph Transformer · Semi-supervised node classificationsample complexityHelped
Add self-attention (ablation)Graph Transformer · Semi-supervised node classificationiterationsHelped
Add trainable relative positional embedding (ablation)Graph Transformer · PubMed, Actor, PascalVOC-SP-1G, and Ogbn-Arxivtest accuracyHelped
Remove positional embedding and supply the known core neighborhood (ablation)Graph Transformer · Semi-supervised node classificationgeneralizationNo clear effect
Increase the fraction of inconsistent labelsGraph Transformer · Synthetic graph node classificationiterations to convergeHurt
Train self-attention so its weights concentrate on class-relevant nodesGraph Transformer · Semi-supervised node classificationtest accuracyHelped
Train positional embedding from zero initialization to emphasize the core neighborhoodGraph Transformer · Semi-supervised node classificationsample complexityHelped

Limitations

Experimental setup

Datasets: PubMed Actor PascalVOC-SP-1G Ogbn-Arxiv Cora synthetic graph

Benchmarks: PubMed Actor PascalVOC-SP-1G Ogbn-Arxiv

Metrics: test accuracy hinge testing loss sample complexity number of iterations

Baselines: GCN

Builds on: feature learning theory for shallow networks on structured data Transformer generalization analysis of ViTs GCN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy