
tf_mobilenetv3_large_075
Image classification287 ops4M params
Searched-then-hand-tuned mobile CNNs with h-swish and a slimmed last stage, in Large and Small sizes.
Image classification · 207 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
torchvision.models.get_model('quantized_mobilenet_v3_large', weights=None, quantize=False) About this model's family
MobileNetV3 is the third generation of Google's mobile convolutional networks, tuned for phone CPUs by letting automated search and hand design take turns. Platform-aware NAS finds the global block structure, NetAdapt then trims the number of filters layer by layer, and a round of manual improvements follows. The result is two released models, MobileNetV3-Large and MobileNetV3-Small, for high and low resource budgets, and torchvision ships builders for both.
The building block is MobileNetV2's inverted residual bottleneck with MnasNet's squeeze-and-excitation attention placed after the depthwise filters, where the representation is widest. Two details stand out in a trace. First, the nonlinearity: swish's sigmoid is costly on mobile hardware and awkward in fixed point, so the paper introduces h-swish, which multiplies the input by ReLU6(x+3)/6, and uses it only in the second half of the network. Second, the ends of the network were redesigned: the stem drops from 32 to 16 filters, and the efficient last stage drops three expensive layers at the end of the network at no loss of accuracy. The squeeze-and-excite bottleneck is fixed at a quarter of the expansion layer's channels rather than scaled with the convolutional bottleneck.
The Large model starts from MnasNet-A1, since the same controller and search space reproduce it at an 80ms latency target; the Small model needed the search reward re-tuned. Against MobileNetV2, the paper reports MobileNetV3-Large as 3.2% more accurate on ImageNet with 20% lower latency, and MobileNetV3-Small as 6.6% more accurate at comparable latency. The same backbones were adapted to detection and to segmentation with a new light decoder, LR-ASPP, though the members captured here are the ImageNet classifiers.
Key idea. Combining hardware-aware NAS and NetAdapt with hand-designed improvements, namely the h-swish nonlinearity, a reworked stem and an efficient last stage, to produce mobile classifiers that beat MobileNetV2 on both accuracy and latency.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{howard2019searchingmobilenetv3,
title={Searching for MobileNetV3},
author={Andrew Howard and Mark Sandler and Grace Chu and Liang-Chieh Chen and Bo Chen and Mingxing Tan and Weijun Wang and Yukun Zhu and Ruoming Pang and Vijay Vasudevan and Quoc V. Le and Hartwig Adam},
year={2019},
eprint={1905.02244},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1905.02244},
}