SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.05662 · NeurIPS · 2022

Deep Architecture Connectivity Matters for Its Convergence: A Fine-Grained Analysis

Zhangyang Wang, Xinyu Gong, Wuyang Chen, Boris Hanin, Wei Huang

arXiv · PDF · Open in the Atlas

Code that ran

19 of 21 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, 2 violated it and 14 have no contract verdict; 3 failures of our instrument; 2 no recorded run); 2 of them were also run on the host, not in the jail, by the peer-agreement lane that set their level, measured 2026-11-24; 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.05662.json · badge: /api/ran/2205.05662.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
chenwydj/architecture_convergence canonical (classifier label)
classifier basis not recorded on the link
18 ran · 2 no recorded run
VITA-Group/architecture_convergence canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_md5 Ran
ran; our contract draft was wrong, not the code
chenwydj/architecture_convergence/nas-without-training/datasets/DownsampledImageNet.py
code served (permissive licence) · get_code("ad0636a128295d5a")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T01:26:15Z). 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 hashlib

# Create a temporary file with some content for testing
temp_dir = tempfile.mkdtemp()
test_file = os.path.join(temp_dir, "test_file.bin")

# Write some test data to the file
with open(test_file, 'wb') as f:
    f.write(b"Hello, this is test data for MD5 calculation." * 100)

ARGS = {
    "fpath": test_file,
    "chunk_size": 1024 * 1024
}
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 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
check_md5 Ran
ran, violated the contract we drafted
chenwydj/architecture_convergence/nas-without-training/datasets/DownsampledImageNet.py
code served (permissive licence) · get_code("380a00b777aad655")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T23:17:45Z). 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 os
import sys
import hashlib
import torch
import tempfile

# Create a temporary file with known content
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_file.bin")

# Write some test data to the file
test_data = b"Hello, this is test data for MD5 calculation!"
with open(temp_file, 'wb') as f:
    f.write(test_data)

# Calculate the MD5 hash of the test data
md5_hash = hashlib.md5(test_data).hexdigest()

# Define arguments for check_md5 function
ARGS = {
    'fpath': temp_file,
    'md5': md5_hash
}
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 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
accuracy Ran
ran on a synthesized input
chenwydj/architecture_convergence/mlp_code/utils.py
code served (permissive licence) · get_code("fce4d8316ff3d185")
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 3, 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

torch.manual_seed(0)

# Create small output tensor (batch_size=2, num_classes=10)
# This represents model output logits
output = torch.randn(2, 10)

# Create small label tensor (batch_size=2)
# This represents ground truth class indices
label = torch.tensor([3, 7])

# Number of classes
num_class = 10

# Top-k values to compute accuracy for
topk = (1,)

ARGS = {
    "output": output,
    "label": label,
    "num_class": num_class,
    "topk": topk,
}
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, ndim 3, 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
check_integrity Ran
ran, violated the contract we drafted
chenwydj/architecture_convergence/nas-without-training/datasets/DownsampledImageNet.py
code served (permissive licence) · get_code("e947a6effcaaf32b")
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 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 os
import tempfile
import hashlib

# Create a temporary file with known content for testing
temp_dir = tempfile.mkdtemp()
test_file = os.path.join(temp_dir, "test_file.txt")

# Write some test content to the file
with open(test_file, 'w') as f:
    f.write("test content for md5 checking")

# Calculate the MD5 hash of the test file
md5_hash = hashlib.md5()
with open(test_file, 'rb') as f:
    for chunk in iter(lambda: f.read(1024 * 1024), b''):
        md5_hash.update(chunk)
correct_md5 = md5_hash.hexdigest()

# Define arguments for check_integrity function
ARGS = {
    'fpath': test_file,
    'md5': correct_md5
}
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 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
edge2value Ran
ran on a synthesized input
chenwydj/architecture_convergence/nas-without-training/collect_arch_data.py
code served (permissive licence) · get_code("d9b7f522f765561e")
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 int, ndim 0, dtype family int, 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 = {
    'op_str': 'conv_3x3'
}
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 int, ndim 0, dtype family int, 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
find_all_paths Ran
ran on a synthesized input
chenwydj/architecture_convergence/nas-without-training/collect_arch_data.py
code served (permissive licence) · get_code("c2c1522bfc9c4a8b")
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. 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

