SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.20857 · 2026

Multilevel Graph Wavelet Compressed Sensing with Scale-Aware Neural Recovery

Amit Chakraborty, Amirhossein Nouranizadeh, Sarang Patil, Alan Varghese, Varsha Narayanan, Mengjia Xu

arXiv · PDF · Open in the Atlas

Code that ran

6 of 11 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/2607.20857.json · badge: /api/ran/2607.20857.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
bwdeng20/thgsp canonical (classifier label)
classifier basis: census
6 ran · 5 no recorded run
FunctionStatusWhere it lives
admm_bga Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bwdeng20/thgsp/thgsp/bga/admm.py
code served (permissive licence) · get_code("d2c215ddd5187b25")
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, 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 torch
import logging

logging.basicConfig(level=logging.WARNING)

torch.manual_seed(0)

# Create a small symmetric positive semi-definite matrix for A
# Shape: (4, 4) - small N for testing
N = 4
A_base = torch.randn(N, N, dtype=torch.double)
A = (A_base + A_base.t()) / 2  # Make symmetric
A = A + torch.eye(N, dtype=torch.double) * 2  # Make positive semi-definite

# Optional B0 initialization - None or a small (4, 4) or (M, 4, 4) tensor
M = 2
B0 = torch.randn(M, N, N, dtype=torch.double)

ARGS = {
    'A': A,
    'M': M,
    'alpha': 100.0,
    'metric': 'fro21',
    'cut_edge': True,
    'B0': B0,
    'convergence_marker': 1e-08,
    'check_step': 1000,
    'verbose': False,
    'nonnegative': True,
    'rho': 0.01,
    'eta': 1.01,
    'max_iter': 100,
    'early_stop': False,
    'max_rho': 10000000000.0,
}
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, 4, 4) — shape (2, 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
admm_simple Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bwdeng20/thgsp/thgsp/bga/admm.py
code served (permissive licence) · get_code("6937428d3d755898")
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 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 torch
import numpy as np

torch.manual_seed(0)

# Construct a small symmetric positive semi-definite matrix
# The function expects A to be a square matrix and calls torch.linalg.eigh on it
# We'll create a 4x4 symmetric matrix
A = torch.tensor([
    [4.0, 1.0, 0.5, 0.2],
    [1.0, 3.0, 0.3, 0.1],
    [0.5, 0.3, 2.0, 0.4],
    [0.2, 0.1, 0.4, 1.0]
], dtype=torch.float32)

# Ensure it's symmetric
A = (A + A.t()) / 2

# n_eig must be a valid even number <= N (where N=4 in this case)
# Valid options: 2, 4
n_eig = 4

# min_eig is a float threshold
min_eig = 0.0

ARGS = {
    "A": A,
    "n_eig": n_eig,
    "min_eig": min_eig
}
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 Tensor, 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
bfs_lil Ran
ran; our contract draft was wrong, not the code
bwdeng20/thgsp/thgsp/alg/traverse.py
code served (permissive licence) · get_code("1d77c1ba3a100b63")
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.

from collections import deque
import scipy.sparse as sp

# Create a small LIL (List of Lists) sparse matrix
# LIL format has a .rows attribute and .shape attribute
lil_adj = sp.lil_matrix((5, 5), dtype=int)

# Add some edges to create a small graph
lil_adj[0, 1] = 1
lil_adj[0, 2] = 1
lil_adj[1, 3] = 1
lil_adj[2, 3] = 1
lil_adj[3, 4] = 1

ARGS = {
    "lil_adj": lil_adj,
    "r": 0,
    "father": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
scipy — 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
cohere_color_idx Ran
ran; our contract draft was wrong, not the code
bwdeng20/thgsp/thgsp/bga/_utils.py
code served (permissive licence) · get_code("7f2ff2c7f6179fcd")
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 1, dtype family int, shape (9,) 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)

# Construct arguments for cohere_color_idx
colors = np.array([0, 2, 1])

# color_group is a dict where keys are color indices and values are tensors of node indices
color_group = {
    0: torch.tensor([0, 1, 5], dtype=torch.long),
    1: torch.tensor([3, 4], dtype=torch.long),
    2: torch.tensor([2, 6, 7, 8], dtype=torch.long),
}

ARGS = {
    "colors": colors,
    "color_group": color_group,
}
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 Tensor, ndim 1, dtype family int, shape (9,) — shape (9,) 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
kernel_array_from_beta_dist Ran
ran, honoured the contract we drafted
bwdeng20/thgsp/thgsp/bga/_utils.py
code served (permissive licence) · get_code("4444eab23636183a")
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 (3, 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

# Analyzing the function:
# - beta_dist: used with np.where(), so needs to be a boolean array
# - kernel1: used in np.where(), needs to be an array
# - kernel2: used in np.where(), needs to be an array
# - in_channels: integer parameter
# The function uses np.where(beta_dist, kernel1, kernel2) which selects elements
# from kernel1 or kernel2 based on beta_dist condition.
# Then transposes and stacks along the last axis in_channels times.

# Create small distinct-sized arrays
beta_dist = np.array([[True, False, True], [False, True, False]])  # shape: (2, 3)
kernel1 = np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])  # shape: (2, 3)
kernel2 = np.array([[10.0, 20.0, 30.0], [40.0, 50.0, 60.0]])  # shape: (2, 3)
in_channels = 4

