Papers › Transitivity-Preserving Graph Representation Learning for Bridging Local Connectivity...

Transitivity-Preserving Graph Representation Learning for Bridging Local Connectivity and Role-based Similarity

18 Aug 2023arXiv:2308.09517archive 2025-07-28

Van Thuy Hoang, O-Joun Lee

Graph representation learning (GRL) methods, such as graph neural networks and graph transformer models, have been successfully used to analyze graph-structured data, mainly focusing on node classification and link prediction tasks. However, the existing studies mostly only consider local connectivity while ignoring long-range connectivity and the roles of nodes. In this paper, we propose Unified Graph Transformer Networks (UGT) that effectively integrate local and global structural information into fixed-length vector representations. First, UGT learns local structure by identifying the local substructures and aggregating features of the k-hop neighborhoods of each node. Second, we construct virtual edges, bridging distant nodes with structural similarity to capture the long-range dependencies. Third, UGT learns unified representations through self-attention, encoding structural distance and p-step transition probability between node pairs. Furthermore, we propose a self-supervised learning task that effectively learns transition probability to fuse local and global structural features, which could then be transferred to other downstream tasks. Experimental results on real-world benchmark datasets over various downstream tasks showed that UGT significantly outperformed baselines that consist of state-of-the-art models. In addition, UGT reaches the expressive power of the third-order Weisfeiler-Lehman isomorphism test (3d-WL) in distinguishing non-isomorphic graph pairs. The source code is available at https://github.com/NSLab-CUK/Unified-Graph-Transformer.

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="2308.09517")

Code

Syntology Ran 5 of 26 code samples harvested from 3 repositories linked to this paper; 21 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 3 ran; community (archive-listed): 20 samples from 2 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nslab-cuk/unified-graph-transformer officialmentioned in papermentioned on GitHubpytorchMIT report
nslab-cuk/community-aware-graph-transformer mentioned on GitHubpytorchMIT report
nslab-cuk/literalkg mentioned 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

26 samples harvested; 5 ran; 0 honoured the contract we drafted; 21 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.

3ran · our draft was wrong
2ran
21unverified

Licence: 0 of the 26 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 3 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.

