Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardware

ProxylessNAS searches neural architectures directly on target tasks and hardware

  • Problem Differentiable NAS needs proxy tasks because its GPU memory grows with the candidate set size. Architectures tuned on a proxy are not guaranteed to be best on the target task.
  • Method ProxylessNAS trains one over-parameterized network whose edges hold every candidate path. It keeps one path active per edge with binary gates, and adds an expected-latency term to the loss.
  • Results On CIFAR-10 it reaches 2.08% test error with 5.7M parameters, better than AmoebaNet-B.

Why proxy tasks limit architecture search

Differentiable NAS lowers search cost by representing the architecture continuously, but its GPU memory grows with the size of the candidate set. That memory growth pushes such methods toward proxy tasks, for example smaller datasets, fewer blocks or shorter training.

An architecture chosen on a proxy has no guarantee of being the best one on the target task, and the gap widens once hardware latency enters the objective. Proxy-based pipelines also search only a few architectural motifs and stack them repeatedly, which narrows the diversity of blocks.

ProxylessNAS is built to search on the target task and the target hardware directly, while keeping the GPU hours and GPU memory near the cost of ordinary training.

Over-parameterized network and mixed operations

The search space is a directed acyclic graph, and each edge is assigned a set of N candidate primitive operations such as convolution, pooling, identity and zero. Each edge becomes a mixed operation with N parallel paths, so one network contains every architecture in the space.

In One-Shot the mixed output is the plain sum of the path outputs, whereas in DARTS it is a softmax-weighted sum of the paths using real-valued architecture parameters. Because every path output must be computed and stored, both methods need roughly N times the memory and GPU hours of training a compact model.

Binarized path training

Path binarization turns the path probabilities into a binary gate vector drawn at random, so exactly one path of each mixed operation is active at a time. Only that path's activations stay in memory, which is what brings the training memory down to roughly that of a compact model, a saving the authors describe as more than an order of magnitude.

Training alternates between two steps: with architecture parameters frozen, gates are sampled for each batch and the weights are updated on the training split; then the weights are frozen and the architecture parameters are updated on the validation split. After training, the path with the highest path weight is kept for each mixed operation.

The architecture gradient reuses the BinaryConnect idea: the gradient with respect to each binary gate stands in for the gradient with respect to the path probability. Computing that gradient needs the outputs of inactive paths, so the method samples two paths per architecture update, masks the rest, and rescales the two updated parameters so the probabilities of the other paths stay unchanged.

Under this scheme the memory of an architecture update is independent of N, which keeps it at the level of training a compact model.

Folding latency into the search objective

Latency is modeled as an expectation: for each mixed operation, each candidate's predicted latency is weighted by its path probability, and the block expectations are summed over the network. Its gradient with respect to the architecture parameters is simply the predicted latency of each candidate, which makes the term differentiable.

The expected latency is added to the cross-entropy loss, multiplied by a scaling factor that sets the trade-off between accuracy and latency, next to the weight decay term.

REINFORCE provides an alternative update: it estimates the gradient from sampled binary gates and a reward, so the reward does not have to be differentiable in the gates. For the mobile search the reward is written as accuracy times a latency ratio raised to a power w, where T is the target latency.

CIFAR-10 results

The setting uses B equal to 18 and F equal to 400, which leaves 648 decisions to determine the architecture, since each cell has 12 learnable edges. Architecture parameters were learned on 5,000 held-out training images with Adam, at an initial learning rate of 0.006 for the gradient method and 0.01 for REINFORCE. The compact network is retrained with the epoch count raised from 200 to 300, and to 600 when DropPath is used.

The parameter count is 6 times smaller than that of AmoebaNet-B.

All listed numbers in this comparison use Cutout, so the comparison is between models trained under the same augmentation.

ImageNet under a mobile latency budget

The ImageNet search keeps the MobileNetV2 backbone but replaces repeated identical blocks with a set of MBConv layers whose kernel sizes are 3, 5 and 7 and whose expansion ratios are 3 and 6. A zero operation lets a block with a residual connection be skipped, so the search can trade depth against width under a latency budget. The architecture parameters are learned on 50,000 training images held out as a validation set, at an initial learning rate of 0.001 with the rest of the training set used for the over-parameterized network at batch size 256.

Mobile latency during the search comes from a latency prediction model, whose predictions track the measured latency on Google Pixel 1 closely, with a latency RMSE of 0.75ms.

Proxyless-R on mobile reaches 74.6% top-1 at 78ms, while MobileNetV2 needs 143ms to reach about the same accuracy, which is 1.83 times faster. Compared with MnasNet, the searched model is 0.6% higher in top-1 accuracy at slightly lower mobile latency. The mobile search takes 200 GPU hours, while the table lists MnasNet's search cost at 40,000 GPU hours.

Hardware-specialized models

The three searched models have different latency profiles across platforms: the GPU model runs in 204.9ms on CPU and 124ms on mobile, the CPU model in 138.7ms and 116ms, and the mobile model in 164.1ms on CPU and 78ms on mobile. In these measurements, a model searched for one platform is not the fastest on the other platforms.

The CPU model uses smaller MBConv operations, and the authors attribute the GPU preference to the higher parallelism of GPUs, which can exploit large operations.

Limitations

GPU latency is measured on V100 with batch size 8, which the authors chose because a single batch leaves the GPU heavily under-utilized. CPU latency is measured at batch size 1, and mobile latency on Google Pixel 1 at batch size 1.

During search, mobile latency is predicted rather than measured on the device each time, and the authors state that this introduces little error.

The experiments cover CIFAR-10 and ImageNet, with three hardware platforms, and the CIFAR-10 numbers are for the tree-structured space with PyramidNet as the backbone.

Paper info

Authors
Han Cai, Ligeng Zhu, Song Han
Venue
arXiv · Preprint
First published
2018-12-2
Added
2026-11-12
Updated
2019-2-23
Version
v2
arXiv
1812.00332
Category
cs.LG · cs.CV · stat.ML
Original paper terms
CC BY 4.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Han Cai, Ligeng Zhu, Song Han (2018). ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardware. arXiv:1812.00332v2. https://arxiv.org/abs/1812.00332v2

BibTeX
@misc{cai2018proxylessnas,
  title = {{ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardware}},
  author = {Han Cai and Ligeng Zhu and Song Han},
  year = {2018},
  eprint = {1812.00332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.00332v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up