All models

mnasnet_100

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

Image classification · 265 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
4.4M
Operations
265
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
m7304
Graph hash
2c20f122688ea2e76feccbd8dcc35ca7e67c5ec23c964ffe71a7d0f78355838e
Skeleton hash
71347f1ea7b5408306d723d3a47da81963914f09eb2828ee8357ddb972fc71e4
Architecture hash
fa10d22dbddec14a6ce6f6fd470216d48520782c1d7cc3904c8f8eae83dc488c
Diagram SHA-256
6109dad953989f90ac65005f2203dfbcf41a24053fd5bcc8a0a38822e354ac82
TorchLens version
2.35.3
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_100', pretrained=False)

What it is

MNASNet B1 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}, 
}