imp_exp_attn nslab-cuk/unified-graph-transformer/Graph_classification/layers/graph_transformer_edge_layer.py official repository ran MIT (permissive) · 700de849477f93ce · report
scaled_exp nslab-cuk/unified-graph-transformer/Graph_classification/layers/graph_transformer_layer.py official repository ran · our draft was wrong MIT (permissive) · 654acacaf00954fb · report
scaling nslab-cuk/unified-graph-transformer/Graph_classification/layers/graph_transformer_edge_layer.py official repository ran MIT (permissive) · a3fb87a259b15eae · report
build_multigraph_from_layers nslab-cuk/unified-graph-transformer/Graph_classification/build_multigraph.py official repository unverified MIT (permissive) · 92c17eab0627285b · report
exp nslab-cuk/unified-graph-transformer/Graph_classification/models.py official repository unverified MIT (permissive) · 5a6826903f8b965a · report
src_dot_dst nslab-cuk/unified-graph-transformer/Graph_classification/layers/graph_transformer_edge_layer.py official repository unverified MIT (permissive) · 9408c2ca6e799410 · report
filter_rels nslab-cuk/community-aware-graph-transformer/exp.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 5e3663ee66aeb1d8 · report
src_dot_dst nslab-cuk/community-aware-graph-transformer/models.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 23fba400cff6fafa · report
DigitizeY nslab-cuk/community-aware-graph-transformer/gnnutils.py community (archive-listed) unverified MIT (permissive) · be384a8aa916b3d6 · report
GetProbTranMat nslab-cuk/community-aware-graph-transformer/util.py community (archive-listed) unverified MIT (permissive) · 3910837ba82ef07e · report
MAE nslab-cuk/community-aware-graph-transformer/metrics.py community (archive-listed) unverified MIT (permissive) · 8c3fd13fe72b290d · report
accuracy_MNIST_CIFAR nslab-cuk/community-aware-graph-transformer/metrics.py community (archive-listed) unverified MIT (permissive) · b202433545bfeddd · report
accuracy_TU nslab-cuk/community-aware-graph-transformer/metrics.py community (archive-listed) unverified MIT (permissive) · f064ff3b4454d19d · report
check_rm nslab-cuk/community-aware-graph-transformer/datasets/bgp.py community (archive-listed) unverified MIT (permissive) · f6a38e82cb7bacde · report
convert_ndarray nslab-cuk/community-aware-graph-transformer/datasets/bgp.py community (archive-listed) unverified MIT (permissive) · 7984390414b770ba · report
even_quantile_labels nslab-cuk/community-aware-graph-transformer/dataset.py community (archive-listed) unverified MIT (permissive) · be162bddd27d9fac · report
exp nslab-cuk/community-aware-graph-transformer/models.py community (archive-listed) unverified MIT (permissive) · 157006cf12196817 · report
fine_tuning_train nslab-cuk/literalkg/main_finetuning.py community (archive-listed) unverified MIT (permissive) · 3d892bb81f72affb · report
fine_tuning_train nslab-cuk/literalkg/main_finetuning_BCE.py community (archive-listed) unverified MIT (permissive) · 47ca8a31d787e6e4 · report
getM_logM nslab-cuk/community-aware-graph-transformer/util.py community (archive-listed) unverified MIT (permissive) · 7b2bf37d0a197712 · report
get_degrees nslab-cuk/community-aware-graph-transformer/datasets/airports.py community (archive-listed) unverified MIT (permissive) · a093c2a5cfaf259d · report
get_distance nslab-cuk/community-aware-graph-transformer/util.py community (archive-listed) unverified MIT (permissive) · f33dcc24274d2ad3 · report
load_Cora_ML nslab-cuk/community-aware-graph-transformer/gnnutils.py community (archive-listed) unverified MIT (permissive) · 699ec24a50a1213a · report
load_info nslab-cuk/community-aware-graph-transformer/exp.py community (archive-listed) unverified MIT (permissive) · 5514e4d11d611865 · report
mask_getitem nslab-cuk/community-aware-graph-transformer/dataset.py community (archive-listed) unverified MIT (permissive) · 9a5805281d49fe0f · report
rm_useless nslab-cuk/community-aware-graph-transformer/datasets/bgp.py community (archive-listed) unverified MIT (permissive) · 4102c2d70e0e526f · report

Tasks

Graph ClassificationGraph Representation LearningIsomorphism TestingLink PredictionNode ClassificationNode ClusteringRepresentation LearningSelf-Supervised Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Graph Classification ENZYMES UGT Accuracy 67.22±3.92 #19 of 54 Archive leaderboard report
Graph Classification NCI1 UGT Accuracy 77.55 ±0.16% #42 of 69 Archive leaderboard report
Graph Classification NCI109 UGT Accuracy 75.45±1.26 #26 of 38 Archive leaderboard report
Graph Classification PROTEINS UGT Accuracy 80.12 ±0.32 #11 of 103 Archive leaderboard report
Node Classification Brazil Air-Traffic UGT Accuracy 0.8 ± 0.05 #1 of 7 Archive leaderboard report
Node Classification Chameleon UGT Accuracy 69.78 ±3.21 #32 of 61 Archive leaderboard report
Node Classification Citeseer UGT Accuracy 76.08±2.5 #15 of 71 Archive leaderboard report
Node Classification Cora UGT Accuracy 88.74±0.6% #6 of 73 Archive leaderboard report
Node Classification Cornell UGT Accuracy 70.0 ±4.44 #49 of 60 Archive leaderboard report
Node Classification Europe Air-Traffic UGT Accuracy 56.92 ±6.36 #1 of 7 Archive leaderboard report
Node Classification Film (60%/20%/20% random splits) UGT 1:1 Accuracy 36.84±0.62 #25 of 37 Archive leaderboard report
Node Classification Squirrel UGT Accuracy 66.96 ±2.49 #15 of 59 Archive leaderboard report
Node Classification Texas UGT Accuracy 86.67 ±8.31 #18 of 62 Archive leaderboard report
Node Classification USA Air-Traffic UGT Accuracy 66.22±4.55 #1 of 7 Archive leaderboard report
Node Classification Wisconsin UGT Accuracy 81.6 ±8.24 #49 of 63 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.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutGraph TransformerLabel SmoothingLapEigenLaplacian PELayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

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