AI summary · arXiv: 2207.02505v2 · cs.LG

Pure Transformers are Powerful Graph Learners

Jinwoo Kim, Tien Dat Nguyen, Seonwoo Min, Sungjun Cho, Moontae Lee, Honglak Lee, Seunghoon Hong
Original paper · DOI 10.52202/068431-1060 Submitted to arXiv on 06 Jul. 2022 Published in Advances in Neural Information Processing Systems 35 (2022) 26 pages, 8 figures License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • Standard Transformers can be effective in graph learning without any graph-specific modifications
  • Tokenized Graph Transformer (TokenGT) approach treats all nodes and edges as independent tokens and augment them with token embeddings before feeding them to a Transformer
  • With an appropriate choice of token embeddings, TokenGT is theoretically at least as expressive as an invariant graph network composed of equivariant linear layers
  • TokenGT outperforms message-passing Graph Neural Networks (GNN) baselines and achieves competitive results compared to other Transformer variants when trained on a large-scale graph dataset (PCQM4Mv2)
  • The implementation of TokenGT is available on GitHub
  • TokenGT works well with large-scale data and achieve promising results in graph learning both in theory and practice
  • The authors explore the capability of TokenGT on the PCQM4Mv2 quantum chemistry regression dataset, which has 3.7 million molecular graphs, using both node and type identifiers in their model
  • They also apply kernel attention that approximates the attention computation to linear cost
  • This research can contribute to advancing machine learning technology for various applications supported by organizations like the Korea government (MSIT)

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: TokenGT

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In their paper titled "Pure Transformers are Powerful Graph Learners," Jinwoo Kim, Tien Dat Nguyen, Seonwoo Min, Sungjun Cho, Moontae Lee, Honglak Lee, and Seunghoon Hong demonstrate that standard Transformers can be effective in graph learning without any graph-specific modifications. The authors propose a Tokenized Graph Transformer (TokenGT) approach where they treat all nodes and edges as independent tokens and augment them with token embeddings before feeding them to a Transformer. With an appropriate choice of token embeddings, the authors prove that this approach is theoretically at least as expressive as an invariant graph network composed of equivariant linear layers. The authors compare their TokenGT approach with message-passing Graph Neural Networks (GNN) and Transformer variants with sophisticated graph-specific inductive bias. They train their model on a large-scale graph dataset (PCQM4Mv2) and show that TokenGT outperforms GNN baselines and achieves competitive results compared to other Transformer variants. The implementation of TokenGT is available on GitHub. The authors also explore the capability of TokenGT on the PCQM4Mv2 quantum chemistry regression dataset, which has 3.7 million molecular graphs. They use both node and type identifiers in their model and experiment with ORF and Laplacian eigenvector as node identifiers. They also apply kernel attention that approximates the attention computation to linear cost. Overall, the authors demonstrate that minimal graph-specific inductive bias models like TokenGT work well with large-scale data and achieve promising results in graph learning both in theory and practice. The details of their experiments are provided in Appendix A.3.3., while the conclusion highlights how this research can contribute to advancing machine learning technology for various applications supported by organizations like the Korea government (MSIT).

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 295 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Luis Müller (3 papers)

