SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2112.11628 · 2021

SkipNode: On Alleviating Performance Degradation for Deep Graph Convolutional Networks

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-23; 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/2112.11628.json · badge: /api/ran/2112.11628.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
weiganglu/skipnode canonical (classifier label)
classifier basis not recorded on the link
7 ran · 0 no recorded run
FunctionStatusWhere it lives
cal_energy Ran
ran on a synthesized input
weiganglu/skipnode/utils/energy.py
code served (permissive licence) · get_code("1875a961241944ff")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
import scipy.sparse

torch.manual_seed(0)

# v1: n * d tensor
# L1: n * n matrix (can be torch.Tensor, np.ndarray, np.matrix, or scipy.sparse.csc_matrix)

n = 4
d = 3

# Create v1 as a torch tensor of shape (n, d)
v1 = torch.randn(n, d)

# Create L1 as a torch tensor of shape (n, n)
L1 = torch.randn(n, n)

ARGS = {
    "v1": v1,
    "L1": L1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_mad_value Ran
ran on a synthesized input
weiganglu/skipnode/utils/mad_gap.py
code served (permissive licence) · get_code("83661fc8bde4fc47")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for testing
# intensor: (node_num, feat_num) - node features
node_num = 4
feat_num = 3
intensor = torch.randn(node_num, feat_num)

# neb_mask: (node_num, node_num) - binary mask for neighboring nodes
neb_mask = torch.zeros(node_num, node_num)
neb_mask[0, 1] = 1
neb_mask[0, 2] = 1
neb_mask[1, 0] = 1
neb_mask[1, 2] = 1
neb_mask[2, 0] = 1
neb_mask[2, 1] = 1
neb_mask[3, 0] = 1

# rmt_mask: (node_num, node_num) - binary mask for remote nodes
rmt_mask = torch.zeros(node_num, node_num)
rmt_mask[0, 3] = 1
rmt_mask[1, 3] = 1
rmt_mask[2, 3] = 1
rmt_mask[3, 1] = 1
rmt_mask[3, 2] = 1

# target_idx: indices to select from the mean lists
target_idx = torch.tensor([0, 1, 2])

ARGS = {
    "intensor": intensor,
    "neb_mask": neb_mask,
    "rmt_mask": rmt_mask,
    "target_idx": target_idx,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_random_graph Ran
ran on a synthesized input
weiganglu/skipnode/utils/dataset.py
code served (permissive licence) · get_code("91e82cab62fa0b71")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Data. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch_geometric.transforms as T
from torch_geometric.data import Data

torch.manual_seed(0)

ARGS = {
    "num_nodes": 8,
    "density": 0.5,
    "num_classes": 3,
    "feat_dim": 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Data — a Data output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_dataset Ran
ran on a synthesized input
weiganglu/skipnode/utils/dataset.py
code served (permissive licence) · get_code("ebae84a1ad7dfa50")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned RandomGraphDataset. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import tempfile
import os

torch.manual_seed(0)

# Create a temporary directory for data
temp_dir = tempfile.mkdtemp()

ARGS = {
    'name': 'random',
    'root': temp_dir,
    'seed': 42,
    'num_nodes': 10,
    'density': 0.3,
    'num_classes': 3,
    'feat_dim': 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RandomGraphDataset — a RandomGraphDataset output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_laplacian_mat Ran
ran on a synthesized input
weiganglu/skipnode/utils/energy.py
code served (permissive licence) · get_code("6ff82b43fa43b21c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch_geometric.utils import get_laplacian

torch.manual_seed(0)

# Create a small graph with 4 nodes and 5 edges
# edge_index: 2 x num_edges tensor containing node indices
edge_index = torch.tensor([
    [0, 1, 1, 2, 3],
    [1, 0, 2, 1, 2]
], dtype=torch.long)

# edge_weight: 1D tensor with weights for each edge
edge_weight = torch.ones(edge_index.size(1), dtype=torch.float)

# num_node: number of nodes in the graph
num_node = 4

# normalization: type of laplacian normalization
normalization = 'sym'

ARGS = {
    'edge_index': edge_index,
    'edge_weight': edge_weight,
    'num_node': num_node,
    'normalization': normalization
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, shape (4, 4) — shape (4, 4) as a later run recorded it
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
index_to_mask Ran
ran; our contract draft was wrong, not the code
weiganglu/skipnode/utils/dataset.py
pointer only (licence: MIT); the stored copy get_code serves, from divelab/Non-Local-GNN, is pointer only (licence: GPL-3.0) · get_code("da80a2b9fd449bd2")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from divelab/Non-Local-GNN, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

tonp Ran
ran, honoured the contract we drafted
weiganglu/skipnode/utils/energy.py
code served (permissive licence) · get_code("254aa250e6c6fd5e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import scipy.sparse
import torch

torch.manual_seed(0)

# Test case 1: numpy array
np_array = np.array([[1, 2, 3, 4], [5, 6, 7, 8]], dtype=np.float32)

# Test case 2: numpy matrix
np_matrix = np.matrix([[1, 2, 3, 4], [5, 6, 7, 8]], dtype=np.float32)

# Test case 3: scipy sparse csc_matrix
np_dense = np.array([[1, 0, 3, 0], [0, 6, 0, 8]], dtype=np.float32)
scipy_sparse = scipy.sparse.csc_matrix(np_dense)

# Test case 4: torch tensor (regular)
torch_tensor = torch.tensor([[1, 2, 3, 4], [5, 6, 7, 8]], dtype=torch.float32)

# Test case 5: torch tensor (sparse - requires detach and to_dense)
torch_sparse_indices = torch.tensor([[0, 1], [1, 3]], dtype=torch.long)
torch_sparse_values = torch.tensor([1.0, 8.0], dtype=torch.float32)
torch_sparse_tensor = torch.sparse_coo_tensor(torch_sparse_indices.t(), torch_sparse_values, (2, 4))

# Use the first test case (numpy array) as the primary argument
ARGS = {
    "tsr": np_array
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 2 later) and 5 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
index_to_mask 12 other papers
3 dated earlier, 9 later
2005.14612 (2020-05)
Non-Local Graph Neural Networks
2007.09296 (2020-07)
Towards Deeper Graph Neural Networks
2111.07337 (2021-11)
p-Laplacian Based Graph Neural Networks
and 9 more not named here
tonp 1 other paper
1 later
2210.08122 (2022-10)
Old can be Gold: Better Gradient Flow can Make Vanilla-GCNs Great Again

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-23.

Repositories linked to this paper

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

Abstract

Graph Convolutional Networks (GCNs) suffer from performance degradation when models go deeper. However, earlier works only attributed the performance degeneration to over-smoothing. In this paper, we conduct theoretical and experimental analysis to explore the fundamental causes of performance degradation in deep GCNs: over-smoothing and gradient vanishing have a mutually reinforcing effect that causes the performance to deteriorate more quickly in deep GCNs. On the other hand, existing anti-over-smoothing methods all perform full convolutions up to the model depth. They could not well resist the exponential convergence of over-smoothing due to model depth increasing. In this work, we propose a simple yet effective plug-and-play module, Skipnode, to overcome the performance degradation of deep GCNs. It samples graph nodes in each convolutional layer to skip the convolution operation. In this way, both over-smoothing and gradient vanishing can be effectively suppressed since (1) not all nodes'features propagate through full layers and, (2) the gradient can be directly passed back through ``skipped'' nodes. We provide both theoretical analysis and empirical evaluation to demonstrate the efficacy of Skipnode and its superiority over SOTA baselines.

For agents

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

get_harvested_code_for_paper("2112.11628")
get_code_for_paper("2112.11628")
have("2112.11628")

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

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

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

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

Connect an agent — have() is free.