Papers › GraphGPT: Graph Learning with Generative Pre-trained Transformers

GraphGPT: Graph Learning with Generative Pre-trained Transformers

31 Dec 2023arXiv:2401.00529archive 2025-07-28

Qifang Zhao, Weidong Ren, Tianyu Li, Xiaoxiao Xu, Hong Liu

We introduce \textit{GraphGPT}, a novel model for Graph learning by self-supervised Generative Pre-training Transformers. Our model transforms each graph or sampled subgraph into a sequence of tokens representing the node, edge and attributes reversibly using the Eulerian path first. Then we feed the tokens into a standard transformer decoder and pre-train it with the next-token-prediction (NTP) task. Lastly, we fine-tune the GraphGPT model with the supervised tasks. This intuitive, yet effective model achieves superior or close results to the state-of-the-art methods for the graph-, edge- and node-level tasks on the large scale molecular dataset PCQM4Mv2, the protein-protein association dataset ogbl-ppa and the ogbn-proteins dataset from the Open Graph Benchmark (OGB). Furthermore, the generative pre-training enables us to train GraphGPT up to 400M+ parameters with consistently increasing performance, which is beyond the capability of GNNs and previous graph transformers. The source code and pre-trained checkpoints will be released soon\footnote{\url{https://github.com/alibaba/graph-gpt}} to pave the way for the graph foundation model research, and also to assist the scientific discovery in pharmaceutical, chemistry, material and bio-informatics domains, etc.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

alibaba/graph-gpt officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

DecoderGraph Learningscientific discovery

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Link Property Prediction ogbl-citation2 GraphGPT(d1n30) Ext. data No #1 of 23 Archive leaderboard report
Link Property Prediction ogbl-citation2 GraphGPT(d1n30) Number of params 133096832 #1 of 23 Archive leaderboard report
Link Property Prediction ogbl-citation2 GraphGPT(d1n30) Test MRR 0.9305 ± 0.0020 #1 of 23 Archive leaderboard report
Link Property Prediction ogbl-citation2 GraphGPT(d1n30) Validation MRR 0.9295 ± 0.0022 #1 of 23 Archive leaderboard report
Link Property Prediction ogbl-citation2 GraphGPT(SMTP) Ext. data No #3 of 23 Archive leaderboard report
Link Property Prediction ogbl-citation2 GraphGPT(SMTP) Number of params 46784128 #3 of 23 Archive leaderboard report
Link Property Prediction ogbl-citation2 GraphGPT(SMTP) Test MRR 0.9055 ± 0.0016 #3 of 23 Archive leaderboard report
Link Property Prediction ogbl-citation2 GraphGPT(SMTP) Validation MRR 0.9042 ± 0.0014 #3 of 23 Archive leaderboard report
Link Property Prediction ogbl-ppa GraphGPT(SMTP) Ext. data No #3 of 26 Archive leaderboard report
Link Property Prediction ogbl-ppa GraphGPT(SMTP) Number of params 145263360 #3 of 26 Archive leaderboard report
Link Property Prediction ogbl-ppa GraphGPT(SMTP) Test Hits@100 0.6876 ± 0.0067 #3 of 26 Archive leaderboard report
Link Property Prediction ogbl-ppa GraphGPT(SMTP) Validation Hits@100 0.7017 ± 0.0044 #3 of 26 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections