SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1910.05733 · 2019

One-Shot Neural Architecture Search via Self-Evaluated Template Network

arXiv · PDF · Open in the Atlas

Code that ran

2 of 3 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 2 have no contract verdict; 0 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/1910.05733.json · badge: /api/ran/1910.05733.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
D-X-Y/GDAS community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
FunctionStatusWhere it lives
mutate_arch_func Ran
ran on a synthesized input
D-X-Y/GDAS/exps/NAS-Bench-201-algos/R_EA.py
code served (permissive licence) · get_code("c9db316e18458ccd")
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 torch
import random
from copy import deepcopy


class MockNode:
    """Mock node structure that mimics architecture node representation."""
    def __init__(self):
        self.nodes = [
            [("conv", 0), ("relu", 1), ("pool", 2)],
            [("conv", 1), ("batch_norm", 2)],
            [("relu", 0), ("dropout", 1)]
        ]
    
    def __deepcopy__(self, memo):
        new_obj = MockNode()
        new_obj.nodes = deepcopy(self.nodes, memo)
        return new_obj


random.seed(42)
torch.manual_seed(0)

op_names = ["conv", "relu", "pool", "batch_norm", "dropout", "linear"]

parent_arch = MockNode()

ARGS = {
    "op_names": op_names
}
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 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
train_and_eval Ran
ran on a synthesized input
D-X-Y/GDAS/exps/NAS-Bench-201-algos/R_EA.py
code served (permissive licence) · get_code("1ab9fd355247f264")
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 numpy as np

class MockNASBench:
    def __init__(self):
        self.arch_index_map = {
            '|nor_conv_3x3~0|+|nor_conv_3x3~0|nor_conv_3x3~1|+|nor_conv_3x3~0|nor_conv_3x3~1|nor_conv_3x3~2|': 0
        }
    
    def query_index_by_arch(self, arch):
        return self.arch_index_map.get(arch, 0)
    
    def get_more_info(self, arch_index, dataname, iepoch=None, hp='12', is_random=True):
        return {
            'valid-accuracy': 0.92,
            'train-all-time': 100.0,
            'valid-per-time': 50.0,
            'train-per-time': 75.0,
            'valtest-accuracy': 0.91
        }
    
    def get_cost_info(self, arch_index, dataname, hp='12'):
        return {
            'latency': 10.0
        }

class MockArch:
    def __init__(self):
        self.arch_str = '|nor_conv_3x3~0|+|nor_conv_3x3~0|nor_conv_3x3~1|+|nor_conv_3x3~0|nor_conv_3x3~1|nor_conv_3x3~2|'
    
    def __str__(self):
        return self.arch_str

torch.manual_seed(0)

ARGS = {
    'arch': '|nor_conv_3x3~0|+|nor_conv_3x3~0|nor_conv_3x3~1|+|nor_conv_3x3~0|nor_conv_3x3~1|nor_conv_3x3~2|',
    'nas_bench': MockNASBench(),
    'extra_info': {},
    'dataname': 'cifar10-valid',
    'use_012_epoch_training': True
}
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 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
backward_step_unrolled Not yet run
unverified (harvested, no recorded run)
D-X-Y/GDAS/exps/NAS-Bench-201-algos/DARTS-V2.py
pointer only (licence: MIT); the stored copy get_code serves, from dr-faustus/Lambda-DARTS, is pointer only (licence: NONE) · get_code("490b5c41400816e1")
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 dr-faustus/Lambda-DARTS, 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. No invocation recorded.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 0 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
backward_step_unrolled 4 other papers
4 later
2001.00326 (2020-01)
NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
2006.06863 (2020-06)
Few-shot Neural Architecture Search
2107.00860 (2021-07)
Rapid Neural Architecture Search by Learning to Generate Graphs from Datasets
and 1 more not named here
mutate_arch_func 2 other papers
2 later
2001.00326 (2020-01)
NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
2107.00860 (2021-07)
Rapid Neural Architecture Search by Learning to Generate Graphs from Datasets
train_and_eval 2 other papers
2 later
2001.00326 (2020-01)
NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
2107.00860 (2021-07)
Rapid Neural Architecture Search by Learning to Generate Graphs from Datasets

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

Neural architecture search (NAS) aims to automate the search procedure of architecture instead of manual design. Even if recent NAS approaches finish the search within days, lengthy training is still required for a specific architecture candidate to get the parameters for its accurate evaluation. Recently one-shot NAS methods are proposed to largely squeeze the tedious training process by sharing parameters across candidates. In this way, the parameters for each candidate can be directly extracted from the shared parameters instead of training them from scratch. However, they have no sense of which candidate will perform better until evaluation so that the candidates to evaluate are randomly sampled and the top-1 candidate is considered the best. In this paper, we propose a Self-Evaluated Template Network (SETN) to improve the quality of the architecture candidates for evaluation so that it is more likely to cover competitive candidates. SETN consists of two components: (1) an evaluator, which learns to indicate the probability of each individual architecture being likely to have a lower validation loss. The candidates for evaluation can thus be selectively sampled according to this evaluator. (2) a template network, which shares parameters among all candidates to amortize the training cost of generated candidates. In experiments, the architecture found by SETN achieves state-of-the-art performance on CIFAR and ImageNet benchmarks within comparable computation costs. Code is publicly available on GitHub: https://github.com/D-X-Y/AutoDL-Projects.

For agents

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

get_harvested_code_for_paper("1910.05733")
get_code_for_paper("1910.05733")
have("1910.05733")

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

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

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

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

Connect an agent — have() is free.