Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications

  • Problem Accuracy gains from ever deeper and more complicated networks rarely bring smaller size or lower latency, which makes them hard to run on mobile and embedded hardware.
  • Method Builds the network from depthwise separable convolutions and scales it with a width multiplier α and a resolution multiplier ρ, so a developer can match size and latency to an application.

Why small models for mobile vision

Accuracy on ImageNet has mostly improved by stacking deeper and more intricate networks. The authors point out that these accuracy gains do not necessarily come with smaller or faster models.

Robotics, self-driving cars and augmented reality need recognition to finish in time on hardware with limited compute. That makes a model whose size and latency can be matched to a given budget the practical target.

Earlier work on small networks falls into two groups: compressing or factorizing pretrained networks, and training small networks directly. The authors take the second route with an architecture family in which a developer selects a model that fits a latency or size limit. Their models are tuned mainly for latency and also come out small, whereas many small-network papers consider only size.

Splitting a convolution into two steps

A standard convolution filters and combines its inputs into new outputs in one step. MobileNets split that step in two: a depthwise convolution applies one filter to each input channel, and a 1×1 pointwise convolution then mixes the channels into new features.

For the depthwise step the output for channel m is the sum over i and j of the kernel slice for channel m times the matching input values, \(\hat{G}_{k,l,m}=\sum_{i,j}\hat{K}_{i,j,m}\,F_{k+i-1,l+j-1,m}\), so each channel is filtered only by its own kernel. Batchnorm and ReLU follow both the depthwise and the pointwise layer.

Because the depthwise step does not mix channels, it cannot create new features on its own. The 1×1 pointwise convolution supplies that combination.

Where the saving in computation comes from

In the notation of the paper, M and N are the input and output channel counts, D_F is the feature map size and D_K is the kernel size. A standard convolution costs \(D_K \cdot D_K \cdot M \cdot N \cdot D_F \cdot D_F\), while the depthwise separable version costs \(D_K \cdot D_K \cdot M \cdot D_F \cdot D_F + M \cdot N \cdot D_F \cdot D_F\), the sum of its depthwise and pointwise parts.

Dividing the separable cost by the standard cost gives \(\frac{1}{N} + \frac{1}{D_K^2}\), so the ratio is controlled by the output channel count and the kernel size.

With 3×3 kernels, the factorized block uses between 8 and 9 times less computation than a standard convolution, at only a small reduction in accuracy. Further factorizing the spatial dimension would save little, because very little computation is spent in the depthwise layers.

Stacking the blocks into MobileNet

The body stacks depthwise separable blocks after a first layer that remains a full convolution, and it downsamples with strided convolutions in the depthwise layers and in that first layer. Every layer is followed by batchnorm and ReLU, except the final fully connected layer, which feeds a softmax; average pooling reduces the map to 1×1 before it.

Counting depthwise and pointwise layers separately gives 28 layers.

The design places most of the computation in dense 1×1 convolutions, which map directly onto GEMM, the general matrix multiply, without the im2col reordering that standard convolutions often need. Table 2 gives the 1×1 convolutions 94.86% of Mult-Adds and 74.59% of parameters.

Training uses TensorFlow and RMSprop with asynchronous gradient descent, following Inception V3. The authors use less regularization and augmentation than for large models, since small models overfit less, and they apply very little or no weight decay to the depthwise filters because there are few of them. All ImageNet models share the same training parameters regardless of their size.

Width and resolution multipliers

The width multiplier α sets the input channels to αM and the output channels to αN, so each layer is thinned uniformly. The cost becomes \(D_K \cdot D_K \cdot \alpha M \cdot D_F \cdot D_F + \alpha M \cdot \alpha N \cdot D_F \cdot D_F\), with α in (0, 1] and typical values 1, 0.75, 0.5 and 0.25. Cost and parameters fall roughly with α squared, and a model built with a smaller α is trained from scratch.

The resolution multiplier ρ is applied to the input image, so every internal representation is reduced by the same factor. In practice ρ is set by choosing the input resolution, which is 224, 192, 160 or 128. The cost then reads \(D_K \cdot D_K \cdot \alpha M \cdot \rho D_F \cdot \rho D_F + \alpha M \cdot \alpha N \cdot \rho D_F \cdot \rho D_F\), and ρ reduces computation by roughly ρ squared.

