paper-with-me

Papers

Graph Tokenization for Bridging Graphs and Transformers

2026-03-11 · Zeyuan Guo, Enmao Diao, Cheng Yang, Chuan Shi 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 \href{https://github.com/BUPT-GAMMA/Graph-Tokenization-for-Bridging-Graphs-and-Transformers}{\color{blue}here}.

📄 PDF Abstract BibTeX arXiv:2603.11099

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Lost in Tokenization: Fundamental Trade-offs in Graph Tokenization for Transformers

2026-05-21 · Maya Bechler-Speicher, Gilad Yehudai, Gil Harari, Clayton Sanford 외 arxiv

Transformers have become a central architecture for graph learning, but their application to graphs requires first choosing a tokenization: a graph-to-token map that determines which structural information is exposed at …

Graph Learning

Todyformer: Towards Holistic Dynamic Graph Transformers with Structure-Aware Tokenization

2024-02-02 · Mahdi Biparva, Raika Karimi, Faezeh Faez, Yingxue Zhang

Temporal Graph Neural Networks have garnered substantial attention for their capacity to model evolving structural and temporal patterns while exhibiting impressive performance. However, it is known that these architectu…

Relational Graph Transformer

2025-05-16 · Vijay Prakash Dwivedi, Sri Jaladi, Yangyi Shen, Federico López 외

Relational Deep Learning (RDL) is a promising approach for building state-of-the-art predictive models on multi-table relational data by representing it as a heterogeneous temporal graph. However, commonly used Graph Neu…

Graph Neural Network

VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connections

2024-03-24 · Dongqi Fu, Zhigang Hua, Yan Xie, Jin Fang 외

Graph transformer has been proven as an effective graph learning method for its adoption of attention mechanism that is capable of capturing expressive representations from complex topological and feature information of …

Feature EngineeringGraph Learning

Tokenization, Fusion and Decoupling: Bridging the Granularity Mismatch Between Large Language Models and Knowledge Graphs

2026-02-26 · Siyue Su, Jian Yang, Bo Li, Guanglin Niu arxiv

Leveraging Large Language Models (LLMs) for Knowledge Graph Completion (KGC) is promising but hindered by a fundamental granularity mismatch. LLMs operate on fragmented token sequences, whereas entities are the fundament…

Knowledge Graph CompletionKnowledge Graphs