mlsanityData to 14 Oct 2026

Invariant Graph Transformer for Out-of-Distribution Generalization

arXiv 2508.00304 ↗First posted 1 Aug 2025cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Graph Transformers (GTs) have demonstrated great effectiveness across various graph analytical tasks. However, the existing GTs focus on training and testing graph data originated from the same distribution, but fail to generalize under distribution shifts. Graph invariant learning, aiming to capture generalizable graph structural patterns with labels under distribution shifts, is potentially a promising solution, but how to design attention mechanisms and positional and structural encodings (PSEs) based on graph invariant learning principles remains challenging. To solve these challenges, we introduce Graph Out-Of-Distribution generalized Transformer (GOODFormer), aiming to learn generalized graph representations by capturing invariant relationships between predictive graph structures and labels through jointly optimizing three modules. Specifically, we first develop a GT-based entropy-guided invariant subgraph disentangler to separate invariant and variant subgraphs while preserving the sharpness of the attention function. Next, we design an evolving subgraph positional and structural encoder to effectively and efficiently capture the encoding information of dynamically changing subgraphs during training. Finally, we propose an invariant learning module utilizing subgraph node representations and encodings to derive generalizable graph representations that can to unseen graphs. We also provide theoretical justifications for our method. Extensive experiments on benchmark datasets demonstrate the superiority of our method over state-of-the-art baselines under distribution shifts.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 49 of its 78 references that are in the map. First posted on arXiv 1 Aug 2025.

Builds on

49 of 78 references.

References · 49

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  3. 2017Graph Attention Networkscited by 8,923
  4. 2017Inductive Representation Learning on Large Graphscited by 6,320
  5. 2018How Powerful are Graph Neural Networks?cited by 4,393
  6. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  7. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  8. 2019Invariant Risk Minimizationcited by 1,854
  9. 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
  10. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
  11. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
  12. 2019Heterogeneous Graph Attention Networkcited by 734
37 more
  1. 2019Graph Neural Networks for Social Recommendationcited by 714
  2. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  3. 2020Heterogeneous Graph Transformercited by 582
  4. 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 545
  5. 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 478
  6. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  7. 2021Towards Out-Of-Distribution Generalization: A Surveycited by 436
  8. 2018Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generationcited by 364
  9. 2019Representation Learning for Dynamic Graphs: A Surveycited by 265
  10. 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
  11. 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 195
  12. 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
  13. 2020Random Features Strengthen Graph Neural Networkscited by 186
  14. 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 179
  15. 2022Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanismcited by 171
  16. 2023Exphormer: Sparse Transformers for Graphscited by 170
  17. 2022Handling Distribution Shifts on Graphs: An Invariance Perspectivecited by 164
  18. 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
  19. 2022GOOD: A Graph Out-of-Distribution Benchmarkcited by 141
  20. 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
  21. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
  22. 2020A Survey on The Expressive Power of Graph Neural Networkscited by 111
  23. 2022Out-Of-Distribution Generalization on Graphs: A Surveycited by 97
  24. 2021Causal Attention for Unbiased Visual Recognitioncited by 80
  25. 2022Hierarchical Graph Transformer with Adaptive Node Samplingcited by 72
  26. 2021Generalizing Graph Neural Networks on Out-Of-Distribution Graphscited by 71
  27. 2022Graph Rationalization with Environment-based Augmentationscited by 70
  28. 2024Polynormer: Polynomial-Expressive Graph Transformer in Linear Timecited by 65
  29. 2023On the Connection Between MPNN and Graph Transformercited by 61
  30. 2023Does Invariant Graph Learning via Environment Augmentation Learn Invariance?cited by 42
  31. 2024On the Feasibility of Simple Transformer for Dynamic Graph Modelingcited by 22
  32. 2023Learning Invariant Molecular Representation in Latent Discrete Spacecited by 19
  33. 2020Eigen-GNN: A Graph Structure Preserving Plug-in for GNNscited by 14
  34. 2024Investigating Out-of-Distribution Generalization of GNNs: An Architecture Perspectivecited by 13
  35. 2024Gradformer: Graph Transformer with Exponential Decaycited by 11
  36. 2024A Survey on Structure-Preserving Graph Transformerscited by 7
  37. 2025Out-of-Distribution Detection on Graphs: A Surveycited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.