MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "arXiv — non-exclusive license to distribute" does not allow redistributing the text itself. Original — arxiv.org/pdf/1704.04861
Summary
Modern CNNs usually gain accuracy by becoming deeper and heavier. That makes them hard to run on phones, robots or embedded hardware, where latency and memory are tight. This Google paper introduces MobileNets, a family of compact image models designed mainly for speed and also for small size.
The core building block is the depthwise separable convolution. Each input channel is first filtered independently, and a 1 × 1 pointwise convolution then mixes the channels. Together these replace one expensive standard convolution. On top of this 28-layer base network, two global settings let developers fit a model to their budget: the width multiplier thins every layer, and the resolution multiplier shrinks the input image. Training used TensorFlow and RMSprop, with lighter regularization than large networks need.
Beyond ImageNet classification, the authors test MobileNets on:
- COCO object detection
- Stanford Dogs fine-grained recognition
- face attributes and face embeddings
- PlaNet geolocalization
Across these tasks, MobileNets typically lose a little accuracy while cutting computation and parameters many times over. This made capable vision models practical on-device.
Key points
- 3 × 3 depthwise separable convolutions need roughly 8–9× less computation than standard convolutions, with only a small accuracy loss. The 1 × 1 layers take about 95% of compute time and hold 75% of the parameters, and they map efficiently onto GEMM.
- COCO detection (SSD 300): MobileNet reaches 19.3% mAP with 1.2B Mult-Adds and 6.8M parameters. Inception V2 reaches 22.0% with 3.8B Mult-Adds.
- Face attributes via distillation:
- 1.0 MobileNet-224 scores 88.7% mean AP at 568M Mult-Adds, versus 86.9% for the 1600M in-house baseline.
- 0.25 MobileNet-128 still scores 86.4% at only 15M Mult-Adds.
- PlaNet geolocalization: the MobileNet version has 13M parameters versus 52M for the Inception V3 original. Its accuracy drops only slightly, and it still clearly beats Im2GPS.
- A FaceNet model distilled into 1.0 MobileNet-160 reaches 79.4% accuracy, versus 83% for FaceNet, using 286M instead of 1600M Mult-Adds.
Cited by
- TVM: An Automated End-to-End Optimizing Compiler for Deep Learning
- Green AI
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
- Triton: An Intermediate Language and Compiler for Tiled Neural Network Computations
- Learning Transferable Architectures for Scalable Image Recognition
Cite
@misc{howard2017mobilenets,
title = {{MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications}},
author = {Howard, Andrew G. and Zhu, Menglong and Chen, Bo and Kalenichenko, Dmitry and Wang, Weijun and Weyand, Tobias and Andreetto, Marco and Adam, Hartwig},
year = {2017},
doi = {10.48550/arxiv.1704.04861},
eprint = {1704.04861},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1704.04861}
}References
- M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, et al. Tensorflow: Large-scale machine learning on heterogeneous systems, 2015. Software available from tensorflow. org, 1, 2015. 4 find
- W. Chen, J. T. Wilson, S. Tyree, K. Q. Weinberger, and Y. Chen. Compressing neural networks with the hashing trick. CoRR, abs/1504.04788, 2015. 2 — [arXiv:1504.04788](https://arxiv.org/abs/1504.04788) find
- F. Chollet. Xception: Deep learning with depthwise separable convolutions. arXiv preprint arXiv:1610.02357v2, 2016. 1 — [arXiv:1610.02357](https://arxiv.org/abs/1610.02357) find
- M. Courbariaux, J.-P. David, and Y. Bengio. Training deep neural networks with low precision multiplications. arXiv preprint arXiv:1412.7024, 2014. 2 — [arXiv:1412.7024](https://arxiv.org/abs/1412.7024) find
- S. Han, H. Mao, and W. J. Dally. Deep compression: Compressing deep neural network with pruning, trained quantization and huffman coding. CoRR, abs/1510.00149, 2, 2015. 2 find
- J. Hays and A. Efros. IM2GPS: estimating geographic information from a single image. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition, 2008. 7 find
- J. Hays and A. Efros. Large-Scale Image Geolocalization. In J. Choi and G. Friedland, editors, Multimodal Location Estimation of Videos and Images. Springer, 2014. 6, 7 find
- K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015. 1 find
- G. Hinton, O. Vinyals, and J. Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. 2, 7 find our card
- J. Huang, V. Rathod, C. Sun, M. Zhu, A. Korattikara, A. Fathi, I. Fischer, Z. Wojna, Y. Song, S. Guadarrama, et al. Speed/accuracy trade-offs for modern convolutional object detectors. arXiv preprint arXiv:1611.10012, 2016. 7 — [arXiv:1611.10012](https://arxiv.org/abs/1611.10012) find
- I. Hubara, M. Courbariaux, D. Soudry, R. El-Yaniv, and Y. Bengio. Quantized neural networks: Training neural networks with low precision weights and activations. arXiv preprint arXiv:1609.07061, 2016. 2 find
- F. N. Iandola, M. W. Moskewicz, K. Ashraf, S. Han, W. J. Dally, and K. Keutzer. Squeezenet: Alexnet-level accuracy with 50x fewer parameters and¡ 1mb model size. arXiv preprint arXiv:1602.07360, 2016. 1, 6 — [arXiv:1602.07360](https://arxiv.org/abs/1602.07360) find
- S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015. 1, 3, 7 find
- M. Jaderberg, A. Vedaldi, and A. Zisserman. Speeding up convolutional neural networks with low rank expansions. arXiv preprint arXiv:1405.3866, 2014. 2 — [arXiv:1405.3866](https://arxiv.org/abs/1405.3866) find
- Y. Jia, E. Shelhamer, J. Donahue, S. Karayev, J. Long, R. Girshick, S. Guadarrama, and T. Darrell. Caffe: Convolutional architecture for fast feature embedding. arXiv preprint arXiv:1408.5093, 2014. 4 find our card
- J. Jin, A. Dundar, and E. Culurciello. Flattened convolutional neural networks for feedforward acceleration. arXiv preprint arXiv:1412.5474, 2014. 1, 3 — [arXiv:1412.5474](https://arxiv.org/abs/1412.5474) find
- A. Khosla, N. Jayadevaprakash, B. Yao, and L. Fei-Fei. Novel dataset for fine-grained image categorization. In First Workshop on Fine-Grained Visual Categorization, IEEE Conference on Computer Vision and Pattern Recognition, Colorado Springs, CO, June 2011. 6 find
- J. Krause, B. Sapp, A. Howard, H. Zhou, A. Toshev, T. Duerig, J. Philbin, and L. Fei-Fei. The unreasonable effectiveness of noisy data for fine-grained recognition. arXiv preprint arXiv:1511.06789, 2015. 6 — [arXiv:1511.06789](https://arxiv.org/abs/1511.06789) find
- A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012. 1, 6 find
- V. Lebedev, Y. Ganin, M. Rakhuba, I. Oseledets, and V. Lempitsky. Speeding-up convolutional neural networks using fine-tuned cp-decomposition. arXiv preprint arXiv:1412.6553, 2014. 2 — [arXiv:1412.6553](https://arxiv.org/abs/1412.6553) find
- W. Liu, D. Anguelov, D. Erhan, C. Szegedy, and S. Reed. Ssd: Single shot multibox detector. arXiv preprint arXiv:1512.02325, 2015. 7 — [arXiv:1512.02325](https://arxiv.org/abs/1512.02325) find
- M. Rastegari, V. Ordonez, J. Redmon, and A. Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. arXiv preprint arXiv:1603.05279, 2016. 1, 2 find
- S. Ren, K. He, R. Girshick, and J. Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pages 91–99, 2015. 7 find our card
- O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015. 1 find our card
- F. Schroff, D. Kalenichenko, and J. Philbin. Facenet: A unified embedding for face recognition and clustering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 815–823, 2015. 8 find our card
- L. Sifre. Rigid-motion scattering for image classification. PhD thesis, Ph. D. thesis, 2014. 1, 3 find
- K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. 1, 6 find our card
- V. Sindhwani, T. Sainath, and S. Kumar. Structured transforms for small-footprint deep learning. In Advances in Neural Information Processing Systems, pages 3088–3096, 2015. 1 find
- C. Szegedy, S. Ioffe, and V. Vanhoucke. Inception-v4, inception-resnet and the impact of residual connections on learning. arXiv preprint arXiv:1602.07261, 2016. 1 — [arXiv:1602.07261](https://arxiv.org/abs/1602.07261) find
- C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1–9, 2015. 6 find
- C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna. Rethinking the inception architecture for computer vision. arXiv preprint arXiv:1512.00567, 2015. 1, 3, 4, 7 find
- B. Thomee, D. A. Shamma, G. Friedland, B. Elizalde, K. Ni, D. Poland, D. Borth, and L.-J. Li. Yfcc100m: The new data in multimedia research. Communications of the ACM, 59(2):64–73, 2016. 7 find
- T. Tieleman and G. Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 4(2), 2012. 4 find
- M. Wang, B. Liu, and H. Foroosh. Factorized convolutional neural networks. arXiv preprint arXiv:1608.04337, 2016. 1 — [arXiv:1608.04337](https://arxiv.org/abs/1608.04337) find
- T. Weyand, I. Kostrikov, and J. Philbin. PlaNet - Photo Geolocation with Convolutional Neural Networks. In European Conference on Computer Vision (ECCV), 2016. 6, 7 find
- J. Wu, C. Leng, Y. Wang, Q. Hu, and J. Cheng. Quantized convolutional neural networks for mobile devices. arXiv preprint arXiv:1512.06473, 2015. 1 — [arXiv:1512.06473](https://arxiv.org/abs/1512.06473) find
- Z. Yang, M. Moczulski, M. Denil, N. de Freitas, A. Smola, L. Song, and Z. Wang. Deep fried convnets. In Proceedings of the IEEE International Conference on Computer Vision, pages 1476–1483, 2015. 1 find