Graph Tokenization for Bridging Graphs and Transformers
Not on the map. Why?
Abstract (arXiv)
The success of large pretrained Transformers is closely tied to tokenizers, which convert raw input into discrete symbols. Extending these models to graph-structured data remains a significant challenge. In this work, we introduce a graph tokenization framework that generates sequential representations of graphs by combining reversible graph serialization, which preserves graph information, with Byte Pair Encoding (BPE), a widely adopted tokenizer in large language models (LLMs). To better capture structural information, the graph serialization process is guided by global statistics of graph substructures, ensuring that frequently occurring substructures appear more often in the sequence and can be merged by BPE into meaningful tokens. Empirical results demonstrate that the proposed tokenizer enables Transformers such as BERT to be directly applied to graph benchmarks without architectural modifications. The proposed approach achieves state-of-the-art results on 14 benchmark datasets and frequently outperforms both graph neural networks and specialized graph transformers. This work bridges the gap between graph-structured data and the ecosystem of sequence models. Our code is available at hrefhttps://github.com/BUPT-GAMMA/Graph-Tokenization-for-Bridging-Graphs-and-Transformerscolorbluehere.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 40 of its 63 references that are in the map. First posted on arXiv 11 Mar 2026.
Builds on
40 of 63 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 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
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2014DeepWalk: Online Learning of Social Representationscited by 1,543
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
- 2020Benchmarking Graph Neural Networkscited by 672
- 2021AST: Audio Spectrogram Transformercited by 634
28 more
- 2024Large Language Models: A Surveycited by 506
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 233
- 2023GraphGPT: Graph Instruction Tuning for Large Language Modelscited by 223
- 2024LLaGA: Large Language and Graph Assistantcited by 177
- 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 176
- 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
- 2019Understanding Attention and Generalization in Graph Neural Networkscited by 169
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 132
- 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 131
- 2022Q-learning Decision Transformer: Leveraging Dynamic Programming for Conditional Sequence Modelling in Offline RLcited by 103
- 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
- 2020A Large-Scale Database for Graph Representation Learningcited by 54
- 2021Molecule Generation by Principal Subgraph Mining and Assemblingcited by 53
- 2020Random Walks: A Review of Algorithms and Applicationscited by 38
- 2025AnalogGenie: A Generative Engine for Automatic Discovery of Analog Circuit Topologiescited by 35
- 2023VQGraph: Rethinking Graph Representation Space for Bridging GNNs and MLPscited by 34
- 2021Looking Outside the Window: Wide-Context Transformer for the Semantic Segmentation of High-Resolution Remote Sensing Imagescited by 27
- 2025Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellencecited by 24
- 2023Data-centric Graph Learning: A Surveycited by 22
- 2024Can Large Language Models Improve the Adversarial Robustness of Graph Neural Networks?cited by 22
- 2024The Interpretable and Effective Graph Neural Additive Networkscited by 19
- 2023Federated Heterogeneous Graph Neural Network for Privacy-preserving Recommendationcited by 18
- 2025Graph2text or Graph2token: A Perspective of Large Language Models for Graph Learningcited by 12
- 2026Tabular Foundation Models are Strong Graph Anomaly Detectorscited by 8
- 2024GraphBPE: Molecular Graphs Meet Byte-Pair Encodingcited by 7
- 2023Abnormal Event Detection via Hypergraph Contrastive Learningcited by 3
- 2023GPatcher: A Simple and Adaptive MLP Model for Alleviating Graph Heterophilycited by 3
- 2025Data-centric Federated Graph Learning with Large Language Modelscited by 3
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026GS-Quant: Granular Semantic and Generative Structural Quantization for Knowledge Graph Completioncited by 0
- 2026Graph Evidence Is Not Enough: Diagnosing Native Decoder Use in Graph-Augmented LLMscited by 0
- 2026GraphVQ: Structure-Aware Autoregressive Decoding over Context-Quantized Graph Tokenscited by 0
- 2026GraphVQ: Structure-Aware Autoregressive Decoding over Context-Quantized Graph Tokens29 Sep 2026
- 2026Graph Evidence Is Not Enough: Diagnosing Native Decoder Use in Graph-Augmented LLMs31 Aug 2026
- 2026GS-Quant: Granular Semantic and Generative Structural Quantization for Knowledge Graph Completion23 Apr 2026