10 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 23 November 2026: Artificial intelligence this week: The difference between looking right and getting it right · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Cites this paper Uses this paper in depth
    Plain Transformers Can be Powerful Graph Learners
    Liheng Ma, Soumyasundar Pal, Yingxue Zhang et al. · 2025 · Trans. Mach. Learn. Res. · cited 4 times · Not summarized yet
    Abstract

    Transformers have attained outstanding performance across various modalities, owing to their simple but powerful scaled-dot-product (SDP) attention mechanisms. Researchers have attempted to migrate Transformers to graph learning, but most advanced Graph Transformers (GTs) have strayed far from plain Transformers, exhibiting major architectural differences either by integrating message-passing or incorporating sophisticated attention mechanisms. These divergences hinder the easy adoption of training advances for Transformers developed in other domains. Contrary to previous GTs, this work demonstrates that the plain Transformer architecture can be a powerful graph learner. To achieve this, we …

  2. Very close Cites this paper
    On the theoretical expressive power of graph transformers for solving graph problems
    Giannis Nikolentzos, Dimitrios Kelesis, M. Vazirgiannis · 2025 · Neural Networks · cited 3 times · Not summarized yet
    Abstract

    In recent years, Transformers have become the dominant neural architecture in the fields of natural language processing and computer vision. The generalization of Transformers to graphs, so-called Graph Transformers, have recently emerged as a promising alternative to the successful message passing Graph Neural Networks (MPNNs). While the expressive power of MPNNs has been intensively studied in the past years, that of Graph Transformers is still underexplored. Existing results mostly rely on the employed structural/positional encodings and not on the pure architecture itself. However, gaining an understanding of the strengths and limitations of Graph Transformers would be very useful both f…

  3. Very close Cites this paper
    Learning Graph Quantized Tokenizers
    Li-Mei Wang, Kaveh Hassani, Si Zhang et al. · 2024 · International Conference on Learning Representations · cited 24 times · Not summarized yet
    Abstract

    Transformers serve as the backbone architectures of Foundational Models, where domain-specific tokenizers allow them to adapt to various domains. Graph Transformers (GTs) have recently emerged as leading models in geometric deep learning, outperforming Graph Neural Networks (GNNs) in various graph learning tasks. However, the development of tokenizers for graphs has lagged behind other modalities. To address this, we introduce GQT (\textbf{G}raph \textbf{Q}uantized \textbf{T}okenizer), which decouples tokenizer training from Transformer training by leveraging multi-task graph self-supervised learning, yielding robust and generalizable graph tokens. Furthermore, the GQT utilizes Residual Vect…

  4. Very close
    Topology-Induced Graph Transformer for Graph Representation Learning
    Peiyu Liang, Yuzhou Chen, Xubin He · 2025 · BigData Congress [Services Society] · Not summarized yet
    Abstract

    While Graph Neural Networks excel at graph learning, they are limited by the 1-Weisfeiler-Leman (WL) test and sensitive to structural changes. Recent work addressed the 1-WL test limitation by introducing Graph Transformers (GTs), which combine a Transformer encoder layer with a graph convolution layer. This allows nodes to attend to long-range dependencies without structural inductive bias. However, the self-attention mechanism in GTs primarily focuses on node features and local substructures, neglecting the crucial high-order connectivity patterns, i.e., topological features, in reasoning the underlying graph structure. Our proposed Topology-Induced Graph Transformer (TOPGT) addresses this…

  5. Very close Cites this paper
    Generalizable Insights for Graph Transformers in Theory and Practice
    Timo Stoll, Luis Müller, Christopher Morris · 2025 · Machine Learning · cited 6 times · AI summary available
    Abstract

    Graph Transformers (GTs) have shown strong empirical performance, yet current architectures vary widely in their use of attention mechanisms, positional embeddings (PEs), and expressivity. Existing expressivity results are often tied to specific design choices and lack comprehensive empirical validation on large-scale data. This leaves a gap between theory and practice, preventing generalizable insights that exceed particular application domains. Here, we propose the Generalized-Distance Transformer (GDT), a GT architecture using standard attention that incorporates many advancements for GTs from recent years, and develop a fine-grained understanding of the GDT's representation power in term…

  6. Very close Cites this paper
    Simplifying and Empowering Transformers for Large-Graph Representations
    Qi-Tian Wu, Wen-Tao Zhao, Chen-Xiao Yang et al. · 2023 · Neural Information Processing Systems · cited 343 times · Not summarized yet
    Abstract

    Learning representations on large-sized graphs is a long-standing challenge due to the inter-dependence nature involved in massive data points. Transformers, as an emerging class of foundation encoders for graph-structured data, have shown promising performance on small graphs due to its global attention capable of capturing all-pair influence beyond neighboring nodes. Even so, existing approaches tend to inherit the spirit of Transformers in language and vision tasks, and embrace complicated models by stacking deep multi-head attentions. In this paper, we critically demonstrate that even using a one-layer attention can bring up surprisingly competitive performance across node property predi…

  7. Very close Cites this paper
    Graph Generative Pre-trained Transformer
    Xiaohui Chen, Yinkai Wang, Jia-Xing He et al. · 2025 · International Conference on Machine Learning · cited 25 times · Not summarized yet
    Abstract

    Graph generation is a critical task in numerous domains, including molecular design and social network analysis, due to its ability to model complex relationships and structured data. While most modern graph generative models utilize adjacency matrix representations, this work revisits an alternative approach that represents graphs as sequences of node set and edge set. We advocate for this approach due to its efficient encoding of graphs and propose a novel representation. Based on this representation, we introduce the Graph Generative Pre-trained Transformer (G2PT), an auto-regressive model that learns graph structures via next-token prediction. To further exploit G2PT's capabilities as a …

  8. Very close Cites this paper Uses this paper in depth
    Attending to Graph Transformers
    Luis Müller, Mikhail Galkin, Christopher Morris et al. · 2023 · Trans. Mach. Learn. Res. · cited 143 times · Not summarized yet
    Abstract

    Recently, transformer architectures for graphs emerged as an alternative to established techniques for machine learning with graphs, such as (message-passing) graph neural networks. So far, they have shown promising empirical results, e.g., on molecular prediction datasets, often attributed to their ability to circumvent graph neural networks' shortcomings, such as over-smoothing and over-squashing. Here, we derive a taxonomy of graph transformer architectures, bringing some order to this emerging field. We overview their theoretical properties, survey structural and positional encodings, and discuss extensions for important graph classes, e.g., 3D molecular graphs. Empirically, we probe how…

