SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1909.09656 · 2019

Understanding and Robustifying Differentiable Architecture Search

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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 4 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-21; 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/1909.09656.json · badge: /api/ran/1909.09656.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
automl/RobustDARTS canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
get_moving_average_3 Ran
ran on a synthesized input
automl/RobustDARTS/plots/eigen_dist.py
code served (permissive licence) · get_code("30bb0400a2dd1188")
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 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 numpy as np

# Analyze the function: it takes 'eigens' which is indexed with [start:stop] syntax
# and passed to np.mean(), so it should be array-like (list or numpy array)
# The function accesses eigens[0:2], eigens[-2:], eigens[start_index-1:start_index+2]
# and checks len(eigens), so it needs to support slicing and len()

# Create a simple numpy array of eigenvalues
eigens = np.array([1.5, 2.3, 3.1, 4.2, 5.0, 6.7])

ARGS = {
    "eigens": eigens
}
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, ndim 1, 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
get_moving_average_5 Ran
ran on a synthesized input
automl/RobustDARTS/plots/eigen_dist.py
code served (permissive licence) · get_code("db90642e32525cb0")
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 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 numpy as np

# Analyze the function: get_moving_average_5 takes eigens as parameter
# It expects eigens to be indexable (supports slicing) and have len()
# It passes slices to np.mean(), so it should be array-like with numeric values
# The function computes a moving average over windows of size 3-5

# Create a simple numpy array with numeric values
eigens = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0])

ARGS = {
    "eigens": eigens
}
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, ndim 1, 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
load_checkpoint Ran
ran on a synthesized input
automl/RobustDARTS/src/utils.py
code served (permissive licence) · get_code("ed58265e36feff8c")
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 os
import torch
import torch.nn as nn
import tempfile

torch.manual_seed(0)

# Create a minimal model with the required attributes
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.alphas_normal = nn.Parameter(torch.randn(2, 4))
        self.alphas_reduce = nn.Parameter(torch.randn(2, 4))
    
    def forward(self, x):
        return self.linear(x)

# Create a minimal architect with optimizer
class SimpleArchitect:
    def __init__(self):
        self.optimizer = torch.optim.Adam([torch.randn(2, 4, requires_grad=True)])

# Create a minimal LA tracker
class LATracker:
    def __init__(self):
        self.ev = 0.5
        self.ev_local_avg = [0.4, 0.5, 0.6]
        self.genotypes = ["genotype_1", "genotype_2"]
        self.la_epochs = [0, 1, 2]
        self.la_start_idx = 0
        self.la_end_idx = 2

# Create instances
model = SimpleModel()
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)
scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=1)
architect = SimpleArchitect()
la_tracker = LATracker()

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

# Create a checkpoint file
checkpoint = {
    'state_dict': model.state_dict(),
    'alphas_normal': model.alphas_normal.data.clone(),
    'alphas_reduce': model.alphas_reduce.data.clone(),
    'optimizer': optimizer.state_dict(),
    'arch_optimizer': architect.optimizer.state_dict(),
    'ev': 0.5,
    'ev_local_avg': [0.4, 0.5, 0.6],
    'genotypes': ["genotype_1", "genotype_2"],
    'la_epochs': [0, 1, 2],
    'la_start_idx': 0,
    'la_end_idx': 2,
    'lr': 0.01
}

filename = 'checkpoint_0_0.pth.tar'
filepath = os.path.join(temp_dir, filename)
torch.save(checkpoint, filepath)

ARGS = {
    'model': model,
    'optimizer': optimizer,
    'scheduler': scheduler,
    'architect': architect,
    'save': temp_dir,
    'la_tracker': la_tracker,
    'epoch': 0,
    'task_id': 0
}
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 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
stop_criteria Ran
ran on a synthesized input
automl/RobustDARTS/plots/eigen_dist.py
code served (permissive licence) · get_code("101678ccfacaef06")
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 tempfile
import os

# Create a temporary log file with genotype data
temp_log = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.log')
log_file_path = temp_log.name

# Write test log entries with genotype data
# We need at least 2*13 = 26 lines with genotype (to access lines[2*i] where i goes up to ~12)
genotypes = [f"genotype_{j}" for j in range(30)]
for i, gen in enumerate(genotypes):
    temp_log.write(f"step {i}: genotype = {repr(gen)}\n")
temp_log.close()

# Create moving_averages list
# We need len(moving_averages) > 9 (since loop goes range(5, len-4))
# We want to trigger the condition at some point: moving_averages[i+4] / moving_averages[i] > factor
# Let's create a list where this happens around i=5
moving_averages = [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 150.0, 150.0, 150.0, 150.0, 10.0]
# At i=5: moving_averages[9] / moving_averages[5] = 150.0 / 100.0 = 1.5 > 1.3 (default factor)

ARGS = {
    "moving_averages": moving_averages,
    "log_file": log_file_path,
    "factor": 1.3
}

# Cleanup will happen after function execution
import atexit
atexit.register(lambda: os.unlink(log_file_path))
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
accuracy Not yet run
unverified (harvested, no recorded run)
automl/RobustDARTS/src/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from yuxwind/exactcompression, is pointer only (licence: NONE) · get_code("469bf48752905889")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from yuxwind/exactcompression, 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.

count_parameters_in_MB Not yet run
unverified (harvested, no recorded run)
automl/RobustDARTS/src/utils.py
code served (permissive licence) · get_code("4a15744aa9113a33")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 4 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 4 later) and 2 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
accuracy 71 other papers
17 dated earlier, 1 the same month, 53 later · 2 only as an assembly brick
1505.05424 (2015-05)
Weight Uncertainty in Neural Networks
1705.07204 (2017-05)
Ensemble Adversarial Training: Attacks and Defenses
1802.10399 (2018-02)
Compressing Neural Networks using the Variational Information Bottleneck
and 68 more not named here
get_moving_average_3 1 other paper
1 later
2009.01027 (2020-09)
DARTS-: Robustly Stepping out of Performance Collapse Without Indicators
get_moving_average_5 1 other paper
1 later
2009.01027 (2020-09)
DARTS-: Robustly Stepping out of Performance Collapse Without Indicators
stop_criteria 1 other paper
1 later
2009.01027 (2020-09)
DARTS-: Robustly Stepping out of Performance Collapse Without Indicators

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

Repositories linked to this paper

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

Abstract

Differentiable Architecture Search (DARTS) has attracted a lot of attention due to its simplicity and small search costs achieved by a continuous relaxation and an approximation of the resulting bi-level optimization problem. However, DARTS does not work robustly for new problems: we identify a wide range of search spaces for which DARTS yields degenerate architectures with very poor test performance. We study this failure mode and show that, while DARTS successfully minimizes validation loss, the found solutions generalize poorly when they coincide with high validation loss curvature in the architecture space. We show that by adding one of various types of regularization we can robustify DARTS to find solutions with less curvature and better generalization properties. Based on these observations, we propose several simple variations of DARTS that perform substantially more robustly in practice. Our observations are robust across five search spaces on three image classification tasks and also hold for the very different domains of disparity estimation (a dense regression task) and language modelling.

For agents

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

get_harvested_code_for_paper("1909.09656")
get_code_for_paper("1909.09656")
have("1909.09656")

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

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

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

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

Connect an agent — have() is free.