Relational Attention: Generalizing Transformers for Graph-Structured Tasks
Not on the map. Why?
Abstract (arXiv)
Transformers flexibly operate over sets of real-valued vectors representing task-specific entities and their attributes, where each vector might encode one word-piece token and its position in a sequence, or some piece of information that carries no position at all. But as set processors, transformers are at a disadvantage in reasoning over more general graph-structured data where nodes represent entities and edges represent relations between entities. To address this shortcoming, we generalize transformer attention to consider and update edge vectors in each transformer layer. We evaluate this relational transformer on a diverse array of graph-structured tasks, including the large and challenging CLRS Algorithmic Reasoning Benchmark. There, it dramatically outperforms state-of-the-art graph neural networks expressly designed to reason over graph-structured data. Our analysis demonstrates that these gains are attributable to relational attention's inherent ability to leverage the greater expressivity of graphs over sets.
Key facts. Cited by 41 papers in the map (data through 7 Oct 2026). Builds on 50 of its 68 references that are in the map. First posted on arXiv 11 Oct 2022.
Builds on
50 of 68 references.
References · 50
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2017Deep Setscited by 1,394
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2018Self-Attention with Relative Position Representationscited by 1,112
38 more
- 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,099
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
- 2021How Attentive are Graph Attention Networks?cited by 818
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
- 2020A Generalization of Transformer Networks to Graphscited by 653
- 2018Attention, Learn to Solve Routing Problems!cited by 646
- 2021Offline Reinforcement Learning as One Big Sequence Modeling Problemcited by 636
- 2020Heterogeneous Graph Transformercited by 581
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
- 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2019Stabilizing Transformers for Reinforcement Learningcited by 262
- 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 193
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 176
- 2021Are we really making much progress? Revisiting, benchmarking, and refining heterogeneous graph neural networkscited by 176
- 2019What Can Neural Networks Reason About?cited by 155
- 2015Neural GPUs Learn Algorithmscited by 118
- 2019Neural Execution of Graph Algorithmscited by 118
- 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 113
- 2014Learning to Executecited by 105
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 103
- 2019Star-Transformercited by 94
- 2019Graph Transformer for Graph-to-Sequence Learningcited by 82
- 2018Neural Arithmetic Logic Unitscited by 69
- 2019An investigation of model-free planningcited by 64
- 2022A Generalist Neural Algorithmic Learnercited by 58
- 2022Graph Neural Networks are Dynamic Programmerscited by 55
- 2020Pointer Graph Networkscited by 52
- 2020Molecular Mechanics-Driven Graph Neural Network with Multiplex Graph for Molecular Structurescited by 44
- 2021Heterogeneity-aware Twitter Bot Detection with Relational Graph Transformerscited by 41
- 2022Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queriescited by 39
- 2021Systematic Generalization with Edge Transformerscited by 38
- 2019Working Memory Graphscited by 23
- 2021ReFormer: The Relational Transformer for Image Captioningcited by 23
- 2020Structure-Feature based Graph Self-adaptive Poolingcited by 18
- 2020Towards Scale-Invariant Graph-related Problem Solving by Iterative Homogeneous Graph Neural Networkscited by 6
Built on by
Citing papers per year: 2023: 12; 2024: 14; 2025: 9; 2026: 6.
41 papers.
Sort:
By area:
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2024Graph Neural Networks for Learning Equivariant Representations of Neural Networkscited by 59
- 2023Graph Metanetworks for Processing Diverse Neural Architecturescited by 55
- 2023Transformers Meet Directed Graphscited by 39
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priorscited by 33
- 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 30
- 2024Simulation of Graph Algorithms with Looped Transformerscited by 29
- 2023G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer Networkscited by 25
- 2023Coarse-to-Fine: a Hierarchical Diffusion Model for Molecule Generation in 3Dcited by 24
- 2024Improved Generalization of Weight Space Networks via Augmentationscited by 24
- 2024MART: MultiscAle Relational Transformer Networks for Multi-agent Trajectory Predictioncited by 21
- 2024Deep Linear Probe Generators for Weight Space Learningcited by 17
29 more
- 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 16
- 2023Joint-Relation Transformer for Multi-Person Motion Predictioncited by 16
- 2023How to Train Neural Field Representations: A Comprehensive Study and Benchmarkcited by 12
- 2023SALSA-CLRS: A Sparse and Scalable Benchmark for Algorithmic Reasoningcited by 11
- 2024Towards Principled Graph Transformerscited by 11
- 2024Towards Dynamic Message Passing on Graphscited by 11
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methodscited by 10
- 2024Gradformer: Graph Transformer with Exponential Decaycited by 10
- 2024Recurrent Aggregators in Neural Algorithmic Reasoningcited by 6
- 2023Transformers as Graph-to-Graph Modelscited by 5
- 2024A Scalable and Effective Alternative to Graph Transformerscited by 4
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encodingcited by 4
- 2025ViTE: Virtual Graph Trajectory Expert Router for Pedestrian Trajectory Predictioncited by 4
- 2025Flow to Learn: Flow Matching on Neural Network Parameterscited by 3
- 2025Learnable Spatial-Temporal Positional Encoding for Link Predictioncited by 3
- 2024Open-Book Neural Algorithmic Reasoningcited by 2
- 2025Generalizable Insights for Graph Transformers in Theory and Practicecited by 2
- 2024A Context-Enhanced Framework for Sequential Graph Reasoningcited by 1
- 2025Beyond Pixels: Medical Image Quality Assessment with Implicit Neural Representationscited by 1
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoningcited by 1
- 2026ART: Adaptive Relational Transformer for Pedestrian Trajectory Prediction with Temporal-Aware Relationscited by 1
- 2026Graph Machine: Exploring Edge Mechanisms as an Inductive Biascited by 1
- 2024Temporal Graph Memory Networks For Knowledge Tracingcited by 0
- 2025PatchTraj: Unified Time-Frequency Representation Learning via Dynamic Patches for Trajectory Predictioncited by 0
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problemscited by 0
- 20253D-GSRD: 3D Molecular Graph Auto-Encoder with Selective Re-mask Decodingcited by 0
- 2026Smoothing Dark Areas in Molecular Latent Diffusioncited by 0
- 2026Autoregressive latent diffusion for 3D molecule generationcited by 0
- 2026Let the Heads Talk: Beyond Diagonal Graph Attentioncited by 0
- 2026Let the Heads Talk: Beyond Diagonal Graph Attention1 Oct 2026
- 2026Graph Machine: Exploring Edge Mechanisms as an Inductive Bias7 Aug 2026
- 2026Autoregressive latent diffusion for 3D molecule generation10 Jul 2026
- 2026Smoothing Dark Areas in Molecular Latent Diffusion11 Jun 2026
- 2026ART: Adaptive Relational Transformer for Pedestrian Trajectory Prediction with Temporal-Aware Relations4 Apr 2026
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoning27 Jan 2026
- 2025ViTE: Virtual Graph Trajectory Expert Router for Pedestrian Trajectory Prediction15 Nov 2025
- 2025Generalizable Insights for Graph Transformers in Theory and Practice11 Nov 2025
- 20253D-GSRD: 3D Molecular Graph Auto-Encoder with Selective Re-mask Decoding19 Oct 2025
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems17 Sep 2025
- 2025Beyond Pixels: Medical Image Quality Assessment with Implicit Neural Representations7 Aug 2025
- 2025PatchTraj: Unified Time-Frequency Representation Learning via Dynamic Patches for Trajectory Prediction25 Jul 2025
29 more
- 2025Learnable Spatial-Temporal Positional Encoding for Link Prediction10 Jun 2025
- 2025Flow to Learn: Flow Matching on Neural Network Parameters25 Mar 2025
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding1 Jan 2025
- 2024Open-Book Neural Algorithmic Reasoning30 Dec 2024
- 2024A Context-Enhanced Framework for Sequential Graph Reasoning12 Dec 2024
- 2024Towards Dynamic Message Passing on Graphs31 Oct 2024
- 2024Deep Linear Probe Generators for Weight Space Learning14 Oct 2024
- 2024Temporal Graph Memory Networks For Knowledge Tracing23 Sep 2024
- 2024Recurrent Aggregators in Neural Algorithmic Reasoning11 Sep 2024
- 2024MART: MultiscAle Relational Transformer Networks for Multi-agent Trajectory Prediction31 Jul 2024
- 2024A Scalable and Effective Alternative to Graph Transformers17 Jun 2024
- 2024Gradformer: Graph Transformer with Exponential Decay24 Apr 2024
- 2024Graph Neural Networks for Learning Equivariant Representations of Neural Networks18 Mar 2024
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods7 Mar 2024
- 2024Improved Generalization of Weight Space Networks via Augmentations6 Feb 2024
- 2024Simulation of Graph Algorithms with Looped Transformers2 Feb 2024
- 2024Towards Principled Graph Transformers18 Jan 2024
- 2023How to Train Neural Field Representations: A Comprehensive Study and Benchmark16 Dec 2023
- 2023Graph Metanetworks for Processing Diverse Neural Architectures7 Dec 2023
- 2023Transformers as Graph-to-Graph Models27 Oct 2023
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors4 Oct 2023
- 2023SALSA-CLRS: A Sparse and Scalable Benchmark for Algorithmic Reasoning21 Sep 2023
- 2023Joint-Relation Transformer for Multi-Person Motion Prediction9 Aug 2023
- 2023Neural Algorithmic Reasoning Without Intermediate Supervision23 Jun 2023
- 2023Graph Inductive Biases in Transformers without Message Passing27 May 2023
- 2023G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer Networks17 May 2023
- 2023Coarse-to-Fine: a Hierarchical Diffusion Model for Molecule Generation in 3D5 May 2023
- 2023Neural Algorithmic Reasoning with Causal Regularisation20 Feb 2023
- 2023Transformers Meet Directed Graphs31 Jan 2023
- 2026Autoregressive latent diffusion for 3D molecule generation10 Jul 2026
- 2026Smoothing Dark Areas in Molecular Latent Diffusion11 Jun 2026
- 2025Flow to Learn: Flow Matching on Neural Network Parameters25 Mar 2025
- 2023Coarse-to-Fine: a Hierarchical Diffusion Model for Molecule Generation in 3D5 May 2023
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2024Graph Neural Networks for Learning Equivariant Representations of Neural Networkscited by 59
- 2023Graph Metanetworks for Processing Diverse Neural Architecturescited by 55
- 2023Transformers Meet Directed Graphscited by 39
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priorscited by 33
- 2024Simulation of Graph Algorithms with Looped Transformerscited by 29
- 2023G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer Networkscited by 25
- 2024Improved Generalization of Weight Space Networks via Augmentationscited by 24
- 2024MART: MultiscAle Relational Transformer Networks for Multi-agent Trajectory Predictioncited by 21
- 2024Deep Linear Probe Generators for Weight Space Learningcited by 17
- 2023Neural Algorithmic Reasoning Without Intermediate Supervisioncited by 16
- 2023Joint-Relation Transformer for Multi-Person Motion Predictioncited by 16
12 most cited of 35 All 35 (JSON)
- 2026Let the Heads Talk: Beyond Diagonal Graph Attention1 Oct 2026
- 2026Graph Machine: Exploring Edge Mechanisms as an Inductive Bias7 Aug 2026
- 2026ART: Adaptive Relational Transformer for Pedestrian Trajectory Prediction with Temporal-Aware Relations4 Apr 2026
- 2026FloydNet: A Learning Paradigm for Global Relational Reasoning27 Jan 2026
- 2025ViTE: Virtual Graph Trajectory Expert Router for Pedestrian Trajectory Prediction15 Nov 2025
- 2025Generalizable Insights for Graph Transformers in Theory and Practice11 Nov 2025
- 20253D-GSRD: 3D Molecular Graph Auto-Encoder with Selective Re-mask Decoding19 Oct 2025
- 2025KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems17 Sep 2025
- 2025Beyond Pixels: Medical Image Quality Assessment with Implicit Neural Representations7 Aug 2025
- 2025PatchTraj: Unified Time-Frequency Representation Learning via Dynamic Patches for Trajectory Prediction25 Jul 2025
- 2025Learnable Spatial-Temporal Positional Encoding for Link Prediction10 Jun 2025
- 2024Open-Book Neural Algorithmic Reasoning30 Dec 2024
12 newest of 35 All 35 (JSON)