SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1907.10903 · 2019

DropEdge: Towards Deep Graph Convolutional Networks on Node Classification

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 2 failures of our instrument; 1 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/1907.10903.json · badge: /api/ran/1907.10903.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
sandl99/KGraph community (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
FunctionStatusWhere it lives
calc_f1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sandl99/KGraph/graphsaint/metric.py
code served (permissive licence) · get_code("abd93718f606fd86")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

# Set seed for reproducibility
np.random.seed(0)

# Create sample data for multi-class classification (is_sigmoid=False case)
# y_true and y_pred are one-hot encoded arrays
num_samples = 2
num_classes = 4

# One-hot encoded true labels
y_true = np.array([
    [1, 0, 0, 0],
    [0, 1, 0, 0]
])

# One-hot encoded predictions (with some confidence scores)
y_pred = np.array([
    [0.8, 0.1, 0.05, 0.05],
    [0.2, 0.6, 0.1, 0.1]
])

is_sigmoid = False

ARGS = {
    'y_true': y_true,
    'y_pred': y_pred,
    'is_sigmoid': is_sigmoid
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
load_data Ran
ran on a synthesized input
sandl99/KGraph/graphsaint/utils.py
code served (permissive licence) · get_code("7abe331ceae2bc6f")
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 tuple. 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 numpy as np
import json
import scipy.sparse
import tempfile
import os

# Create a temporary directory with mock data files
temp_dir = tempfile.mkdtemp()
prefix = os.path.basename(temp_dir)
os.chdir(os.path.dirname(temp_dir))

# Create mock sparse adjacency matrices
N = 10  # number of nodes
F = 4   # feature dimension

# adj_full: sparse matrix with some edges
row_full = np.array([0, 1, 2, 3, 4, 5])
col_full = np.array([1, 2, 3, 4, 5, 0])
data_full = np.ones(len(row_full), dtype=bool)
adj_full = scipy.sparse.csr_matrix((data_full, (row_full, col_full)), shape=(N, N), dtype=bool)
scipy.sparse.save_npz(f'{temp_dir}/adj_full.npz', adj_full)

# adj_train: sparse matrix with edges only between training nodes
row_train = np.array([0, 1, 2])
col_train = np.array([1, 2, 0])
data_train = np.ones(len(row_train), dtype=bool)
adj_train = scipy.sparse.csr_matrix((data_train, (row_train, col_train)), shape=(N, N), dtype=bool)
scipy.sparse.save_npz(f'{temp_dir}/adj_train.npz', adj_train)

# feats: node feature matrix
feats = np.random.randn(N, F).astype(np.float32)
np.save(f'{temp_dir}/feats.npy', feats)

# role: train/val/test splits
role = {
    'tr': [0, 1, 2, 3],
    'va': [4, 5, 6],
    'te': [7, 8, 9]
}
with open(f'{temp_dir}/role.json', 'w') as f:
    json.dump(role, f)

# class_map: node class assignments
class_map = {str(i): i % 3 for i in range(N)}
with open(f'{temp_dir}/class_map.json', 'w') as f:
    json.dump(class_map, f)

ARGS = {
    'prefix': prefix,
    'normalize': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
parse_layer_yml Ran
ran; our contract draft was wrong, not the code
sandl99/KGraph/graphsaint/utils.py
code served (permissive licence) · get_code("89c95531d008f3a2")
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 tuple. 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

torch.manual_seed(0)

arch_gcn = {
    'arch': '2-3-4',
    'bias': True,
    'act': 'relu',
    'aggr': 'mean',
    'dim': 64
}

dim_input = 32

ARGS = {
    'arch_gcn': arch_gcn,
    'dim_input': dim_input
}
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 tuple — a tuple 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
process_graph_data Ran
ran on a synthesized input
sandl99/KGraph/graphsaint/utils.py
code served (permissive licence) · get_code("9cfbd9fd1daed815")
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 tuple. 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 numpy as np
import scipy.sparse as sp

# Create small adjacency matrices (sparse format)
num_vertices = 5
num_features = 4

# Create adj_full as a sparse matrix
adj_full_data = np.array([1, 1, 1, 1])
adj_full_row = np.array([0, 1, 2, 3])
adj_full_col = np.array([1, 2, 3, 4])
adj_full = sp.csr_matrix((adj_full_data, (adj_full_row, adj_full_col)), 
                          shape=(num_vertices, num_vertices))

# Create adj_train as a sparse matrix (subset of adj_full)
adj_train_data = np.array([1, 1])
adj_train_row = np.array([0, 1])
adj_train_col = np.array([1, 2])
adj_train = sp.csr_matrix((adj_train_data, (adj_train_row, adj_train_col)), 
                           shape=(num_vertices, num_vertices))

# Create feature matrix
feats = np.random.randn(num_vertices, num_features).astype(np.float32)

# Create class_map with list values (multi-hot encoding)
class_map = {
    0: [1, 0, 0],
    1: [0, 1, 0],
    2: [0, 0, 1],
    3: [1, 1, 0],
    4: [0, 1, 1]
}

# Create role dictionary mapping vertices to train/val/test
role = {
    'train': [0, 1],
    'val': [2, 3],
    'test': [4]
}

ARGS = {
    'adj_full': adj_full,
    'adj_train': adj_train,
    'feats': feats,
    'class_map': class_map,
    'role': role
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
adj_norm Not yet run
unverified (harvested, no recorded run)
sandl99/KGraph/graphsaint/kgraphsaint/batchsample.py
code served (permissive licence) · get_code("4f622dc01523aa92")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 3 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
calc_f1 1 other paper
1 later
2105.04528 (2021-05)
Accelerating Large Scale Real-Time GNN Inference using Channel Pruning
parse_layer_yml 1 other paper
1 later
2105.04528 (2021-05)
Accelerating Large Scale Real-Time GNN Inference using Channel Pruning

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

\emph{Over-fitting} and \emph{over-smoothing} are two main obstacles of developing deep Graph Convolutional Networks (GCNs) for node classification. In particular, over-fitting weakens the generalization ability on small dataset, while over-smoothing impedes model training by isolating output representations from the input features with the increase in network depth. This paper proposes DropEdge, a novel and flexible technique to alleviate both issues. At its core, DropEdge randomly removes a certain number of edges from the input graph at each training epoch, acting like a data augmenter and also a message passing reducer. Furthermore, we theoretically demonstrate that DropEdge either reduces the convergence speed of over-smoothing or relieves the information loss caused by it. More importantly, our DropEdge is a general skill that can be equipped with many other backbone models (e.g. GCN, ResGCN, GraphSAGE, and JKNet) for enhanced performance. Extensive experiments on several benchmarks verify that DropEdge consistently improves the performance on a variety of both shallow and deep GCNs. The effect of DropEdge on preventing over-smoothing is empirically visualized and validated as well. Codes are released on~\url{https://github.com/DropEdge/DropEdge}.

For agents

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

get_harvested_code_for_paper("1907.10903")
get_code_for_paper("1907.10903")
have("1907.10903")

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

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

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

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

Connect an agent — have() is free.