ARGS = {
    "beta_dist": beta_dist,
    "kernel1": kernel1,
    "kernel2": kernel2,
    "in_channels": in_channels
}
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 3, dtype family float, shape (3, 2, 4) — shape (3, 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
new_order Ran
ran, honoured the contract we drafted
bwdeng20/thgsp/thgsp/bga/_utils.py
code served (permissive licence) · get_code("3285f73dccad3ce9")
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 int, shape (5,) 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 math
import numpy as np

def new_order(n_color):
    M = math.ceil(math.log2(n_color))
    order = np.arange(0, 2 ** M, dtype=np.uint8)
    no = np.unpackbits(order.reshape(-1, 1), axis=1)[:, -M:]
    no = np.packbits(no, axis=1, bitorder='little')
    return no[no < n_color]

ARGS = {
    "n_color": 5
}
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 1, dtype family int, shape (5,) — shape (5,) 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
dsatur Not yet run
unverified (harvested, no recorded run)
bwdeng20/thgsp/thgsp/alg/coloring.py
code served (permissive licence) · get_code("479b9eb4affdb7a2")
How it ran

no invocation recorded.

dsatur_cpp Not yet run
unverified (harvested, no recorded run)
bwdeng20/thgsp/thgsp/alg/coloring.py
code served (permissive licence) · get_code("7f3d6ecdda61ea5f")
How it ran

no invocation recorded.

dsatur_py Not yet run
unverified (harvested, no recorded run)
bwdeng20/thgsp/thgsp/alg/coloring.py
code served (permissive licence) · get_code("c09c4cdefdccdbce")
How it ran

no invocation recorded.

greedy_bga Not yet run
unverified (harvested, no recorded run)
bwdeng20/thgsp/thgsp/bga/greedy.py
code served (permissive licence) · get_code("ea48b300cf5749ac")
How it ran

no invocation recorded.

loadmat Not yet run
unverified (harvested, no recorded run)
bwdeng20/thgsp/thgsp/io.py
code served (permissive licence) · get_code("2771eb0eba4d4776")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 11 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.

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

Scientific machine learning methods such as neural operators and physics-informed neural networks have advanced engineering applications and inverse problems, but their training typically requires large volumes of simulated data. This makes data preparation and model training expensive. We propose Graph Wavelet Compressed Sensing (GWCS), a learning-based framework for offline compression of graph signals by representing them as sparse, interpretable wavelet-domain representations using the spectral graph wavelet transform. The framework combines a nonparametric multilevel importance sampler, which retains high-energy wavelet coefficients within each scale for a given compression ratio, with a scale-aware graph neural network that reconstructs the signal from the sparse coefficients. We evaluate the proposed framework on synthetic approximately band-limited graph signals over random graphs and four PDE simulation datasets over meshes, which include Turbulent Radiative Layer, Viscoelastic Instability, Kolmogorov Flow, and Dynamic Stall. We compare against graph signal sampling methods and graph autoencoder baselines. Results demonstrate that the framework achieves high reconstruction fidelity and substantial data compression compared to existing benchmarks.

For agents

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

get_harvested_code_for_paper("2607.20857")
get_code_for_paper("2607.20857")
have("2607.20857")

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

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

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

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

Connect an agent — have() is free.