Papers › Subgraph Pooling: Tackling Negative Transfer on Graphs

Subgraph Pooling: Tackling Negative Transfer on Graphs

14 Feb 2024arXiv:2402.08907archive 2025-07-28

Zehong Wang, Zheyuan Zhang, Chuxu Zhang, Yanfang Ye

Transfer learning aims to enhance performance on a target task by using knowledge from related tasks. However, when the source and target tasks are not closely aligned, it can lead to reduced performance, known as negative transfer. Unlike in image or text data, we find that negative transfer could commonly occur in graph-structured data, even when source and target graphs have semantic similarities. Specifically, we identify that structural differences significantly amplify the dissimilarities in the node embeddings across graphs. To mitigate this, we bring a new insight in this paper: for semantically similar graphs, although structural differences lead to significant distribution shift in node embeddings, their impact on subgraph embeddings could be marginal. Building on this insight, we introduce Subgraph Pooling (SP) by aggregating nodes sampled from a k-hop neighborhood and Subgraph Pooling++ (SP++) by a random walk, to mitigate the impact of graph structural differences on knowledge transfer. We theoretically analyze the role of SP in reducing graph discrepancy and conduct extensive experiments to evaluate its superiority under various settings. The proposed SP methods are effective yet elegant, which can be easily applied on top of any backbone Graph Neural Networks (GNNs). Our code and data are available at: https://github.com/Zehong-Wang/Subgraph-Pooling.

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

Code

Syntology Ran 11 of 17 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 8 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 11 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/subgraph-pooling 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

17 samples harvested; 11 ran; 1 honoured the contract we drafted; 6 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
1ran · our draft was wrong
1ran · fixture could not drive it
8ran
6unverified

Licence: 17 of the 17 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 zehong-wang/subgraph-pooling. “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.

edges_to_adj zehong-wang/subgraph-pooling/pre_data/datasets.py official repository ran · our draft was wrong no licence file found · pointer only · 98148369810a06c2 · report
gcn_norm Zehong-Wang/Subgraph-Pooling/model.py official repository ran · fixture could not drive it no licence file found · pointer only · ed1c637003e09152 · report
get_n_params zehong-wang/subgraph-pooling/utils.py official repository ran no licence file found · pointer only · daf55c979a3ffd35 · report
load_nc_dataset zehong-wang/subgraph-pooling/pre_data/pre_arxiv.py official repository ran no licence file found · pointer only · 32b454f2035d61f4 · report
load_ogb_arxiv zehong-wang/subgraph-pooling/pre_data/pre_arxiv.py official repository ran no licence file found · pointer only · 2d2a8de7147f5a42 · report
read_edges zehong-wang/subgraph-pooling/pre_data/datasets.py official repository ran · honoured contract no licence file found · pointer only · 6098bb77dfa6ae0d · report
source_sampling zehong-wang/subgraph-pooling/utils.py official repository ran no licence file found · pointer only · b73ef0ea4c1728ba · report
take_second zehong-wang/subgraph-pooling/pre_data/pre_arxiv.py official repository ran fingerprinted no licence file found · pointer only · 75b35bd6fdaaf274 · report
target_sampling zehong-wang/subgraph-pooling/utils.py official repository ran no licence file found · pointer only · eb06c3ed47978a35 · report
to_planetoid zehong-wang/subgraph-pooling/data_utils.py official repository ran no licence file found · pointer only · 7e85cbb79f6726cb · report
train zehong-wang/subgraph-pooling/main_multi.py official repository ran no licence file found · pointer only · e7dafa34c4dede31 · report
Aggregator Zehong-Wang/Subgraph-Pooling/model.py official repository unverified no licence file found · pointer only · 52ee9c9202618df7 · report
GCNAggr Zehong-Wang/Subgraph-Pooling/model.py official repository unverified no licence file found · pointer only · dbc3453ab0b65dd2 · report
GNN_SP Zehong-Wang/Subgraph-Pooling/model.py official repository unverified no licence file found · pointer only · c3106d3ca59accef · report
even_quantile_labels zehong-wang/subgraph-pooling/data_utils.py official repository unverified no licence file found · pointer only · 919cb6dbf2c173bb · report
rand_train_test_idx zehong-wang/subgraph-pooling/data_utils.py official repository unverified no licence file found · pointer only · 13234652741e2264 · report
train zehong-wang/subgraph-pooling/main_elliptic.py official repository unverified no licence file found · pointer only · 585e4181a8ac620f · report

Tasks

Transfer 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