Papers › ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardware

ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardware

2 Dec 2018ICLR 2019 5arXiv:1812.00332archive 2025-07-28

Han Cai, Ligeng Zhu, Song Han

Neural architecture search (NAS) has a great impact by automatically designing effective neural network architectures. However, the prohibitive computational demand of conventional NAS algorithms (e.g. 10⁴ GPU hours) makes it difficult to \emph{directly} search the architectures on large-scale tasks (e.g. ImageNet). Differentiable NAS can reduce the cost of GPU hours via a continuous representation of network architecture but suffers from the high GPU memory consumption issue (grow linearly w.r.t. candidate set size). As a result, they need to utilize~\emph{proxy} tasks, such as training on a smaller dataset, or learning with only a few blocks, or training just for a few epochs. These architectures optimized on proxy tasks are not guaranteed to be optimal on the target task. In this paper, we present \emph{ProxylessNAS} that can \emph{directly} learn the architectures for large-scale target tasks and target hardware platforms. We address the high memory consumption issue of differentiable NAS and reduce the computational cost (GPU hours and GPU memory) to the same level of regular training while still allowing a large candidate set. Experiments on CIFAR-10 and ImageNet demonstrate the effectiveness of directness and specialization. On CIFAR-10, our model achieves 2.08\% test error with only 5.7M parameters, better than the previous state-of-the-art architecture AmoebaNet-B, while using 6× fewer parameters. On ImageNet, our model achieves 3.1\% better top-1 accuracy than MobileNetV2, while being 1.2× faster with measured GPU latency. We also apply ProxylessNAS to specialize neural architectures for hardware with direct hardware metrics (e.g. latency) and provide insights for efficient CNN architecture design.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1812.00332")

Code

Syntology Ran 5 of 27 code samples harvested from 4 repositories linked to this paper; 22 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong.

By repository: official repository: 6 samples from 1 repository, 0 ran; community (archive-listed): 21 samples from 3 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

23 repositories listed; official and paper-mentioned ones first.

MIT-HAN-LAB/ProxylessNAS officialmentioned in papermentioned on GitHubpytorchMIT report
AhmadQasim/proxylessnas-dense mentioned on GitHubpytorchApache-2.0 report
NVlabs/unas mentioned on GitHubpytorchNOASSERTION report
ZTao-z/ProxylessNAS mentioned on GitHubpytorchApache-2.0 report
dapeter/nas-for-kws mentioned on GitHubpytorch report
ito-rafael/once-for-all-2 mentioned on GitHubpytorchMIT report
lukesin/nas-for-kws-2 mentioned on GitHubpytorch report
mit-han-lab/ProxylessNAS mentioned on GitHubpytorchMIT report
mit-han-lab/amc mentioned on GitHubpytorch report
mit-han-lab/haq mentioned on GitHubpytorchMIT report
mit-han-lab/haq-release mentioned on GitHubpytorchMIT report
mit-han-lab/once-for-all mentioned on GitHubpytorchMIT report
osmr/imgclsmob mentioned on GitHubmxnetMIT report
schoolboy-ju/Proxyless-NAS mentioned on GitHubpytorch report
seulkiyeom/once-for-all mentioned on GitHubpytorchApache-2.0 report
songhan/DSD mentioned on GitHubpytorchBSD-2-Clause report
songhan/SqueezeNet-Residual mentioned on GitHubBSD-2-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested; 5 ran; 2 honoured the contract we drafted; 22 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · our draft was wrong
22unverified

