SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.10991 · 2022

Understanding convolution on graphs via energies

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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 4 have no contract verdict; 2 failures of our instrument; 3 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/2206.10991.json · badge: /api/ran/2206.10991.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
jrowbottomgit/graff canonical (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
FunctionStatusWhere it lives
generate_random_splits Ran
ran on a synthesized input
jrowbottomgit/graff/src/heterophilic.py
code served (permissive licence) · get_code("c20f37114f97e100")
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

torch.manual_seed(0)

# Create a minimal data object with the required attributes
class Data:
    def __init__(self, num_nodes, num_classes):
        self.num_nodes = num_nodes
        self.y = torch.randint(0, num_classes, (num_nodes,))
        self.train_mask = None
        self.val_mask = None
        self.test_mask = None

# Construct arguments
num_nodes = 10
num_classes = 3
data = Data(num_nodes, num_classes)

ARGS = {
    "data": data,
    "num_classes": num_classes,
    "train_rate": 0.6,
    "val_rate": 0.2,
}
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 Data — a Data output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Data output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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_edge_cat Ran
ran on a synthesized input
jrowbottomgit/graff/src/data_synth_hetero.py
code served (permissive licence) · get_code("f8fafdfed1482c4d")
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 list, ndim 2, 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 torch
import numpy as np

torch.manual_seed(0)

# Construct edge_index: shape [2, num_edges]
# edge_index[0] = source nodes, edge_index[1] = target nodes
num_nodes = 5
num_edges = 8
edge_index = torch.tensor([
    [0, 1, 2, 3, 4, 0, 1, 2],  # source nodes
    [1, 2, 3, 4, 0, 2, 3, 4]   # target nodes
], dtype=torch.long)

# Construct y: node labels, shape [num_nodes]
y = torch.tensor([0, 1, 0, 2, 1], dtype=torch.long)

# Number of classes
num_classes = 3

ARGS = {
    "edge_index": edge_index,
    "y": y,
    "num_classes": num_classes
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list 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
get_optimizer Ran
ran; our contract draft was wrong, not the code
jrowbottomgit/graff/src/run_GNN.py
code served (permissive licence) · get_code("dab3444777a2e6c7")
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) and returned Adam. 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.nn as nn

torch.manual_seed(0)

# Create a simple model with parameters
model = nn.Linear(4, 3)

# Define ARGS dict with all parameters for get_optimizer
ARGS = {
    'name': 'adam',
    'parameters': model.parameters(),
    'lr': 0.001,
    'weight_decay': 0.0001
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Adam — a Adam output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Adam output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
graff_run_params Ran
ran on a synthesized input
jrowbottomgit/graff/src/graff_params.py
code served (permissive licence) · get_code("add0d5d014f4b500")
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 dict. 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.nn as nn

torch.manual_seed(0)

# The function takes a single parameter 'opt' which is a dictionary
# It modifies the dictionary in place and returns it
# We need to construct a minimal dict with the keys that will be accessed/set

ARGS = {
    'opt': {
        'dataset': None,
        'use_best_params': None,
        'geom_gcn_splits': None,
        'num_splits': None,
        'w_style': 'sum',
        'block': None,
        'function': None,
        'XN_activation': None,
        'conv_batch_norm': None,
        'pointwise_nonlin': None,
        'optimizer': None,
        'epoch': None,
        'method': None,
        'self_loops': None,
        'undirected': None,
        'wandb': None,
        'track_grad_flow': None,
        'track_grad_flow_switch': None,
    }
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
index_to_mask Ran
ran; our contract draft was wrong, not the code
jrowbottomgit/graff/src/heterophilic.py
pointer only (licence: Apache-2.0); 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 (Apache-2.0), 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.

t_or_f Ran
ran on a synthesized input
jrowbottomgit/graff/src/graff_params.py
code served (permissive licence) · get_code("f9186ef3af509d8c")
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 bool, 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

torch.manual_seed(0)

ARGS = {
    'tf_str': 'True'
}
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 bool, 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
get_component Not yet run
unverified (harvested, no recorded run)
jrowbottomgit/graff/src/data.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ssjcode/FSD-CAP, is pointer only (licence: NONE) · get_code("c68140584cc0e991")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ssjcode/FSD-CAP, and GitHub detected no licence in that repository 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.

get_largest_connected_component Not yet run
unverified (harvested, no recorded run)
jrowbottomgit/graff/src/data.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ssjcode/FSD-CAP, is pointer only (licence: NONE) · get_code("b36878b25e3455a3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ssjcode/FSD-CAP, and GitHub detected no licence in that repository 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.

load_best_params Not yet run
unverified (harvested, no recorded run)
jrowbottomgit/graff/src/graff_params.py
code served (permissive licence) · get_code("910997231dd76428")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 4 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
5 dated earlier, 1 the same month, 6 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
get_optimizer 8 other papers
3 dated earlier, 1 the same month, 4 later
2106.10934 (2021-06)
GRAND: Graph Neural Diffusion
2110.09443 (2021-10)
Beltrami Flow and Neural Diffusion on Graphs
2202.02296 (2022-02)
Graph-Coupled Oscillator Networks
and 5 more not named here
get_component 7 other papers
2 dated earlier, 5 later
1911.05485 (2019-11)
Diffusion Improves Graph Learning
2111.12128 (2021-11)
On the Unreasonable Effectiveness of Feature propagation in Learning on Graphs with Missing Node Features
2209.07754 (2022-09)
On the Robustness of Graph Neural Diffusion to Topology Perturbations
and 4 more not named here
get_largest_connected_component 6 other papers
2 dated earlier, 4 later
1911.05485 (2019-11)
Diffusion Improves Graph Learning
2111.12128 (2021-11)
On the Unreasonable Effectiveness of Feature propagation in Learning on Graphs with Missing Node Features
2209.15486 (2022-09)
Graph Neural Networks for Link Prediction with Subgraph Sketching
and 3 more not named here

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 Neural Networks (GNNs) typically operate by message-passing, where the state of a node is updated based on the information received from its neighbours. Most message-passing models act as graph convolutions, where features are mixed by a shared, linear transformation before being propagated over the edges. On node-classification tasks, graph convolutions have been shown to suffer from two limitations: poor performance on heterophilic graphs, and over-smoothing. It is common belief that both phenomena occur because such models behave as low-pass filters, meaning that the Dirichlet energy of the features decreases along the layers incurring a smoothing effect that ultimately makes features no longer distinguishable. In this work, we rigorously prove that simple graph-convolutional models can actually enhance high frequencies and even lead to an asymptotic behaviour we refer to as over-sharpening, opposite to over-smoothing. We do so by showing that linear graph convolutions with symmetric weights minimize a multi-particle energy that generalizes the Dirichlet energy; in this setting, the weight matrices induce edge-wise attraction (repulsion) through their positive (negative) eigenvalues, thereby controlling whether the features are being smoothed or sharpened. We also extend the analysis to non-linear GNNs, and demonstrate that some existing time-continuous GNNs are instead always dominated by the low frequencies. Finally, we validate our theoretical findings through ablations and real-world experiments.

For agents

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

get_harvested_code_for_paper("2206.10991")
get_code_for_paper("2206.10991")
have("2206.10991")

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

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

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

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

Connect an agent — have() is free.