SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.13630 · 2024

UniGraph: Learning a Unified Cross-Domain Foundation Model for Text-Attributed Graphs

arXiv · PDF · Open in the Atlas

Code that ran

7 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.13630.json · badge: /api/ran/2402.13630.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yf-he/UniGraph canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
FunctionStatusWhere it lives
accuracy Ran
ran; our contract draft was wrong, not the code
yf-he/UniGraph/utils/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from LiuXiaoxuanPKU/GACT-ICML, is pointer only (licence: NONE) · get_code("adf3b9c6c22af5ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_optimizer Ran
ran; our contract draft was wrong, not the code
yf-he/UniGraph/utils/evaluation.py
pointer only (licence: NONE) · get_code("b36b7319ea433429")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_current_lr Ran
ran, honoured the contract we drafted
yf-he/UniGraph/utils/functions.py
pointer only (licence: NONE); the stored copy get_code serves, from ZiyanLiu16/MUGEN, is pointer only (licence: NONE) · get_code("c9c9174dc014b586")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mask_edge Ran
ran, honoured the contract we drafted
yf-he/UniGraph/utils/functions.py
pointer only (licence: NONE) · get_code("63d4d8375f9f4fca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pth_safe_load Ran
ran, honoured the contract we drafted
yf-he/UniGraph/data.py
pointer only (licence: NONE) · get_code("79e8f00e0955cc92")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

scale_feats Ran
ran; our contract draft was wrong, not the code
yf-he/UniGraph/utils/data_util.py
pointer only (licence: NONE) · get_code("11cf69e6642b61f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sce_loss Ran
ran; our contract draft was wrong, not the code
yf-he/UniGraph/utils/loss_func.py
pointer only (licence: NONE); the stored copy get_code serves, from ZiyanLiu16/MUGEN, is pointer only (licence: NONE) · get_code("6f9bb5eb98ec4887")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_ego_subgraphs Not yet run
unverified (harvested, no recorded run)
yf-he/UniGraph/data.py
pointer only (licence: NONE) · get_code("e7ebdfbc2b843a1b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

node_classification_evaluation Not yet run
unverified (harvested, no recorded run)
yf-he/UniGraph/utils/evaluation.py
pointer only (licence: NONE) · get_code("cb6e44a7cc7082be")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

sig_loss Not yet run
unverified (harvested, no recorded run)
yf-he/UniGraph/utils/loss_func.py
pointer only (licence: NONE); the stored copy get_code serves, from ZiyanLiu16/MUGEN, is pointer only (licence: NONE) · get_code("f2502a1d225b3dd3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yf-he/UniGraph when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 4 the same month, 4 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
accuracy 6 other papers
3 dated earlier, 1 the same month, 2 later
2206.11357 (2022-06)
GACT: Activation Compressed Training for Generic Network Architectures
2304.04779 (2023-04)
GraphMAE2: A Decoding-Enhanced Masked Self-Supervised Graph Learner
2310.10362 (2023-10)
Self-Pro: A Self-Prompt and Tuning Framework for Graph Neural Networks
and 3 more not named here
sce_loss 6 other papers
3 dated earlier, 1 the same month, 2 later
2304.04779 (2023-04)
GraphMAE2: A Decoding-Enhanced Masked Self-Supervised Graph Learner
2309.04589 (2023-09)
Motif-aware Attribute Masking for Molecular Graph Pre-training
2310.00800 (2023-10)
GRAPHPATCHER: Mitigating Degree Bias for Graph Neural Networks via Test-time Augmentation
and 3 more not named here
get_current_lr 4 other papers
1 dated earlier, 1 the same month, 2 later
2304.04779 (2023-04)
GraphMAE2: A Decoding-Enhanced Masked Self-Supervised Graph Learner
2402.07225 (2024-02)
Rethinking Graph Masked Autoencoders through Alignment and Uniformity
2410.13798 (2024-10)
Learning Graph Quantized Tokenizers
and 1 more not named here
scale_feats 2 other papers
2 dated earlier
2305.05368 (2023-05)
Deep Graph Neural Networks via Posteriori-Sampling-based Node-Adaptive Residual Module
2310.00800 (2023-10)
GRAPHPATCHER: Mitigating Degree Bias for Graph Neural Networks via Test-time Augmentation
sig_loss 2 other papers
1 the same month, 1 later
2402.07225 (2024-02)
Rethinking Graph Masked Autoencoders through Alignment and Uniformity
2609.00696 (2026-09)
MUGEN: Generating Unlearnable Graph Examples for Multiple Learning Tasks
create_optimizer 1 other paper
1 dated earlier
2305.05368 (2023-05)
Deep Graph Neural Networks via Posteriori-Sampling-based Node-Adaptive Residual Module

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Foundation models like ChatGPT and GPT-4 have revolutionized artificial intelligence, exhibiting remarkable abilities to generalize across a wide array of tasks and applications beyond their initial training objectives. However, graph learning has predominantly focused on single-graph models, tailored to specific tasks or datasets, lacking the ability to transfer learned knowledge to different domains. This limitation stems from the inherent complexity and diversity of graph structures, along with the different feature and label spaces specific to graph data. In this paper, we recognize text as an effective unifying medium and employ Text-Attributed Graphs (TAGs) to leverage this potential. We present our UniGraph framework, designed to learn a foundation model for TAGs, which is capable of generalizing to unseen graphs and tasks across diverse domains. Unlike single-graph models that use pre-computed node features of varying dimensions as input, our approach leverages textual features for unifying node representations, even for graphs such as molecular graphs that do not naturally have textual features. We propose a novel cascaded architecture of Language Models (LMs) and Graph Neural Networks (GNNs) as backbone networks. Additionally, we propose the first pre-training algorithm specifically designed for large-scale self-supervised learning on TAGs, based on Masked Graph Modeling. We introduce graph instruction tuning using Large Language Models (LLMs) to enable zero-shot prediction ability. Our comprehensive experiments across various graph learning tasks and domains demonstrate the model's effectiveness in self-supervised representation learning on unseen graphs, few-shot in-context transfer, and zero-shot transfer, even surpassing or matching the performance of GNNs that have undergone supervised training on target datasets.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.13630")
get_code_for_paper("2402.13630")
have("2402.13630")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.13630.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.13630.svg)](https://syntology.ai/paper/2402.13630)

Connect an agent — have() is free.