SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.13100 · NeurIPS · 2021

Parameter Prediction for Unseen Deep Architectures

Michal Drozdzal, Graham Taylor, Boris Knyazev, Adriana Romero-Soriano

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 1 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/2110.13100.json · badge: /api/ran/2110.13100.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
facebookresearch/ppuda canonical (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
lucidrains/vit-pytorch unrelated (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
aria1th/Hypernetwork-MonkeyPatch-Extension extension (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
AdaptiveTokenSampling Ran
ran on a synthesized input · constructed an object; no result was computed
lucidrains/vit-pytorch/vit_pytorch/ats_vit.py
code served (permissive licence) · get_code("04863499199acab0")
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 an instance of its own class, AdaptiveTokenSampling: the run constructed the object and did not call it, so no result was computed. 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
from torch.nn.utils.rnn import pad_sequence

torch.manual_seed(0)

# Create minimal test tensors for the forward pass
batch_size = 2
num_heads = 3
num_tokens = 5
token_dim = 4
output_num_tokens = 2

# attn: shape (batch, heads, seq_len, seq_len)
# The function accesses attn[..., 0, 1:] which means it gets cls_attn from position 0 to other positions
attn = torch.randn(batch_size, num_heads, num_tokens, num_tokens)

# value: shape (batch, heads, seq_len, token_dim)
# The function accesses value[..., 1:, :] which excludes the CLS token
value = torch.randn(batch_size, num_heads, num_tokens, token_dim)

# mask: shape (batch, seq_len)
# The function uses mask[:, 1:] to get mask without CLS
mask = torch.ones(batch_size, num_tokens, dtype=torch.bool)

ARGS = {
    'output_num_tokens': output_num_tokens,
    'eps': 1e-06,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AdaptiveTokenSampling — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AdaptiveTokenSampling 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
batched_index_select Ran
ran; our contract draft was wrong, not the code
lucidrains/vit-pytorch/vit_pytorch/ats_vit.py
code served (permissive licence) · get_code("582b2f1aa69315a0")
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, 6, 3, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create test tensors for batched_index_select
# values: shape (batch, dim, feature1, feature2) = (2, 4, 3, 5)
# indices: shape (batch, indices_dim) = (2, 6)
# dim: 1

values = torch.randn(2, 4, 3, 5)
indices = torch.randint(0, 4, (2, 6))
dim = 1

ARGS = {
    "values": values,
    "indices": indices,
    "dim": dim
}
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, 6, 3, 5) — shape (2, 6, 3, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
find_closest_first Ran
ran; our contract draft was wrong, not the code
aria1th/Hypernetwork-MonkeyPatch-Extension/patches/hypernetwork.py
pointer only (licence: NONE) · get_code("97fce54d0fea583d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aria1th/Hypernetwork-MonkeyPatch-Extension 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.

list_hypernetworks Ran
ran; our contract draft was wrong, not the code
aria1th/Hypernetwork-MonkeyPatch-Extension/patches/hypernetwork.py
pointer only (licence: NONE) · get_code("a64b4c5c48a91cc8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aria1th/Hypernetwork-MonkeyPatch-Extension 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.

log Ran
ran; our contract draft was wrong, not the code
lucidrains/vit-pytorch/vit_pytorch/ats_vit.py
code served (permissive licence) · get_code("8f3eea58724263db")
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

torch.manual_seed(0)

# The function log takes a tensor t and an optional eps parameter
# It computes torch.log(t + eps)
# We need to provide a valid tensor for t

# Create a small tensor with positive values (required for log)
t = torch.tensor([[1.0, 2.0, 3.0, 4.0],
                   [5.0, 6.0, 7.0, 8.0]])

# eps has a default value of 1e-06, but we can override it
eps = 1e-06

ARGS = {
    't': t,
    'eps': eps
}
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
sample_gumbel Ran
ran; our contract draft was wrong, not the code
lucidrains/vit-pytorch/vit_pytorch/ats_vit.py
code served (permissive licence) · get_code("e18c2d8cad8088d3")
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

torch.manual_seed(0)

ARGS = {
    'shape': (2, 4),
    'device': 'cpu',
    'dtype': torch.float32,
    'eps': 1e-06
}
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
ghn_parallel Not yet run
unverified (harvested, no recorded run)
facebookresearch/ppuda/ppuda/ghn/nn.py
code served (permissive licence) · get_code("89ee63fee8534439")
How it ran

no invocation recorded. this sample carries JSON test cases instead of a setup block; get_reference_implementation serves them with the level they back.

Also present in other papers' code

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

FunctionAlso present inEarliest-datedOthers named
batched_index_select
brick of this paper's assembly: helper
5 other papers
2 dated earlier, 3 later · 1 only as an assembly brick
1904.09664 (2019-04)
Deep Hough Voting for 3D Object Detection in Point Clouds
2102.09844 (2021-02)
E(n) Equivariant Graph Neural Networks
2306.16819 (2023-06)
Graph Denoising Diffusion for Inverse Protein Folding
and 2 more not named here
ghn_parallel 2 other papers
2 later
2207.10049 (2022-07)
Pretraining a Neural Network before Knowing Its Architecture
2303.04143 (2023-03)
Can We Scale Transformers to Predict Parameters of Diverse ImageNet Models?

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

Deep learning has been successful in automating the design of features in machine learning pipelines. However, the algorithms optimizing neural network parameters remain largely hand-designed and computationally inefficient. We study if we can use deep learning to directly predict these parameters by exploiting the past knowledge of training other networks. We introduce a large-scale dataset of diverse computational graphs of neural architectures -DEEPNETS-1M-and use it to explore parameter prediction on CIFAR-10 and ImageNet. By leveraging advances in graph neural networks, we propose a hypernetwork that can predict performant parameters in a single forward pass taking a fraction of a second, even on a CPU. The proposed model achieves surprisingly good performance on unseen and diverse networks. For example, it is able to predict all 24 million parameters of a ResNet-50 achieving a 60% accuracy on CIFAR-10. On ImageNet, top-5 accuracy of some of our networks approaches 50%. Our task along with the model and results can potentially lead to a new, more computationally efficient paradigm of training networks. Our model also learns a strong representation of neural architectures enabling their analysis.

For agents

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

get_harvested_code_for_paper("2110.13100")
get_code_for_paper("2110.13100")
have("2110.13100")

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

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

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

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

Connect an agent — have() is free.