All models

mnasnet_small

A mobile CNN found by architecture search that scores candidates on real phone latency, not FLOPS.

Image classification · 287 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 (23 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

Family
MnasNet
Parameters
2M
Operations
287
Framework
PyTorch
Recurrent
No
Published
CVPR 2019
Cited by
3,410 (as of 9 October 2026)
Authors
Mingxing Tan, Bo Chen, Ruoming Pang and others
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
m7306
Graph hash
415c4524c910ca0884f59bb14720d147b9553997a6b824192310e964b0c71d71
Skeleton hash
fcd0f37b29395292e23a63395a9b589905f2eb7e474fa722a512bf2d50e711f6
Architecture hash
c0abfe5975240166c220d2800bc6d9be1577a35ded64ae3cc3c6c93b1b696d70
Diagram SHA-256
a4a2a694910ffb5ab540ff64d7e0f1b9c5a509be9863362b52d718b9d594770a
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

How this diagram was made

timm.create_model('mnasnet_small', pretrained=False)

What it is

MNASNet Small at depth multiplier 1.0, built by timm.

About this model's family

MnasNet is a family of mobile convolutional networks found by automated search rather than hand design, with the search objective built around measured phone latency. Where earlier work used FLOPS as a proxy, the authors measure real inference latency by running each candidate on actual mobile phones. Their motivating example is that MobileNet and NASNet have similar FLOPS, 575M against 564M, yet their latencies differ sharply at 113ms and 183ms.

The second idea is a factorized hierarchical search space: the network is split into predefined blocks and the operations and connections are searched per block, so different blocks can have different layer architectures. Within a block the choices include the convolution type (regular, depthwise or mobile inverted bottleneck), a 3x3 or 5x5 kernel and a squeeze-and-excitation ratio of 0 or 0.25. The search framework has three parts: an RNN-based controller that samples models, a trainer that measures their accuracy, and a mobile phone based inference engine that measures latency. The latency target is treated as a soft constraint, which lets a single search yield several models along the Pareto curve. Searching directly on ImageNet was expensive: each architecture search took 4.5 days on 64 TPUv2 devices. The controller sampled about 8K models, of which only 15 were trained on full ImageNet and just one transferred to COCO.

The headline model, MnasNet-A1, reaches 75.2% top-1 on ImageNet at 78ms on a Pixel phone with 3.9M parameters and 312M multiply-adds. That is 1.8x faster than MobileNetV2 with 0.5% higher accuracy and 2.3x faster than NASNet with 1.2% higher accuracy. The found architecture mixes 3x3 and 5x5 convolutions, unlike earlier mobile models that used only 3x3 convolutions. The B1 variant that timm builds comes from a search with no squeeze-and-excitation in the search space. A depth multiplier of 0.5 halves the number of channels in each layer, which is how the smaller members here are derived. Plugged into SSDLite as a feature extractor, MnasNet matched SSD300's COCO mAP (23.0 against 23.2) with 7.4x fewer parameters and 42x fewer multiply-adds.

Key idea. A multi-objective neural architecture search that optimizes accuracy and measured on-device latency together, paired with a factorized hierarchical search space that allows layer diversity across blocks.

  • mnasnet
  • mnasnet-a1
  • mnasnet-b1
  • mnasnet_100
  • mnasnet_050
  • mnasnet_small
  • mnasnet0_5
  • mnasnet1_0
  • mnasnet1_3
  • platform-aware neural architecture search
  • mobile nas
  • image classification
  • imagenet
  • timm
  • torchvision

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

Cite the paper

@misc{tan2019mnasnetplatformawareneuralarchitecture,
      title={MnasNet: Platform-Aware Neural Architecture Search for Mobile}, 
      author={Mingxing Tan and Bo Chen and Ruoming Pang and Vijay Vasudevan and Mark Sandler and Andrew Howard and Quoc V. Le},
      year={2019},
      eprint={1807.11626},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1807.11626}, 
}