Table 3 applies the changes in sequence to one internal layer with D_K = 3, M = 512, N = 512 and D_F = 14. Mult-Adds fall from 462 million for a standard convolution to 52.3 million for the depthwise separable form, 29.6 million with α = 0.75 and 15.1 million with ρ = 0.714. Parameters go from 2.36 million to 0.27 million, then 0.15 million, and the resolution step leaves them unchanged.

ImageNet trade-offs under shrinking

To test width against depth, the authors removed five separable layers with 14×14×512 feature maps to make a shallower model. The authors summarize the thinner model as 3% better at this similar computation and parameter budget.

Accuracy drops smoothly until the model becomes too small at α = 0.25. The 16 models formed from four widths and four input resolutions show a log-linear relation between accuracy and Mult-Adds, with a jump at α = 0.25, and parameter counts do not change with resolution.

Comparison with popular ImageNet models

Table 8 sets the full 1.0 MobileNet-224 against GoogleNet and VGG 16. The authors describe MobileNet as nearly as accurate as VGG16 while 32 times smaller and 27 times less compute intensive, and as more accurate than GoogleNet while smaller and more than 2.5 times less computation.

The text does not say whether the baseline numbers were re-measured under the same training settings.

Transfer to fine-grained, geolocation, face and detection tasks

For Stanford Dogs, the authors pretrained on a larger noisy web set they collected and then fine-tuned on the Stanford Dogs training set. The authors say MobileNet nearly reaches the state-of-the-art results at much lower computation and size.

PlaNet classifies geographic cells, and the authors re-trained it with the MobileNet architecture on the same data. The full PlaNet on Inception V3 has 52 million parameters and 5.74 billion Mult-Adds, while the MobileNet version has about 13 million parameters, roughly 3 million in the body and 10 million in the final layer, and 0.58 million Mult-Adds.

Table 11 reports the fraction of the Im2GPS test set localized within each distance of the ground truth: 79.3% at continent scale against 77.6% for PlaNet, but 60.3% against 64.0% at country scale, 45.2% against 51.1% at region scale and 11.4% against 11.0% at street scale, with both at 31.7% at city scale. The PlaNet figures come from an updated version of PlaNet with an improved architecture and training dataset.

The authors distill it into a MobileNet classifier by training the student to emulate the teacher's outputs instead of ground-truth labels, which allows large unlabeled datasets. The authors say the classifier stays resilient to aggressive shrinking and uses only 1% of the Multi-Adds.

For COCO detection, MobileNet serves as the base network in SSD with 300 input and in Faster-RCNN with 300 and 600 inputs, and it is compared with VGG and Inception V2. Models were trained on COCO train+val excluding 8k minival images and evaluated on minival, and Faster-RCNN evaluates 300 RPN proposal boxes per image. With Faster-RCNN 600, MobileNet reached 19.8% at 30.5 billion Mult-Adds, against 25.7% for VGG at 149.6 billion.

With Faster-RCNN 300, MobileNet reached 16.4%, above Inception V2 at 15.4% and below VGG at 22.9%. MobileNet is therefore below Inception V2 under SSD 300 and below VGG under both Faster-RCNN settings, while the authors describe its results as comparable at a fraction of the computation and model size.

Distilling FaceNet into a mobile model

To build a mobile model, the authors train by minimizing the squared differences between the outputs of FaceNet and MobileNet on the training data.

Limitations

The tables report Mult-Adds and parameters, and no measured latency appears among the reported columns, so the speed case rests on computation counts. Accuracy holds up as width shrinks until the smallest width, where the authors note a jump in the drop.

The ImageNet study uses one set of training parameters for all model sizes, so per-size tuning was not part of it. The comparisons with GoogleNet, VGG 16, AlexNet and Squeezenet are table values, and whether their numbers were re-measured under the same training settings is not stated. The PlaNet comparison uses an updated PlaNet version, and in the Stanford Dogs comparison MobileNet is 83.3% against 84% for Inception V3.

Paper info

Authors
Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, Hartwig Adam
Venue
arXiv · Preprint
First published
2017-4-17
Added
2026-10-20
Updated
2017-4-17
Version
v1
arXiv
1704.04861
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, Hartwig Adam (2017). MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv:1704.04861v1. https://arxiv.org/abs/1704.04861v1

BibTeX
@misc{howard2017mobilenets,
  title = {{MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications}},
  author = {Andrew G. Howard and Menglong Zhu and Bo Chen and Dmitry Kalenichenko and Weijun Wang and Tobias Weyand and Marco Andreetto and Hartwig Adam},
  year = {2017},
  eprint = {1704.04861},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.04861v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up