Licence: 0 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv2d MIT-HAN-LAB/ProxylessNAS/proxyless_nas_tensorflow/tf_layers.py official repository unverified MIT (permissive) · c1806216600c618d · report
cross_entropy_with_label_smoothing MIT-HAN-LAB/ProxylessNAS/proxyless_nas/utils.py official repository unverified MIT (permissive) · b89add904c0b2340 · report
depthwise_conv2d MIT-HAN-LAB/ProxylessNAS/proxyless_nas_tensorflow/tf_layers.py official repository unverified MIT (permissive) · 5a736b0013a9cf38 · report
download_url MIT-HAN-LAB/ProxylessNAS/proxyless_nas/utils.py official repository unverified MIT (permissive) · ecbe897d347181d9 · report
load_url MIT-HAN-LAB/ProxylessNAS/proxyless_nas/utils.py official repository unverified MIT (permissive) · a7f652bd280d580e · report
proxyless_base MIT-HAN-LAB/ProxylessNAS/proxyless_nas/model_zoo.py official repository unverified MIT (permissive) · d7328b8252e400cf · report
conv_1x1_bn ZTao-z/ProxylessNAS/training/net224x224/mobilenetv2.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · a0131fb70c267a9e · report
conv_1x1_bn mit-han-lab/haq/models/mobilenetv3.py community (archive-listed) ran · our draft was wrong MIT (permissive) · db82a4013a44fb42 · report
conv_bn ZTao-z/ProxylessNAS/training/net224x224/mobilenetv2.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · e087cbfa1e53486d · report
make_divisible mit-han-lab/haq/models/mobilenetv2.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 63ec083689f80f47 · report
zeroed_observation mit-han-lab/haq/lib/rl/memory.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · b5cc72675b688b00 · report
alexnet ZTao-z/ProxylessNAS/training/net224x224/alexnet.py community (archive-listed) unverified Apache-2.0 (permissive) · 56065505349324f3 · report
conv_1x1_bn mit-han-lab/haq/models/mobilenetv2.py community (archive-listed) unverified MIT (permissive) · bc660f7845db5634 · report
conv_bn mit-han-lab/haq/models/mobilenet.py community (archive-listed) unverified MIT (permissive) · 247c2f31dd34327d · report
conv_dw mit-han-lab/haq/models/mobilenet.py community (archive-listed) unverified MIT (permissive) · a972ad175e8bda7f · report
densenet121 ZTao-z/ProxylessNAS/training/net224x224/densenet.py community (archive-listed) unverified Apache-2.0 (permissive) · a5d287b4575429b2 · report
densenet169 ZTao-z/ProxylessNAS/training/net224x224/densenet.py community (archive-listed) unverified Apache-2.0 (permissive) · 6438bd7990e5c489 · report
densenet201 ZTao-z/ProxylessNAS/training/net224x224/densenet.py community (archive-listed) unverified Apache-2.0 (permissive) · 795a05cd8c775b28 · report
download_url AhmadQasim/proxylessnas-dense/proxyless_nas/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · fc80172ec891659e · report
get_dataset mit-han-lab/haq/lib/utils/data_utils.py community (archive-listed) unverified MIT (permissive) · 850e0644d35c1376 · report
get_split_train_dataset mit-han-lab/haq/lib/utils/data_utils.py community (archive-listed) unverified MIT (permissive) · 8e7cf364b572ce56 · report
inception_v3 ZTao-z/ProxylessNAS/training/net224x224/inception.py community (archive-listed) unverified Apache-2.0 (permissive) · f3b2c15698c26557 · report
load_url AhmadQasim/proxylessnas-dense/proxyless_nas/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 2d2825ade23f56b8 · report
mobilenetv2_10 ZTao-z/ProxylessNAS/training/net224x224/mobilenetv2.py community (archive-listed) unverified Apache-2.0 (permissive) · b4fff4160ec8cbd6 · report
proxyless_base ZTao-z/ProxylessNAS/proxyless_nas/model_zoo.py community (archive-listed) unverified Apache-2.0 (permissive) · 97f4020025fc36b9 · report
sample_batch_indexes mit-han-lab/haq/lib/rl/memory.py community (archive-listed) unverified MIT (permissive) · c83e49880d0e8a07 · report
train mit-han-lab/haq/rl_quantize.py community (archive-listed) unverified MIT (permissive) · d0be8747b3078aa4 · report

Tasks

Image ClassificationNeural Architecture Search

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification CIFAR-10 Proxyless-G + c/o Percentage correct 97.92 #62 of 265 Archive leaderboard report
Image Classification ImageNet Proxyless Number of params 4.0M #975 of 1060 Archive leaderboard report
Image Classification ImageNet Proxyless Top 1 Accuracy 74.6% #975 of 1060 Archive leaderboard report
Neural Architecture Search CIFAR-10 Image Classification Proxyless-G + c/o Params 5.7M #6 of 19 Archive leaderboard report
Neural Architecture Search CIFAR-10 Image Classification Proxyless-G + c/o Percentage error 2.08 #6 of 19 Archive leaderboard report
Neural Architecture Search ImageNet ProxylesNAS Accuracy 75.1 #113 of 135 Archive leaderboard report
Neural Architecture Search ImageNet ProxylesNAS MACs 581M #113 of 135 Archive leaderboard report
Neural Architecture Search ImageNet ProxylesNAS Params 5.1M #113 of 135 Archive leaderboard report
Neural Architecture Search ImageNet ProxylesNAS Top-1 Error Rate 24.9 #113 of 135 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: ProxylessNAS, ProxylessNet-Mobile

1x1 ConvolutionAdamAverage PoolingBatch NormalizationConvolutionCutoutDepthwise ConvolutionDepthwise Separable ConvolutionDifferentiable NASDropPathGlobal Average PoolingInverted Residual BlockPointwise ConvolutionProxylessNASProxylessNet-CPUProxylessNet-GPUProxylessNet-MobileREINFORCE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections