SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.15856 · 2022

coVariance Neural Networks

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 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 6 have no contract verdict; 1 failure of our instrument; 2 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/2205.15856.json · badge: /api/ran/2205.15856.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
sihags/VNN canonical (classifier label)
classifier basis not recorded on the link
8 ran · 2 no recorded run
FunctionStatusWhere it lives
LSIGF Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sihags/VNN/Utils/graphML.py
pointer only (licence: CC0-1.0); the stored copy get_code serves, from sihags/vnn_brain_age, is pointer only (licence: NOASSERTION) · get_code("6d0896b0e3e846ea")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (CC0-1.0), but get_code serves the stored copy, first harvested from sihags/vnn_brain_age, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

NVGF Ran
ran on a synthesized input
sihags/VNN/Utils/graphML.py
code served (permissive licence) · get_code("fd4431f7eb5fea08")
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 3, dtype family float, shape (2, 6, 7) 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)

# Define dimensions with distinct values
B = 2  # batch_size
G = 3  # input_features
E = 4  # edge_features
K = 5  # filter_taps (shifts)
F = 6  # output_features
N = 7  # number_nodes

# Construct filter_taps: shape (F, E, K, G, N)
h = torch.randn(F, E, K, G, N)

# Construct GSO (Graph Shift Operator): shape (E, N, N)
S = torch.randn(E, N, N)

# Construct input: shape (B, G, N)
x = torch.randn(B, G, N)

# Construct bias: shape (F, N)
b = torch.randn(F, N)

ARGS = {
    "h": h,
    "S": S,
    "x": x,
    "b": b,
}
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 3, dtype family float, shape (2, 6, 7) — shape (2, 6, 7) 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
adjacencyToLaplacian Ran
ran on a synthesized input
sihags/VNN/Utils/graphTools.py
code served (permissive licence) · get_code("6a8e17a328f64d70")
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 (4, 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

# Create a small adjacency matrix
# Using a 4x4 matrix with distinct values to test the function
W = np.array([
    [0.0, 1.0, 0.0, 1.0],
    [1.0, 0.0, 1.0, 0.0],
    [0.0, 1.0, 0.0, 1.0],
    [1.0, 0.0, 1.0, 0.0]
], dtype=np.float32)

ARGS = {
    "W": W
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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 (4, 4) — shape (4, 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
changeDataType Ran
ran, honoured the contract we drafted
sihags/VNN/Utils/dataTools.py
pointer only (licence: CC0-1.0); the stored copy get_code serves, from sihags/vnn_brain_age, is pointer only (licence: NOASSERTION) · get_code("1954ef73e2e3d18b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (CC0-1.0), but get_code serves the stored copy, first harvested from sihags/vnn_brain_age, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

invertTensorEW Ran
ran on a synthesized input
sihags/VNN/Utils/dataTools.py
code served (permissive licence) · get_code("5e96daeb5f6baa95")
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 torch
import numpy as np

torch.manual_seed(0)

# The function expects a numpy array (or array-like object)
# that supports indexing with boolean masks and division operations
x = np.array([
    [0.5, 1e-10, 2.0, 3.5],
    [0.1, 5.0, 1e-11, 0.25]
], dtype=np.float64)

ARGS = {
    'x': x
}
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 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
normalizeAdjacency Ran
ran on a synthesized input
sihags/VNN/Utils/graphTools.py
code served (permissive licence) · get_code("37d7a204626c1b97")
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 (4, 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

# Create a small adjacency matrix
# Using a 4x4 matrix for simplicity
W = np.array([
    [0, 1, 1, 0],
    [1, 0, 1, 1],
    [1, 1, 0, 1],
    [0, 1, 1, 0]
], dtype=np.float32)

ARGS = {
    "W": W
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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 (4, 4) — shape (4, 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
normalizeData Ran
ran on a synthesized input
sihags/VNN/Utils/dataTools.py
code served (permissive licence) · get_code("6af33610557672fd")
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 3, dtype family float, shape (2, 4, 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 numpy as np
import torch

torch.manual_seed(0)

# Test with numpy array
x_numpy = np.random.randn(2, 4, 3)
ax_numpy = 1

# Test with torch tensor
x_torch = torch.randn(2, 4, 3)
ax_torch = 1

# Create ARGS dict with numpy version
ARGS = {
    "x": x_numpy,
    "ax": ax_numpy
}
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 ndarray, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 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
num2filename Ran
ran on a synthesized input
sihags/VNN/Utils/miscTools.py
code served (permissive licence) · get_code("34108c985800f583")
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 str. 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.

# Test cases for num2filename
torch_imported = False
try:
    import torch
    torch_imported = True
except:
    pass

# Test 1: Integer input
x1 = 2
d1 = 'd'

# Test 2: Decimal input with delimiter
x2 = 3.1415
d2 = 'd'

# Test 3: Decimal input with empty string delimiter
x3 = 3.1415
d3 = ''

# Test 4: Decimal input with period delimiter
x4 = 3.1415
d4 = '.'

# Use the first test case for ARGS
ARGS = {
    'x': 3.1415,
    'd': 'd'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
plotGraph Not yet run
unverified (harvested, no recorded run)
sihags/VNN/Utils/graphTools.py
code served (permissive licence) · get_code("3ea569d163fdaa83")
How it ran

no invocation recorded.

spectralGF Not yet run
unverified (harvested, no recorded run)
sihags/VNN/Utils/graphML.py
code served (permissive licence) · get_code("718ceaf5f15442c3")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 2 later) and 0 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
LSIGF 2 other papers
1 dated earlier, 1 later
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
2305.18370 (2023-05)
Explainable Brain Age Prediction using coVariance Neural Networks
changeDataType 2 other papers
1 dated earlier, 1 later
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
2305.18370 (2023-05)
Explainable Brain Age Prediction using coVariance Neural Networks
NVGF 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
adjacencyToLaplacian 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
invertTensorEW 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
normalizeAdjacency 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
normalizeData 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
num2filename 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
plotGraph 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian
spectralGF 1 other paper
1 dated earlier
1102.0075 (2011-02)
Vector Diffusion Maps and the Connection Laplacian

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 (GNN) are an effective framework that exploit inter-relationships within graph-structured data for learning. Principal component analysis (PCA) involves the projection of data on the eigenspace of the covariance matrix and draws similarities with the graph convolutional filters in GNNs. Motivated by this observation, we study a GNN architecture, called coVariance neural network (VNN), that operates on sample covariance matrices as graphs. We theoretically establish the stability of VNNs to perturbations in the covariance matrix, thus, implying an advantage over standard PCA-based data analysis approaches that are prone to instability due to principal components associated with close eigenvalues. Our experiments on real-world datasets validate our theoretical results and show that VNN performance is indeed more stable than PCA-based statistical approaches. Moreover, our experiments on multi-resolution datasets also demonstrate that VNNs are amenable to transferability of performance over covariance matrices of different dimensions; a feature that is infeasible for PCA-based approaches.

For agents

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

get_harvested_code_for_paper("2205.15856")
get_code_for_paper("2205.15856")
have("2205.15856")

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

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

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

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

Connect an agent — have() is free.