SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.13531 · ICLR · 2023

Learning ReLU networks to high uniform accuracy is intractable

Julius Berner, Philipp Grohs, Felix Voigtlaender

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 0 failures 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.13531.json · badge: /api/ran/2205.13531.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
juliusberner/theory2practice canonical (classifier label)
classifier basis not recorded on the link
3 ran · 2 no recorded run
FunctionStatusWhere it lives
absolute_path Ran
ran on a synthesized input
juliusberner/theory2practice/theory2practice/utils.py
code served (permissive licence) · get_code("e92ca9ef7c125a4e")
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 PosixPath. 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 pathlib import Path
import tempfile
import os

# Create a temporary directory to serve as a stand-in project root
temp_dir = tempfile.mkdtemp()
project_subdir = os.path.join(temp_dir, "project")
os.makedirs(project_subdir, exist_ok=True)

# Test with a relative path string
relative_path = "config.yaml"

ARGS = {
    "path": relative_path
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
flatten Ran
ran on a synthesized input
juliusberner/theory2practice/theory2practice/utils.py
code served (permissive licence) · get_code("22aa73522242da0b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import collections
import torch

torch.manual_seed(0)

# Test case 1: nested dict with scalars
spec1 = {
    'model': {
        'layers': 2,
        'hidden': 64
    },
    'training': {
        'lr': 0.001,
        'epochs': 10
    }
}

# Test case 2: nested list with values
spec2 = [1, 2, [3, 4, {'nested': 5}]]

# Test case 3: mixed nested structure
spec3 = {
    'tensors': [torch.randn(2, 4), torch.randn(3, 5)],
    'config': {
        'name': 'test',
        'values': [10, 20, 30]
    },
    'scalar': 42
}

# Test case 4: simple flat dict
spec4 = {'a': 1, 'b': 2, 'c': 3}

# Test case 5: simple flat list
spec5 = [1, 2, 3, 4, 5]

# Use a representative nested spec for the main ARGS
ARGS = {
    'spec': {
        'model': {
            'layers': 2,
            'hidden': 64
        },
        'training': {
            'lr': 0.001,
            'epochs': 10
        },
        'data': [1, 2, 3]
    },
    'parent_key': '',
    'sep': '/'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
nested_get Ran
ran on a synthesized input
juliusberner/theory2practice/theory2practice/utils.py
code served (permissive licence) · get_code("22c9112cb21be04e")
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.

import torch
import collections

torch.manual_seed(0)

# Create a simple nested object structure to test nested_get
class SimpleConfig:
    def __init__(self):
        self.model = SimpleModel()
        self.learning_rate = 0.001

class SimpleModel:
    def __init__(self):
        self.layers = [Layer(i) for i in range(3)]
        self.name = "test_model"

class Layer:
    def __init__(self, idx):
        self.weight = torch.randn(4, 3)
        self.index = idx

# Test case 1: nested attribute access
obj_with_attrs = SimpleConfig()

# Test case 2: nested dictionary access
obj_with_dict = {
    'model': {
        'weights': torch.randn(4, 3),
        'bias': torch.randn(3)
    },
    'config': {
        'lr': 0.001
    }
}

# Test case 3: nested sequence access
obj_with_sequence = SimpleConfig()

# Test case 4: mapping access
nested_mapping = collections.OrderedDict([
    ('level1', collections.OrderedDict([
        ('level2', torch.randn(2, 4))
    ]))
])

# Test case 5: mixed access with default
mixed_obj = SimpleConfig()

ARGS = {
    'obj': obj_with_attrs,
    'string': 'model/name',
    'default': None,
    'sep': '/'
}
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
default_config2name Not yet run
unverified (harvested, no recorded run)
juliusberner/theory2practice/theory2practice/analysis.py
code served (permissive licence) · get_code("aeee5d45a2d76e7f")
How it ran

no invocation recorded.

restore_model Not yet run
unverified (harvested, no recorded run)
juliusberner/theory2practice/theory2practice/experiments.py
code served (permissive licence) · get_code("055cc753611a64e8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

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

Statistical learning theory provides bounds on the necessary number of training samples needed to reach a prescribed accuracy in a learning problem formulated over a given target class. This accuracy is typically measured in terms of a generalization error, that is, an expected value of a given loss function. However, for several applications -for example in a security-critical context or for problems in the computational sciences -accuracy in this sense is not sufficient. In such cases, one would like to have guarantees for high accuracy on every input value, that is, with respect to the uniform norm. In this paper we precisely quantify the number of training samples needed for any conceivable training algorithm to guarantee a given uniform accuracy on any learning problem formulated over target classes containing (or consisting of) ReLU neural networks of a prescribed architecture. We prove that, under very general assumptions, the minimal number of training samples for this task scales exponentially both in the depth and the input dimension of the network architecture.

For agents

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

get_harvested_code_for_paper("2205.13531")
get_code_for_paper("2205.13531")
have("2205.13531")

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

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

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

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

Connect an agent — have() is free.