All models

DARTS-CIFAR-NormalCell

DARTS relaxes architecture choice to a softmax over operations so cells can be searched by gradient descent.

Image classification · 1,075 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (42 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.8M
Operations
1,075
Framework
PyTorch
Recurrent
No
Published
ICLR 2019
Cited by
3,252 (as of 18 October 2026)
Authors
Hanxiao Liu, Karen Simonyan, Yiming Yang
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m467
Graph hash
17618c11ebafd2d750c5defbdfd4625aebe8ec833a3ff1a6a1c9c1140bce72cd
Skeleton hash
97f2ef2548d20b2225fbbedbbc457a7ed9c77c4da408d9ec1896bab83fad85f0
Architecture hash
ba70aeddc15630f6558ccba4bce2ae5728bb75be6a8dbe49c8c89b2d9882a83f
Diagram SHA-256
0660233f980a65c63a22863965ec316214261a411cb2ea5710d03174e66a7fab
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DARTS, Differentiable Architecture Search, turns neural architecture search into a gradient-descent problem instead of a discrete black-box search. Earlier methods applied evolution or reinforcement learning over a discrete, non-differentiable search space; DARTS instead relaxes the architecture representation to be continuous. The unit being searched is a computation cell, which can be stacked to form a convolutional network or recursively connected to form a recurrent one.

To make the space continuous, the categorical choice of operation on each edge is relaxed to a softmax over all candidate operations, with the mixing weights α as the architecture encoding. Architecture α and weights w are then learned jointly as a bilevel optimization, with α as the upper-level variable and w as the lower-level variable. At the end of search, each mixed operation is replaced by its most likely operation to yield a discrete architecture. The convolutional candidate set is 3x3 and 5x5 separable convolutions, 3x3 and 5x5 dilated separable convolutions, 3x3 max and average pooling, identity, and zero.

The three members here span that pipeline: the search-time supernet with mixed operations, a single mixed-operation cell, and the full-sized CIFAR-10 evaluation network of 20 cells with 36 initial channels. A cell found this way reached 2.76 ± 0.09% test error on CIFAR-10 with 3.3M parameters. The official code pins PyTorch 0.3.1 and warns that PyTorch 0.4 is not supported and would lead to out-of-memory errors. Only a single GPU is required.

Key idea. DARTS replaces discrete architecture search with a continuous relaxation of the architecture representation, so the architecture can be searched efficiently by gradient descent.

  • DARTS
  • Differentiable Architecture Search
  • neural architecture search
  • NAS
  • DARTS_V2
  • supernet
  • mixed operation
  • CIFAR-10
  • NetworkCIFAR
  • gradient-based architecture search
  • normal cell
  • reduction cell

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{liu2019dartsdifferentiablearchitecturesearch,
      title={DARTS: Differentiable Architecture Search}, 
      author={Hanxiao Liu and Karen Simonyan and Yiming Yang},
      year={2019},
      eprint={1806.09055},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1806.09055}, 
}