Prior work it builds on

  1. Very close A method it uses
    A Generalization of Transformer Networks to Graphs
    Vijay Prakash Dwivedi, X. Bresson · 2020 · arXiv.org · preprint, not peer reviewed · cited 1,250 times · Not summarized yet
    Abstract

    We propose a generalization of transformer neural network architecture for arbitrary graphs. The original transformer was designed for Natural Language Processing (NLP), which operates on fully connected graphs representing all connections between the words in a sequence. Such architecture does not leverage the graph connectivity inductive bias, and can perform poorly when the graph topology is important and has not been encoded into the node features. We introduce a graph transformer with four new properties compared to the standard model. First, the attention mechanism is a function of the neighborhood connectivity for each node in the graph. Second, the positional encoding is represented …

  2. Close A method it uses
    Universal Graph Transformer Self-Attention Networks
    Dai Quoc Nguyen, T. D. Nguyen, Dinh Q. Phung · 2019 · The Web Conference · cited 94 times · Not summarized yet
    Abstract

    We introduce a transformer-based GNN model, named UGformer, to learn graph representations. In particular, we present two UGformer variants, wherein the first variant (publicized in September 2019) is to leverage the transformer on a set of sampled neighbors for each input node, while the second (publicized in May 2021) is to leverage the transformer on all input nodes. Experimental results demonstrate that the first UGformer variant achieves state-of-the-art accuracies on benchmark datasets for graph classification in both inductive setting and unsupervised transductive setting; and the second UGformer variant obtains state-of-the-art accuracies for inductive text classification. The code i…

  3. Close* Used in depth by this paper A method it uses
    Edge-augmented Graph Transformers: Global Self-attention is Enough for Graphs
    Md Shamim Hussain, Mohammed J. Zaki, D. Subramanian · 2021 · arXiv.org · preprint, not peer reviewed · cited 48 times · Not summarized yet
  4. Close Used in depth by this paper
    Transformers Generalize DeepSets and Can be Extended to Graphs and Hypergraphs
    Jinwoo Kim, Saeyoon Oh, Seunghoon Hong · 2021 · Neural Information Processing Systems · cited 49 times · Not summarized yet
    Abstract

    We present a generalization of Transformers to any-order permutation invariant data (sets, graphs, and hypergraphs). We begin by observing that Transformers generalize DeepSets, or first-order (set-input) permutation invariant MLPs. Then, based on recently characterized higher-order invariant MLPs, we extend the concept of self-attention to higher orders and propose higher-order Transformers for order-$k$ data ($k=2$ for graphs and $k>2$ for hypergraphs). Unfortunately, higher-order Transformers turn out to have prohibitive complexity $\mathcal{O}(n^{2k})$ to the number of input nodes $n$. To address this problem, we present sparse higher-order Transformers that have quadratic complexity to …

  5. Close Used in depth by this paper
    Rethinking Graph Transformers with Spectral Attention
    Devin Kreuzer, D. Beaini, William L. Hamilton et al. · 2021 · Neural Information Processing Systems · cited 876 times · Not summarized yet
    Abstract

    In recent years, the Transformer architecture has proven to be very successful in sequence processing, but its application to other data structures, such as graphs, has remained limited due to the difficulty of properly defining positions. Here, we present the $\textit{Spectral Attention Network}$ (SAN), which uses a learned positional encoding (LPE) that can take advantage of the full Laplacian spectrum to learn the position of each node in a given graph. This LPE is then added to the node features of the graph and passed to a fully-connected Transformer. By leveraging the full spectrum of the Laplacian, our model is theoretically powerful in distinguishing graphs, and can better detect sim…