# Create an adjacency/affinity matrix
# The function looks at Aff[curr_pos, curr_pos + 1:] to find next nodes
# It needs to be a 2D array where we can index rows and columns
# Shape should be (end_pos + 1, end_pos + 1) or larger
# Let's create a 6x6 matrix (since end_pos defaults to 5)
Aff = np.array([
    [0.0,  1.0,  0.0, -1.0,  0.5,  0.0],
    [-1.0, 0.0,  2.0,  0.0,  1.0, -1.0],
    [0.0, -1.0,  0.0,  3.0,  0.0,  0.5],
    [-1.0, 0.0, -1.0,  0.0,  2.0,  1.0],
    [0.0, -1.0,  0.0, -1.0,  0.0,  4.0],
    [0.0,  0.0,  0.0,  0.0,  0.0,  0.0],
], dtype=np.float32)

# all_paths is a list that accumulates results
all_paths = []

ARGS = {
    "Aff": Aff,
    "all_paths": all_paths,
    "curr_path": [],
    "curr_pos": 0,
    "end_pos": 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 list — a list 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
find_all_paths_3d_prob Ran
ran on a synthesized input
chenwydj/architecture_convergence/TENAS/prune_tenas.py
code served (permissive licence) · get_code("5cc4e76addc371ea")
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. 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

# Construct a small 3D affinity matrix
# Shape: (6, 6, 3) - from nodes 0-5, to nodes 0-5, with 3 value indices
# Aff[i, j, 0] encodes some threshold value
# Aff[i, j, 1] and Aff[i, j, 2] encode probabilities for two pathways
Aff = np.zeros((6, 6, 3), dtype=np.float32)

# Set up a simple path structure:
# From node 0 -> node 1, 2, 3
# From node 1 -> node 2, 3, 4
# From node 2 -> node 3, 4, 5
# From node 3 -> node 4, 5
# From node 4 -> node 5
# From node 5 -> (end)

# Fill in affinity values
# For transitions from node 0
Aff[0, 1, 0] = 0.5  # threshold < 1
Aff[0, 1, 1] = 0.6  # probability for pathway 0
Aff[0, 1, 2] = 0.4  # probability for pathway 1

Aff[0, 2, 0] = 0.3
Aff[0, 2, 1] = 0.5
Aff[0, 2, 2] = 0.5

# For transitions from node 1
Aff[1, 2, 0] = 0.2
Aff[1, 2, 1] = 0.7
Aff[1, 2, 2] = 0.3

Aff[1, 3, 0] = 0.4
Aff[1, 3, 1] = 0.6
Aff[1, 3, 2] = 0.4

# For transitions from node 2
Aff[2, 3, 0] = 0.1
Aff[2, 3, 1] = 0.8
Aff[2, 3, 2] = 0.2

Aff[2, 4, 0] = 0.5
Aff[2, 4, 1] = 0.5
Aff[2, 4, 2] = 0.5

# For transitions from node 3
Aff[3, 4, 0] = 0.3
Aff[3, 4, 1] = 0.7
Aff[3, 4, 2] = 0.3

Aff[3, 5, 0] = 0.2
Aff[3, 5, 1] = 0.9
Aff[3, 5, 2] = 0.1

# For transitions from node 4
Aff[4, 5, 0] = 0.1
Aff[4, 5, 1] = 0.8
Aff[4, 5, 2] = 0.2

ARGS = {
    "Aff": Aff,
    "all_paths": [],
    "curr_path": [],
    "curr_prob": 1.0,
    "curr_pos": 0,
    "end_pos": 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 list — a list 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
format_time Ran
ran; our contract draft was wrong, not the code
chenwydj/architecture_convergence/mlp_code/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from JunlinHan/YOCO, is pointer only (licence: NONE) · get_code("8d7ec010c29e813b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from JunlinHan/YOCO, 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. A run is recorded.

get_batch_jacobian Ran
ran on a synthesized input
chenwydj/architecture_convergence/nas-without-training/score_networks.py
code served (permissive licence) · get_code("e7c03b50082d9c61")
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
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal nn.Module that satisfies the function's usage
class SimpleNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        # The function calls net(x) and unpacks as: y, out = net(x)
        # So we need to return two tensors
        out = self.linear(x)
        y = out.sum(dim=1, keepdim=True)  # Scalar-like output for backward
        return y, out

# Create instances
net = SimpleNet()
device = 'cpu'

# Create tiny tensors (batch=2, input_dim=4)
x = torch.randn(2, 4, requires_grad=False)
target = torch.randn(2, 3)  # Match the output size

ARGS = {
    'net': net,
    'x': x,
    'target': target,
    'device': device,
    'args': 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 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_flop_loss Ran
ran; our contract draft was wrong, not the code
VITA-Group/architecture_convergence/nas-without-training/autodl/procedures/search_main.py
code served (permissive licence) · get_code("5aa7497aa00af169")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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 torch

torch.manual_seed(0)

# expected_flop: a tensor that will be averaged
expected_flop = torch.tensor([100.0, 150.0])

# flop_cur: a scalar number representing current FLOPs
flop_cur = 80.0

# flop_need: a scalar number representing needed FLOPs
flop_need = 100.0

# flop_tolerant: a scalar number representing tolerance
flop_tolerant = 10.0

ARGS = {
    'expected_flop': expected_flop,
    'flop_cur': flop_cur,
    'flop_need': flop_need,
    'flop_tolerant': flop_tolerant
}
Setup block drafted by
a language model, Claude Sonnet 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 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
get_mean_and_std Ran
ran on a synthesized input
chenwydj/architecture_convergence/mlp_code/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from seominseok0429/label-smoothing-visualization-pytorch, is pointer only (licence: NONE) · get_code("3cbdd3b190b16350")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from seominseok0429/label-smoothing-visualization-pytorch, 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. A run is recorded.

get_score_func Ran
ran on a synthesized input
chenwydj/architecture_convergence/nas-without-training/scores.py
code served (permissive licence) · get_code("16139ec12e4595a3")
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 function. 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

def get_score_func(score_name):
    """
    Function that returns a scoring function based on the score_name parameter.
    The function looks up score_name in the _scores dictionary.
    """
    _scores = {
        'hook_logdet': lambda K, labels=None: np.linalg.slogdet(K)[1],
        'random': lambda jacob, label=None: np.random.normal()
    }
    return _scores[score_name]

# Setup valid arguments
ARGS = {
    'score_name': 'hook_logdet'
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
hooklogdet Ran
ran on a synthesized input
chenwydj/architecture_convergence/nas-without-training/scores.py
code served (permissive licence) · get_code("8d9701991ac208d4")
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 float64, ndim 0, 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

# Create a small positive definite matrix for valid slogdet computation
# Using a simple symmetric positive definite matrix
K = np.array([
    [2.0, 0.5, 0.1, 0.2],
    [0.5, 3.0, 0.2, 0.1],
    [0.1, 0.2, 2.5, 0.3],
    [0.2, 0.1, 0.3, 2.0]
], dtype=np.float64)

labels = np.array([0, 1, 0, 1], dtype=np.int64)

ARGS = {
    "K": K,
    "labels": labels
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
init_model Ran
ran on a synthesized input
chenwydj/architecture_convergence/TENAS/prune_tenas.py
code served (permissive licence) · get_code("e1591bd29b12e21d")
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 SmallModel. 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
from torch import nn

torch.manual_seed(0)

# Build a small model with Conv2d, Linear, and BatchNorm2d layers
class SmallModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv1 = nn.Conv2d(3, 16, kernel_size=3, padding=1)
        self.bn1 = nn.BatchNorm2d(16)
        self.linear1 = nn.Linear(16 * 4 * 4, 8)
        self.bn2 = nn.BatchNorm2d(8)
    
    def forward(self, x):
        x = self.conv1(x)
        x = self.bn1(x)
        return x

model = SmallModel()

ARGS = {
    'model': model,
    'method': 'kaiming_norm_fanin'
}
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 SmallModel — a SmallModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SmallModel 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
make_colours_by_hue Ran
ran on a synthesized input
chenwydj/architecture_convergence/nas-without-training/plot_scores.py
code served (permissive licence) · get_code("2cd6cda6c652de6d")
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 numpy as np
from matplotlib.colors import hsv_to_rgb

# The function takes:
# - h: a hue value (float), used in np.linspace(h, h + 0.05, 5)
# - v: a value parameter (float, default 1.0), used in np.linspace(0.1, 1.0, 5)
# The function creates colors by iterating through h1, s, v tuples
# h1 is checked if < 1.0, s comes from linspace(1.0, 0.6, 5), v from linspace(0.1, 1.0, 5)

ARGS = {
    "h": 0.5,
    "v": 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — 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
prepare_logger Ran
ran on a synthesized input
chenwydj/architecture_convergence/mlp_code/logger.py
code served (permissive licence) · get_code("a87bbc139870cdc0")
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 Logger. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 sys
import os
import torch
import random
import PIL
import copy
import numpy as np
from pathlib import Path
from torch.utils.tensorboard import SummaryWriter
from argparse import Namespace

torch.manual_seed(0)

class MockArgs:
    """Mock arguments object that supports _get_kwargs()"""
    def __init__(self, save_dir, seed):
        self.save_dir = save_dir
        self.seed = seed
        self.learning_rate = 0.001
        self.batch_size = 32
        self.epochs = 10
    
    def _get_kwargs(self):
        return [
            ('save_dir', self.save_dir),
            ('seed', self.seed),
            ('learning_rate', self.learning_rate),
            ('batch_size', self.batch_size),
            ('epochs', self.epochs),
        ]

# Create a temporary directory for logging
import tempfile
temp_dir = tempfile.mkdtemp(prefix='test_logger_')

# Create mock args object
mock_args = MockArgs(save_dir=temp_dir, seed=42)

ARGS = {
    'xargs': mock_args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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
random_score Ran
ran on a synthesized input
chenwydj/architecture_convergence/nas-without-training/scores.py
code served (permissive licence) · get_code("3aa2047d05e1a518")
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 float, 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 numpy as np
import torch

torch.manual_seed(0)

# Analyze the function: random_score(jacob, label=None)
# The function body only calls np.random.normal() and doesn't use jacob or label
# So we just need to provide valid arguments

jacob = np.random.randn(2, 4)  # Small array for jacob parameter
label = np.array([0, 1])  # Small array for optional label parameter

ARGS = {
    "jacob": jacob,
    "label": label
}
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 float, 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
round_to Ran
ran on a synthesized input
chenwydj/architecture_convergence/TENAS/prune_tenas.py
code served (permissive licence) · get_code("65d81629d7179cf5")
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 float, 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 math

def round_to(number, precision, eps=1e-08):
    dtype = type(number)
    if number == 0:
        return number
    sign = number / abs(number)
    number = abs(number) + eps
    power = math.floor(math.log(number, 10)) + 1
    if dtype == int:
        return int(sign * round(number * 10 ** (-power), precision) * 10 ** power)
    else:
        return sign * round(number * 10 ** (-power), precision) * 10 ** power

ARGS = {
    "number": 12345.6789,
    "precision": 2,
    "eps": 1e-08
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
svhn_dataloaders Ran
ran on a synthesized input
chenwydj/architecture_convergence/mlp_code/dataset.py
code served (permissive licence) · get_code("cc11bb618b200b77")
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 torch
import tempfile
import shutil
from unittest.mock import Mock, patch

torch.manual_seed(0)

# Create a temporary directory for data
temp_dir = tempfile.mkdtemp()

# Mock the SVHN dataset to avoid actual downloads
class MockSVHN:
    def __init__(self, root, split, transform, download):
        self.root = root
        self.split = split
        self.transform = transform
        self.download = download
        # Create mock data: 73257 samples for train, some for test
        self.data = torch.randn(73257 if split == 'train' else 1000, 3, 32, 32)
        self.labels = torch.randint(0, 10, (73257 if split == 'train' else 1000,))
    
    def __len__(self):
        return len(self.data)
    
    def __getitem__(self, idx):
        img = self.data[idx]
        label = self.labels[idx].item()
        if self.transform:
            img = self.transform(img)
        return img, label

# Patch SVHN before importing the function
import sys
from unittest.mock import MagicMock
sys.modules['torchvision.datasets'].SVHN = MockSVHN

ARGS = {
    'batch_size': 2,
    'data_dir': temp_dir,
    'num_workers': 0,
    'aug': False,
    'flatten': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — 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
get_cifar_test_loader Not yet run
unverified (harvested, no recorded run)
chenwydj/architecture_convergence/mlp_code/dataset.py
code served (permissive licence) · get_code("44f160db0172cb70")
How it ran

no invocation recorded.

get_svhn_test_loader Not yet run
unverified (harvested, no recorded run)
chenwydj/architecture_convergence/mlp_code/dataset.py
code served (permissive licence) · get_code("aa037b9bfa339105")
How it ran

no invocation recorded.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 2 the same month, 5 later) and 14 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
format_time 37 other papers
25 dated earlier, 3 the same month, 9 later
1603.05027 (2016-03)
Identity Mappings in Deep Residual Networks
1605.07146 (2016-05)
Wide Residual Networks
1805.11327 (2018-05)
Lightweight Probabilistic Deep Networks
and 34 more not named here
get_mean_and_std 18 other papers
12 dated earlier, 1 the same month, 5 later
1603.05027 (2016-03)
Identity Mappings in Deep Residual Networks
1605.07146 (2016-05)
Wide Residual Networks
1805.11327 (2018-05)
Lightweight Probabilistic Deep Networks
and 15 more not named here
calculate_md5 13 other papers
6 dated earlier, 6 later, 1 same year, order not determinable
2001.00326 (2020-01)
NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
2003.09553 (2020-03)
Adversarial Continual Learning
2106.05390 (2021-06)
Optimizing Reusable Knowledge for Continual Learning via Metalearning
and 10 more not named here
check_md5 13 other papers
6 dated earlier, 6 later, 1 same year, order not determinable
2001.00326 (2020-01)
NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
2003.09553 (2020-03)
Adversarial Continual Learning
2106.05390 (2021-06)
Optimizing Reusable Knowledge for Continual Learning via Metalearning
and 10 more not named here
check_integrity 6 other papers
2 dated earlier, 4 later
2001.00326 (2020-01)
NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
2108.11939 (2021-08)
Understanding and Accelerating Neural Architecture Search with Training-Free and Theory-Grounded Metrics
2207.09639 (2022-07)
DC-BENCH: Dataset Condensation Benchmark
and 3 more not named here
get_flop_loss 1 other paper
1 dated earlier
2006.04647 (2020-06)
Neural Architecture Search without Training
hooklogdet 1 other paper
1 dated earlier
2106.06799 (2021-06)
Zero-Cost Operation Scoring in Differentiable Architecture Search

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-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Advanced deep neural networks (DNNs), designed by either human or AutoML algorithms, are growing increasingly complex. Diverse operations are connected by complicated connectivity patterns, e.g., various types of skip connections. Those topological compositions are empirically effective and observed to smooth the loss landscape and facilitate the gradient flow in general. However, it remains elusive to derive any principled understanding of their effects on the DNN capacity or trainability, and to understand why or in which aspect one specific connectivity pattern is better than another. In this work, we theoretically characterize the impact of connectivity patterns on the convergence of DNNs under gradient descent training in fine granularity. By analyzing a wide network's Neural Network Gaussian Process (NNGP), we are able to depict how the spectrum of an NNGP kernel propagates through a particular connectivity pattern, and how that affects the bound of convergence rates. As one practical implication of our results, we show that by a simple filtration on "unpromising" connectivity patterns, we can trim down the number of models to evaluate, and significantly accelerate the large-scale neural architecture search without any overhead. Code is available at: https://github.com/VITA-Group/architecture_convergence.

For agents

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

get_harvested_code_for_paper("2205.05662")
get_code_for_paper("2205.05662")
have("2205.05662")

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

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

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

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

Connect an agent — have() is free.