SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.08339 · NeurIPS · 2024

Simultaneous Weight and Architecture Optimization for Neural Networks

Ajitesh Srivastava, Zitong Huang, Mansooreh Montazerin

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 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/2410.08339.json · badge: /api/ran/2410.08339.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
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
generate_input Ran
ran, honoured the contract we drafted
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_autoencoder/data.py
pointer only (licence: NONE) · get_code("249b88fd9aa9b61b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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.

generate_input Ran
ran; our contract draft was wrong, not the code
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_MLP/create_dataset/data.py
pointer only (licence: NONE) · get_code("ef7254b3e714e9db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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.

generate_sparsity Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_autoencoder/data.py
pointer only (licence: NONE) · get_code("f20be7789296944b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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.

generate_sparsity Ran
ran; our contract draft was wrong, not the code
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_MLP/create_dataset/data.py
pointer only (licence: NONE) · get_code("e09b6560d50d0d97")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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.

generate_weight Ran
ran; our contract draft was wrong, not the code
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_autoencoder/data.py
pointer only (licence: NONE) · get_code("521d8383d2cc180c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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.

generate_weight Ran
ran; our contract draft was wrong, not the code
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_MLP/create_dataset/data.py
pointer only (licence: NONE) · get_code("030b4c71aab9c937")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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.

get_activation_fn Ran
ran; our contract draft was wrong, not the code
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_autoencoder/train_autoencoder.py
pointer only (licence: NONE) · get_code("47f13a28826d6cf6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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.

MLP_train Not yet run
unverified (harvested, no recorded run)
zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization/training_MLP/search_MLPs/MLP_train.py
pointer only (licence: NONE) · get_code("d3b9cc0518beb56c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zitonghuangcynthia/Simultaneous-Weight-and-Architecture-Optimization 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 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 8 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

Neural networks are trained by choosing an architecture and training the parameters. The choice of architecture is often by trial and error or with Neural Architecture Search (NAS) methods. While NAS provides some automation, it often relies on discrete steps that optimize the architecture and then train the parameters. We introduce a novel neural network training framework that fundamentally transforms the process by learning architecture and parameters simultaneously with gradient descent. With the appropriate setting of the loss function, it can discover sparse and compact neural networks for given datasets. Central to our approach is a multi-scale encoder-decoder, in which the encoder embeds pairs of neural networks with similar functionalities close to each other (irrespective of their architectures and weights). To train a neural network with a given dataset, we randomly sample a neural network embedding in the embedding space and then perform gradient descent using our custom loss function, which incorporates a sparsity penalty to encourage compactness. The decoder generates a neural network corresponding to the embedding. Experiments demonstrate that our framework can discover sparse and compact neural networks maintaining a high performance.

For agents

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

get_harvested_code_for_paper("2410.08339")
get_code_for_paper("2410.08339")
have("2410.08339")

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

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

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

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

Connect an agent — have() is free.