All models

Single Path One-Shot

ImageNet classifier whose ShuffleNet-style block types and channel widths were found by one-shot search.

Image classification · 321 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 (17 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.4M
Operations
321
Framework
PyTorch
Recurrent
No
Published
ECCV 2020
Cited by
866 (as of 3 November 2026)
Authors
Zichao Guo, Xiangyu Zhang, Haoyuan Mu and others
License
MIT
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
m20436
Graph hash
3edb8ba70a239e216366a2b0f11f46c5e50011fbe6ec9c97365526bc4d871597
Skeleton hash
116c0506b1589fd22b81eee0e777e1d45400e0db81a9faaaf7043709d7dfa9fd
Architecture hash
329b1b43dc5fdee1e85fb842f6bb60a260112e32b09e266d84687c8c7db158b2
Diagram SHA-256
1986b007ced076cd73d7c2bbfe9d28c7c13c96dc550254e28083a9ed32d0d37c
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

Single Path One-Shot (SPOS) is a neural architecture search method; this network is one of the architectures it searched out, listed as OneShot in the ShuffleNet Series repository. In one-shot search a single supernet is trained once and every candidate architecture inherits its weights from it. The authors found the existing one-shot method hard to train and not yet effective on large datasets like ImageNet.

Their supernet is built so that every architecture is a single path: each choice block has only one choice invoked at a time, and paths are sampled uniformly during training. The stated purpose is to reduce co-adaptation between the shared weights. After training, an evolutionary algorithm searches the supernet, and each candidate architecture only performs inference.

The building blocks are inspired by ShuffleNet v2. The supernet has 20 choice blocks, each with 4 candidates that differ in kernel sizes and the number of depthwise convolutions. A further search sets the channel count in each block between 0.2x and 1.6x of the default. Searching blocks and channels jointly under a limit of 330M FLOPs, the paper reports 74.7% accuracy on ImageNet.

Key idea. Single Path One-Shot trains a simplified supernet in which every architecture is a single path, using uniform path sampling, so all architectures and their weights are trained fully and equally.

  • Single Path One-Shot
  • SPOS
  • OneShot
  • one-shot NAS
  • neural architecture search
  • uniform sampling
  • supernet
  • evolutionary search
  • ImageNet classification
  • image classification

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

Cite the paper

@misc{guo2020singlepathoneshotneural,
      title={Single Path One-Shot Neural Architecture Search with Uniform Sampling}, 
      author={Zichao Guo and Xiangyu Zhang and Haoyuan Mu and Wen Heng and Zechun Liu and Yichen Wei and Jian Sun},
      year={2020},
      eprint={1904.00420},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1904.00420}, 
}