Pure Transformers are Powerful Graph Learners
Auteurs : Jinwoo Kim, Tien Dat Nguyen, Seonwoo Min, Sungjun Cho, Moontae Lee, Honglak Lee, Seunghoon Hong
Résumé scientifique
We show that standard Transformers without graph-specific modifications can lead to promising results in graph learning both in theory and practice. Given a graph, we simply treat all nodes and edges as independent tokens, augment them with token embeddings, and feed them to a Transformer. With an appropriate choice of token embeddings, we prove that this approach is theoretically at least as expressive as an invariant graph network (2-IGN) composed of equivariant linear layers, which is already more expressive than all message-passing Graph Neural Networks (GNN). When trained on a large-scale graph dataset (PCQM4Mv2), our method coined Tokenized Graph Transformer (TokenGT) achieves significantly better results compared to GNN baselines and competitive results compared to Transformer variants with sophisticated graph-specific inductive bias. Our implementation is available at https://github.com/jw9730/tokengt.
Les articles autour de lui, par date et par proximité
Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article
Les articles autour de celui-ci
Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.
Les articles les plus proches
-
Plain Transformers Can be Powerful Graph LearnersLiheng Ma, Soumyasundar Pal, Yingxue Zhang et al. · 2025 · Trans. Mach. Learn. Res. · cité 4 fois · Pas encore résumé
Résumé scientifique
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 …
-
On the theoretical expressive power of graph transformers for solving graph problemsGiannis Nikolentzos, Dimitrios Kelesis, M. Vazirgiannis · 2025 · Neural Networks · cité 3 fois · Pas encore résumé
Résumé scientifique
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…
-
Learning Graph Quantized TokenizersLi-Mei Wang, Kaveh Hassani, Si Zhang et al. · 2024 · International Conference on Learning Representations · cité 24 fois · Pas encore résumé
Résumé scientifique
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…
-
Topology-Induced Graph Transformer for Graph Representation LearningPeiyu Liang, Yuzhou Chen, Xubin He · 2025 · BigData Congress [Services Society] · Pas encore résumé
Résumé scientifique
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…
-
Generalizable Insights for Graph Transformers in Theory and PracticeTimo Stoll, Luis Müller, Christopher Morris · 2025 · Machine Learning · cité 6 fois · Résumé IA disponible
Résumé scientifique
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…
-
Simplifying and Empowering Transformers for Large-Graph RepresentationsQi-Tian Wu, Wen-Tao Zhao, Chen-Xiao Yang et al. · 2023 · Neural Information Processing Systems · cité 343 fois · Pas encore résumé
Résumé scientifique
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…
-
Graph Generative Pre-trained TransformerXiaohui Chen, Yinkai Wang, Jia-Xing He et al. · 2025 · International Conference on Machine Learning · cité 25 fois · Pas encore résumé
Résumé scientifique
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 …
-
Attending to Graph TransformersLuis Müller, Mikhail Galkin, Christopher Morris et al. · 2023 · Trans. Mach. Learn. Res. · cité 143 fois · Pas encore résumé
Résumé scientifique
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…
Les travaux antérieurs sur lesquels il s’appuie
-
A Generalization of Transformer Networks to GraphsVijay Prakash Dwivedi, X. Bresson · 2020 · arXiv.org · preprint, non relu par les pairs · cité 1 250 fois · Pas encore résumé
Résumé scientifique
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 …
-
Universal Graph Transformer Self-Attention NetworksDai Quoc Nguyen, T. D. Nguyen, Dinh Q. Phung · 2019 · The Web Conference · cité 94 fois · Pas encore résumé
Résumé scientifique
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…
-
Edge-augmented Graph Transformers: Global Self-attention is Enough for GraphsMd Shamim Hussain, Mohammed J. Zaki, D. Subramanian · 2021 · arXiv.org · preprint, non relu par les pairs · cité 48 fois · Pas encore résumé
-
Transformers Generalize DeepSets and Can be Extended to Graphs and HypergraphsJinwoo Kim, Saeyoon Oh, Seunghoon Hong · 2021 · Neural Information Processing Systems · cité 49 fois · Pas encore résumé
Résumé scientifique
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 …
-
Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, D. Beaini, William L. Hamilton et al. · 2021 · Neural Information Processing Systems · cité 876 fois · Pas encore résumé
Résumé scientifique
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…
Les articles qui le citent
-
On the Connection Between MPNN and Graph TransformerChen Cai, T. Hy, Rose Yu et al. · 2023 · International Conference on Machine Learning · cité 101 fois · Pas encore résumé
Résumé scientifique
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…
-
A Survey of Graph Transformers: Architectures, Theories and ApplicationsChaohao Yuan, Kangfei Zhao, Ercan Engin Kuruoglu et al. · 2025 · Machine Learning · cité 37 fois · Résumé IA disponible
Résumé scientifique
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…
-
Learning Graph Quantized Tokenizers for TransformersLi-Mei Wang, Kaveh Hassani, Si Zhang et al. · 2024 · arXiv.org · preprint, non relu par les pairs · cité 7 fois · Pas encore résumé
-
Graph Inductive Biases in Transformers without Message PassingLiheng Ma, Chen Lin, Derek Lim et al. · 2023 · International Conference on Machine Learning · cité 237 fois · Pas encore résumé
Résumé scientifique
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 …
-
GraphGPT: Graph Learning with Generative Pre-trained TransformersQifang Zhao, Weidong Ren, Tianyu Li et al. · 2024 · arXiv.org · preprint, non relu par les pairs · cité 14 fois · Pas encore résumé
Aller plus loin
Comment ces articles sont-ils trouvés ?
Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.
Mis à jour le 5 novembre 2026.