Papers that cite it

  1. Very close Uses this paper in depth
    On the Connection Between MPNN and Graph Transformer
    Chen Cai, T. Hy, Rose Yu et al. · 2023 · International Conference on Machine Learning · cited 101 times · Not summarized yet
    Abstract

    Graph Transformer (GT) recently has emerged as a new paradigm of graph learning algorithms, outperforming the previously popular Message Passing Neural Network (MPNN) on multiple benchmarks. Previous work (Kim et al., 2022) shows that with proper position embedding, GT can approximate MPNN arbitrarily well, implying that GT is at least as powerful as MPNN. In this paper, we study the inverse connection and show that MPNN with virtual node (VN), a commonly used heuristic with little theoretical understanding, is powerful enough to arbitrarily approximate the self-attention layer of GT. In particular, we first show that if we consider one type of linear transformer, the so-called Performer/Lin…

  2. Close Uses this paper in depth
    A Survey of Graph Transformers: Architectures, Theories and Applications
    Chaohao Yuan, Kangfei Zhao, Ercan Engin Kuruoglu et al. · 2025 · Machine Learning · cited 37 times · AI summary available
    Abstract

    Graph Transformers (GTs) have demonstrated a strong capability in modeling graph structures by addressing the intrinsic limitations of graph neural networks (GNNs), such as over-smoothing and over-squashing. Recent studies have proposed diverse architectures, enhanced explainability, and practical applications for Graph Transformers. In light of these rapid developments, we conduct a comprehensive review of Graph Transformers, covering aspects such as their architectures, theoretical foundations, and applications within this survey. We categorize the architecture of Graph Transformers according to their strategies for processing structural information, including graph tokenization, positiona…

  3. Very close* Uses this paper in depth
    Learning Graph Quantized Tokenizers for Transformers
    Li-Mei Wang, Kaveh Hassani, Si Zhang et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 7 times · Not summarized yet
  4. Close Uses this paper in depth
    Graph Inductive Biases in Transformers without Message Passing
    Liheng Ma, Chen Lin, Derek Lim et al. · 2023 · International Conference on Machine Learning · cited 237 times · Not summarized yet
    Abstract

    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 …

  5. Close* Uses this paper in depth
    GraphGPT: Graph Learning with Generative Pre-trained Transformers
    Qifang Zhao, Weidong Ren, Tianyu Li et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 14 times · Not summarized yet
How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 5 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.