Papers › GFT: Graph Foundation Model with Transferable Tree Vocabulary

GFT: Graph Foundation Model with Transferable Tree Vocabulary

9 Nov 2024arXiv:2411.06070archive 2025-07-28

Zehong Wang, Zheyuan Zhang, Nitesh V Chawla, Chuxu Zhang, Yanfang Ye

Inspired by the success of foundation models in applications such as ChatGPT, as graph data has been ubiquitous, one can envision the far-reaching impacts that can be brought by Graph Foundation Models (GFMs) with broader applications in the areas such as scientific research, social network analysis, drug discovery, and e-commerce. Despite the significant progress of pre-trained graph neural networks, there haven't been GFMs that can achieve desired performance on various graph-learning-related tasks. Building GFMs may rely on a vocabulary that encodes transferable patterns shared among different tasks and domains. Unlike image and text, defining such transferable patterns for graphs remains an open question. In this paper, we aim to bridge this gap by rethinking the transferable patterns on graphs as computation trees -- i.e., tree structures derived from the message-passing process. Based on this insight, we propose a cross-task, cross-domain graph foundation model named GFT, short for Graph Foundation model with transferable Tree vocabulary. By treating computation trees as tokens within the transferable vocabulary, GFT improves model generalization and reduces the risk of negative transfer. The theoretical analyses and extensive experimental studies have demonstrated the transferability of computation trees and shown the effectiveness of GFT across diverse tasks and domains in graph learning. The open source code and data are available at https://github.com/Zehong-Wang/GFT.

PaperPDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.06070")

Code

Syntology Ran 11 of 25 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 4 ran · our draft was wrong; 4 ran · fixture could not drive it.

By repository: official repository: 24 samples from 1 repository, 10 ran; community: 1 sample from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zehong-wang/gft officialmentioned in papermentioned on GitHubpytorchMIT 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

25 samples harvested; 11 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
4ran · our draft was wrong
4ran · fixture could not drive it
14unverified

Licence: 0 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

batched_embedding zehong-wang/gft/GFT/model/vq.py official repository ran · fixture could not drive it MIT (permissive) · 4dc1339e961ab500 · report
cdist zehong-wang/gft/GFT/model/vq.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 4b4182a1077e1685 · report
default Zehong-Wang/GFT/GFT/model/ft_model.py official repository ran · violated contract fingerprinted MIT (permissive) · 60fff7c3c400d7ff · report
exists Zehong-Wang/GFT/GFT/model/ft_model.py official repository ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
gumbel_sample zehong-wang/gft/GFT/model/vq.py official repository ran · our draft was wrong MIT (permissive) · 4755d07ad4a639cb · report
identity Zehong-Wang/GFT/GFT/model/vq.py official repository ran · honoured contract fingerprinted MIT (permissive) · f3232418205f7cbd · report
kmeans zehong-wang/gft/GFT/model/vq.py official repository ran · our draft was wrong MIT (permissive) · 31974aebdb92319d · report
laplace_smoothing zehong-wang/gft/GFT/model/vq.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 702d64c397294ae2 · report
orthogonal_loss_fn zehong-wang/gft/GFT/model/vq.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 690fb00cdadafe62 · report
sample_vectors_distributed zehong-wang/gft/GFT/model/vq.py official repository ran · fixture could not drive it MIT (permissive) · ecf368eff22730c4 · report
ArxivFSSplitter Zehong-Wang/GFT/GFT/dataset/task_constructor.py official repository unverified MIT (permissive) · 5f925b34de0a38cb · report
CiteSplitter Zehong-Wang/GFT/GFT/dataset/task_constructor.py official repository unverified MIT (permissive) · 840cce4bf1e34557 · report
CosineSimCodebook zehong-wang/gft/GFT/model/vq.py official repository unverified MIT (permissive) · d8a07f536f522526 · report
EuclideanCodebook zehong-wang/gft/GFT/model/vq.py official repository unverified MIT (permissive) · 74f95d115c4d707c · report
VectorQuantize zehong-wang/gft/GFT/model/vq.py official repository unverified MIT (permissive) · 33b21e2fd12163eb · report
binary_apr_func Zehong-Wang/GFT/GFT/dataset/data_utils.py official repository unverified MIT (permissive) · 352a58f5914509ef · report
binary_single_auc_func Zehong-Wang/GFT/GFT/dataset/data_utils.py official repository unverified MIT (permissive) · c06eaa1bc9d830c1 · report
ema_inplace zehong-wang/gft/GFT/model/vq.py official repository unverified MIT (permissive) · fda38ab65bb996a9 · report
filter_unnecessary_attrs Zehong-Wang/GFT/GFT/dataset/process_datasets.py official repository unverified MIT (permissive) · 6aa000a9e1b10057 · report
flat_auc Zehong-Wang/GFT/GFT/dataset/data_utils.py official repository unverified MIT (permissive) · 1ae9c9bd82345553 · report
pack_one zehong-wang/gft/GFT/model/vq.py official repository unverified MIT (permissive) · 9adcac32b9f87dfb · report
refine_dataset Zehong-Wang/GFT/GFT/dataset/process_datasets.py official repository unverified MIT (permissive) · 58d48991c9718144 · report
span_node_and_edge_idx Zehong-Wang/GFT/GFT/dataset/process_datasets.py official repository unverified MIT (permissive) · fe5ac93ea96ea352 · report
unpack_one zehong-wang/gft/GFT/model/vq.py official repository unverified MIT (permissive) · 95a567bd7c1ffdce · report
creat_optimizer thu-ml/GFT/LlamaGen/autoregressive/train/GFT_c2i.py community ran · our draft was wrong MIT (permissive) · ba65976c1d96a7cb · report

Tasks

Drug DiscoveryGraph Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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