SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.12314 · 2022

Learning sparse features can lead to overfitting in neural networks

arXiv · PDF · Open in the Atlas

Code that ran

16 of 18 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 14 have no contract verdict; 0 failures of our instrument; 2 no recorded run), 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/2206.12314.json · badge: /api/ran/2206.12314.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
pcsl-epfl/regressionsphere canonical (classifier label)
classifier basis not recorded on the link
16 ran · 2 no recorded run
FunctionStatusWhere it lives
atoms_dict Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/arch/counting_atoms.py
code served (permissive licence) · get_code("71b4b044f07081ec")
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 defaultdict

def list_duplicates(seq):
    count = defaultdict(list)
    for i, item in enumerate(seq):
        count[item].append(i)
    return ((key, locs) for key, locs in count.items())

def atoms_dict(hashed_activations):
    return dict(sorted(list_duplicates(hashed_activations)))

# The function takes hashed_activations which is a sequence (iterable)
# It iterates through it with enumerate, so it needs to be indexable/iterable
# The items are used as dictionary keys, so they should be hashable
# Let's create a simple sequence with some duplicates

hashed_activations = [
    "hash_a",
    "hash_b", 
    "hash_a",
    "hash_c",
    "hash_b",
    "hash_a"
]

ARGS = {
    "hashed_activations": hashed_activations
}
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 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
center_normalize Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/dataset/utils.py
code served (permissive licence) · get_code("a3cbe2ad9c5c502c")
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 (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small tensor with shape [n, d]
# n=2 (batch size), d=4 (dimensions)
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ckp_init Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/utils.py
code served (permissive licence) · get_code("cb2578da62e48947")
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 math

class Args:
    def __init__(self, savefreq, maxstep):
        self.savefreq = savefreq
        self.maxstep = maxstep

ARGS = {
    'args': Args(savefreq=100, maxstep=1000),
    'init_loss': 1.0
}
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 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
compute_atoms_norm Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/arch/counting_atoms.py
code served (permissive licence) · get_code("f72f872d399d4f2a")
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 float, shape (2,) 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
from collections import defaultdict

torch.manual_seed(0)

# Analyze the function to understand parameter requirements:
# - xtr: used with .t() (transpose), @ operator, so it's a tensor
# - w1: used with indexing [w2[0] != 0], @ operator, .norm(dim=-1), so it's a tensor (2D)
# - w2: used with indexing [0], != 0 operation, so it's a tensor (2D)

# From the code flow:
# 1. w2[0] != 0 creates a boolean mask, so w2 should have at least 2 dims
# 2. w1[w2[0] != 0] indexes w1, so w1's first dim should match w2's second dim
# 3. w1 @ xtr.t() means w1 is (n_atoms, input_dim) and xtr is (batch, input_dim)
# 4. w2[0, a_dict[el]].sum() means w2 is (1, n_atoms) or (n_features, n_atoms)

# Let's set up dimensions:
# - input_dim = 4 (feature dimension)
# - batch = 2 (training set size)
# - n_atoms = 3 (number of atoms/neurons in hidden layer)
# - n_features = 5 (number of output features)

batch = 2
input_dim = 4
n_atoms = 3
n_features = 5

# xtr: training set tensor (batch, input_dim)
xtr = torch.randn(batch, input_dim)

# w1: first layer weights (n_atoms, input_dim)
w1 = torch.randn(n_atoms, input_dim)

# w2: second layer weights (n_features, n_atoms)
# Need w2[0] to have n_atoms elements for the mask operation
w2 = torch.randn(n_features, n_atoms)

ARGS = {
    "xtr": xtr,
    "w1": w1,
    "w2": w2,
}
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 1, dtype family float, shape (2,) — shape (2,) 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
dataset_to_tensors Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/dataset/utils.py
code served (permissive licence) · get_code("76f93f9f3b586130")
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

torch.manual_seed(0)

# The function expects a dataset that is an iterable of (x, y) tuples
# where x is a tensor and y is something convertible to int
# The function will:
# 1. Convert each x to float64 and y to int
# 2. Stack all x tensors together
# 3. Create a tensor of all y values with dtype=torch.long

# Create a small dataset with 2 samples
dataset = [
    (torch.randn(4, 3), 0),  # x: (4, 3), y: 0
    (torch.randn(4, 3), 1),  # x: (4, 3), y: 1
]

ARGS = {
    "dataset": dataset
}
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
fibonacci_lattice Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/arch/fibonacci.py
code served (permissive licence) · get_code("fe93f8b312493d15")
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 (3, 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
from math import cos, gamma, pi, sin, sqrt
from itertools import count

torch.manual_seed(0)

ARGS = {
    "d": 4,
    "n": 3,
}
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 2, dtype family float, shape (3, 4) — shape (3, 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
fibonacci_sphere Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/arch/utils.py
code served (permissive licence) · get_code("a7dc348e1fc8ec14")
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 (1000, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math
import torch

torch.manual_seed(0)

ARGS = {
    "samples": 1000
}
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 2, dtype family float, shape (1000, 3) — shape (1000, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_time Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/utils.py
code served (permissive licence) · get_code("ea165c25ef2a0e6e")
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 numpy as np

# The function format_time takes a single parameter: elapsed_time (float)
# It converts seconds into a formatted string like "1h02m30s"

# Create a simple test case with elapsed time in seconds
elapsed_time_value = 3661.7  # 1 hour, 1 minute, 1.7 seconds

ARGS = {
    'elapsed_time': elapsed_time_value
}
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 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
int_sin_m Ran
ran, honoured the contract we drafted
pcsl-epfl/regressionsphere/arch/fibonacci.py
code served (permissive licence) · get_code("0c55dfd2474acb2e")
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.

from math import cos, gamma, pi, sin, sqrt

# The function int_sin_m takes two parameters:
# - x: a float representing the upper limit of integration
# - m: an int representing the power of sine

# Let's construct valid arguments by examining the function:
# The function computes the integral of sin^m(t) dt from 0 to x
# It uses recursion and handles base cases for m=0 and m=1
# For m >= 2, it uses the recursive formula

# Valid test case: compute integral of sin^3(t) from 0 to pi/2
x_value = pi / 2  # A reasonable float value (approximately 1.57)
m_value = 3       # A positive integer for the power of sine

ARGS = {
    "x": x_value,
    "m": m_value,
}
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
inverse_increasing Ran
ran, honoured the contract we drafted
pcsl-epfl/regressionsphere/arch/fibonacci.py
code served (permissive licence) · get_code("a880819237db04b3")
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

# The function uses:
# - func: a callable that takes a float and returns a float
# - target: a float value to find the inverse for
# - lower: a float lower bound
# - upper: a float upper bound
# - atol: a float absolute tolerance (has default)

# We need a simple monotonically increasing function
# Let's use a simple quadratic or exponential that's increasing
def monotonic_increasing_func(x: float) -> float:
    """A simple monotonically increasing function"""
    return x**2 + 2*x + 1  # (x+1)^2, increasing for x > -1

# Test that it's monotonic in our range
lower_bound = 0.0
upper_bound = 10.0
target_value = 16.0  # We want to find x such that func(x) = 16

# Verify the function values bracket the target
assert monotonic_increasing_func(lower_bound) < target_value < monotonic_increasing_func(upper_bound)

ARGS = {
    'func': monotonic_increasing_func,
    'target': target_value,
    'lower': lower_bound,
    'upper': upper_bound,
    'atol': 1e-10
}
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
k0 Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/dataset/gaussian_random_fields.py
code served (permissive licence) · get_code("2b8873eb94ee34ab")
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 k0(phi):
    return (math.pi - phi) / math.pi

ARGS = {
    "phi": 1.5
}
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
k1 Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/dataset/gaussian_random_fields.py
code served (permissive licence) · get_code("47c678f57539f602")
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 float, shape (2,) 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 math

torch.manual_seed(0)

# phi is used in torch.sin() and torch.cos() operations
# It should be a tensor that supports these operations
phi = torch.linspace(0, math.pi, 2)

ARGS = {
    "phi": phi
}
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 1, dtype family float, shape (2,) — shape (2,) 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
k2 Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/dataset/gaussian_random_fields.py
code served (permissive licence) · get_code("87c75ddd40e70ca5")
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 (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import math

torch.manual_seed(0)

# phi is used with torch.sin(), torch.cos(), and arithmetic operations
# So it needs to be a torch tensor that supports these operations
phi = torch.randn(2, 4)

ARGS = {
    "phi": phi
}
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 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
lambda_decay Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/loss.py
code served (permissive licence) · get_code("adc267f0c196b663")
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
import argparse

class Args:
    def __init__(self):
        self.l_decay = 'pow_law'
        self.l_decay_param = 2.0
        self.l = 0.1
        self.ptr = 10.0

ARGS = {
    'args': Args(),
    'epoch': 5
}
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
pca Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/dataset/utils.py
code served (permissive licence) · get_code("b580ad0adf4a4d17")
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 (2, 2) 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)

# Construct arguments for pca function
# x: [n, ...] - a tensor with batch dimension n and arbitrary other dimensions
# d: int - number of principal components to project onto
# whitening: bool - whether to apply whitening

x = torch.randn(2, 4, 3)  # [n=2, 4, 3] - small tensor with distinct dimensions
d = 2  # project onto 2 principal components
whitening = True  # apply whitening

ARGS = {
    "x": x,
    "d": d,
    "whitening": whitening
}
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 2, dtype family float, shape (2, 2) — shape (2, 2) 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
perturb Ran
ran on a synthesized input
pcsl-epfl/regressionsphere/stability.py
code served (permissive licence) · get_code("d9794cc8e3c1bcb9")
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 4, dtype family float, shape (2, 3, 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

torch.manual_seed(0)

# Create small tensors for imgs and timgs
# Shape: (batch=2, channels=3, height=4, width=4)
imgs = torch.randn(2, 3, 4, 4)
timgs = torch.randn(2, 3, 4, 4)

ARGS = {
    "imgs": imgs,
    "timgs": timgs,
}
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 4, dtype family float, shape (2, 3, 4, 4) — shape (2, 3, 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
activations2hash Not yet run
unverified (harvested, no recorded run)
pcsl-epfl/regressionsphere/arch/counting_atoms.py
code served (permissive licence) · get_code("343074dc7a6a3c99")
How it ran

no invocation recorded.

kernel_regression Not yet run
unverified (harvested, no recorded run)
pcsl-epfl/regressionsphere/main_krr.py
code served (permissive licence) · get_code("8c0e5c40d76bdafc")
How it ran

no invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 16 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
int_sin_m 1 other paper
1 dated earlier
2103.15619 (2021-03)
SetVAE: Learning Hierarchical Composition for Generative Modeling of Set-Structured Data
inverse_increasing 1 other paper
1 dated earlier
2103.15619 (2021-03)
SetVAE: Learning Hierarchical Composition for Generative Modeling of Set-Structured Data

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

It is widely believed that the success of deep networks lies in their ability to learn a meaningful representation of the features of the data. Yet, understanding when and how this feature learning improves performance remains a challenge: for example, it is beneficial for modern architectures trained to classify images, whereas it is detrimental for fully-connected networks trained for the same task on the same data. Here we propose an explanation for this puzzle, by showing that feature learning can perform worse than lazy training (via random feature kernel or the NTK) as the former can lead to a sparser neural representation. Although sparsity is known to be essential for learning anisotropic data, it is detrimental when the target function is constant or smooth along certain directions of input space. We illustrate this phenomenon in two settings: (i) regression of Gaussian random functions on the d-dimensional unit sphere and (ii) classification of benchmark datasets of images. For (i), we compute the scaling of the generalization error with number of training points, and show that methods that do not learn features generalize better, even when the dimension of the input space is large. For (ii), we show empirically that learning features can indeed lead to sparse and thereby less smooth representations of the image predictors. This fact is plausibly responsible for deteriorating the performance, which is known to be correlated with smoothness along diffeomorphisms.

For agents

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

get_harvested_code_for_paper("2206.12314")
get_code_for_paper("2206.12314")
have("2206.12314")

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

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

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

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

Connect an agent — have() is free.