SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.15020 · NeurIPS · 2024

Iterative Methods via Locally Evolving Set Process

Yanghua Xiao, Yifan Sun, Baojian Zhou, Reza Babanezhad Harikandeh, Xingzhi Guo, Deqing Yang

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures 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/2410.15020.json · badge: /api/ran/2410.15020.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
baojian/LocalCH canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
baojian/localch canonical (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
FunctionStatusWhere it lives
appr_local_gd Ran
ran; our contract draft was wrong, not the code
baojian/LocalCH/algo/local_gd.py
code served (permissive licence) · get_code("190e6977d8db07ca")
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
from numpy import float64, bool_, int64

# Create a small sparse graph represented in CSR format
# We'll create a simple graph with 5 nodes
n = 5

# Create a sparse adjacency matrix in CSR format
# For example: node 0 connects to nodes 1,2; node 1 connects to node 3; etc.
indptr = np.array([0, 2, 3, 4, 5, 5], dtype=int64)
indices = np.array([1, 2, 3, 0, 2, 1], dtype=int64)

# Degree array - number of neighbors for each node
degree = np.array([2, 2, 2, 1, 1], dtype=float64)

# Initial vector b (can be sparse)
b = np.array([1.0, 0.0, 1.0, 0.0, 0.0], dtype=float64)

# Alpha parameter (damping/smoothing parameter)
alpha = 0.1

# Epsilon threshold for considering a residual significant
eps = 0.01

# Optional optimal solution for computing error (can be None)
opt_x = np.array([0.5, 0.3, 0.4, 0.1, 0.2], dtype=float64)

ARGS = {
    "n": n,
    "indptr": indptr,
    "indices": indices,
    "degree": degree,
    "b": b,
    "alpha": alpha,
    "eps": eps,
    "opt_x": opt_x,
}
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 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
get_eps_space Ran
ran, violated the contract we drafted
baojian/localch/test_sdd_solvers.py
code served (permissive licence) · get_code("381d32857a12fc42")
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 list, 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

# Construct arguments for get_eps_space
ARGS = {
    "alpha": 0.5,
    "n": 100,
    "source_deg": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, 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
load_graph Ran
ran; our contract draft was wrong, not the code
baojian/localch/utils.py
code served (permissive licence) · get_code("dd34b3632156be22")
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 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 os
import tempfile
import numpy as np
import scipy.sparse as sp

# Create a temporary directory to act as the data path
temp_dir = tempfile.mkdtemp()
dataset_name = 'com-dblp'
dataset_dir = os.path.join(temp_dir, 'datasets', dataset_name)
os.makedirs(dataset_dir, exist_ok=True)

# Create a small mock CSR matrix and save it
n_nodes = 10
n_edges = 15
row = np.array([0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 8])
col = np.array([1, 2, 0, 3, 1, 4, 2, 5, 3, 6, 4, 7, 5, 6, 9])
data = np.ones(len(row))
adj_matrix = sp.csr_matrix((data, (row, col)), shape=(n_nodes, n_nodes))

# Save the sparse matrix
npz_path = os.path.join(dataset_dir, f'{dataset_name}_csr-mat.npz')
sp.save_npz(npz_path, adj_matrix)

# Set the environment variable to point to our temp directory
os.environ['LOCALCH_ROOT'] = temp_dir

ARGS = {
    'dataset': 'com-dblp'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
load_graph Ran
ran; our contract draft was wrong, not the code
baojian/LocalCH/utils.py
code served (permissive licence) · get_code("5145ec7c856366ac")
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 os
import tempfile
import scipy.sparse as sp
import numpy as np

# Create a temporary directory structure to simulate the datasets folder
temp_dir = tempfile.mkdtemp()
os.environ['LOCALCH_ROOT'] = temp_dir + os.sep

# Create the necessary directory structure
dataset_name = 'com-dblp'
dataset_dir = os.path.join(temp_dir, 'datasets', dataset_name)
os.makedirs(dataset_dir, exist_ok=True)

# Create a small sparse matrix and save it as CSR format
n_nodes = 10
n_edges = 15

# Create a random sparse matrix
row = np.random.randint(0, n_nodes, n_edges)
col = np.random.randint(0, n_nodes, n_edges)
data = np.ones(n_edges)

sparse_matrix = sp.csr_matrix((data, (row, col)), shape=(n_nodes, n_nodes))

# Save the sparse matrix
output_path = os.path.join(dataset_dir, f'{dataset_name}_csr-mat.npz')
sp.save_npz(output_path, sparse_matrix)

ARGS = {
    'dataset': 'com-dblp'
}
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
load_graph_ids Ran
ran; our contract draft was wrong, not the code
baojian/localch/utils.py
code served (permissive licence) · get_code("3d2ecee8b3121fad")
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 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 os
import tempfile
import numpy as np
import scipy.sparse as sp

# Create a temporary directory structure to simulate the dataset
temp_dir = tempfile.mkdtemp()
os.environ['LOCALCH_ROOT'] = temp_dir + os.sep

# Create the datasets directory structure
dataset_name = 'com-dblp'
dataset_dir = os.path.join(temp_dir, 'datasets', dataset_name)
os.makedirs(dataset_dir, exist_ok=True)

# Create a small sparse CSR matrix
n_nodes = 10
n_edges = 15
row = np.array([0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 8])
col = np.array([1, 2, 0, 3, 1, 4, 2, 5, 3, 6, 4, 7, 5, 6, 9])
data = np.ones(len(row))
adj_matrix = sp.csr_matrix((data, (row, col)), shape=(n_nodes, n_nodes))

# Save the CSR matrix
csr_file = os.path.join(dataset_dir, f'{dataset_name}_csr-mat.npz')
sp.save_npz(csr_file, adj_matrix)

# Create and save ID mapping
unique_ids = np.arange(n_nodes, dtype=np.int64)
id_file = os.path.join(dataset_dir, f'{dataset_name}_id-mapping.npz')
np.savez(id_file, unique_ids)

ARGS = {
    'dataset': 'com-dblp'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
load_graph_ids Ran
ran; our contract draft was wrong, not the code
baojian/LocalCH/utils.py
code served (permissive licence) · get_code("6fbb4551ee039343")
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 os
import tempfile
import numpy as np
import scipy.sparse as sp

# Create a temporary directory structure to simulate the datasets
temp_dir = tempfile.mkdtemp()
os.environ['LOCALCH_ROOT'] = temp_dir + os.sep

# Create the dataset directory structure
dataset_name = 'com-dblp'
dataset_dir = os.path.join(temp_dir, 'datasets', dataset_name)
os.makedirs(dataset_dir, exist_ok=True)

# Create mock sparse matrix data
n_nodes = 100
n_edges = 250
# Create a small sparse CSR matrix
row = np.random.randint(0, n_nodes, n_edges)
col = np.random.randint(0, n_nodes, n_edges)
data = np.ones(n_edges)
adj_m = sp.csr_matrix((data, (row, col)), shape=(n_nodes, n_nodes))

# Save the CSR matrix
csr_file = os.path.join(dataset_dir, f'{dataset_name}_csr-mat.npz')
sp.save_npz(csr_file, adj_m)

# Create and save ID mapping
unique_ids = np.arange(n_nodes)
id_file = os.path.join(dataset_dir, f'{dataset_name}_id-mapping.npz')
np.savez(id_file, unique_ids)

ARGS = {
    'dataset': 'com-dblp'
}
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
load_seed_nodes Ran
ran, honoured the contract we drafted
baojian/localch/utils.py
code served (permissive licence) · get_code("0acfafbd8b6945ba")
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 ndarray, ndim 1, dtype family int, shape (30,) 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

def load_seed_nodes(n, rand_size=50):
    np.random.seed(n)
    x = np.random.permutation(n)
    return x[:rand_size]

ARGS = {
    "n": 100,
    "rand_size": 30
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, scipy — 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 (30,) — shape (30,) 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
load_seed_nodes Ran
ran, honoured the contract we drafted
baojian/LocalCH/utils.py
code served (permissive licence) · get_code("46cc5494b961073c")
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 (50,) 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

def load_seed_nodes(n, rand_size=50):
    np.random.seed(n)
    x = np.random.permutation(n)
    return x[:rand_size]

ARGS = {
    "n": 100,
    "rand_size": 50
}
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 (50,) — shape (50,) 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
sdd_local_gd Ran
ran; our contract draft was wrong, not the code
baojian/LocalCH/algo/local_gd.py
code served (permissive licence) · get_code("225c0b44d3a67ee5")
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
from numpy.linalg import norm
from numpy import float64, bool_, sqrt, int64

# Create a small sparse matrix in CSR format
# We'll create a simple graph with 5 nodes
n = 5

# Create a simple sparse adjacency matrix (CSR format)
# Graph structure: 0->1, 0->2, 1->2, 1->3, 2->3, 3->4
indptr = np.array([0, 2, 4, 6, 8, 8], dtype=int64)  # row pointers
indices = np.array([1, 2, 2, 3, 3, 4, 4, 1], dtype=int64)  # column indices

# Degree of each node
degree = np.array([2, 2, 2, 2, 1], dtype=float64)

# Right-hand side vector (some non-zero entries)
b = np.array([1.0, 0.5, 0.0, 0.0, 0.0], dtype=float64)

# Damping factor
alpha = 0.5

# Threshold parameter
eps = 0.1

# Optimal solution for error tracking (can be None)
opt_x = np.array([0.8, 0.6, 0.4, 0.2, 0.1], dtype=float64)

ARGS = {
    'n': n,
    'indptr': indptr,
    'indices': indices,
    'degree': degree,
    'b': b,
    'alpha': alpha,
    'eps': eps,
    'opt_x': opt_x
}
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 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

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 6 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 6 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

Given the damping factor α and precision tolerance ϵ, Andersen et al. [2] introduced Approximate Personalized PageRank (APPR), the de facto local method for approximating the PPR vector, with runtime bounded by Θ(1/(αϵ)) independent of the graph size. Recently, Fountoulakis & Yang [12] asked whether faster local algorithms could be developed using Õ(1/( √ αϵ)) operations. By noticing that APPR is a local variant of Gauss-Seidel, this paper explores the question of whether standard iterative solvers can be effectively localized. We propose to use the locally evolving set process, a novel framework to characterize the algorithm locality, and demonstrate that many standard solvers can be effectively localized. Let vol(S t ) and γ t be the running average of volume and the residual ratio of active nodes S t during the process. We show vol(S t )/γ t ≤ 1/ϵ and prove APPR admits a new runtime bound Õ(vol(S t )/(αγ t )) mirroring the actual performance. Furthermore, when the geometric mean of residual reduction is Θ( √ α), then there exists c ∈ (0, 2) such that the local Chebyshev method has runtime Õ(vol(S t )/( √ α(2c))) without the monotonicity assumption. Numerical results confirm the efficiency of this novel framework and show up to a hundredfold speedup over corresponding standard solvers on real-world graphs.

For agents

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

get_harvested_code_for_paper("2410.15020")
get_code_for_paper("2410.15020")
have("2410.15020")

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

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

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

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

Connect an agent — have() is free.