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

MobileNetV2: Inverted Residuals and Linear Bottlenecks

MobileNetV2 keeps narrow layers linear to shrink mobile networks

  • Problem ReLU wipes out information in narrow layers, because a clipped channel loses its content for good. That limits how far cheap mobile networks can shrink.
  • Method MobileNetV2 widens a thin input, filters it cheaply, then projects it back through a linear layer with no ReLU. Shortcuts join the thin ends rather than the wide layers.
  • Results MobileNetV2 scored 72.0 top-1 on ImageNet, compared to 70.6 for MobileNetV1.

Where cheaper convolutions stop helping

Accurate image networks need a lot of computation, which puts many phones and embedded devices out of reach. Depthwise separable convolutions already lower the cost of each layer, and MobileNetV1 is built on them. MobileNetV1 also trades accuracy for cost with a width multiplier that shrinks every layer's channel count. The catch is that ReLU acts coordinate by coordinate, and once a narrow layer has clipped a channel, the information in that channel is gone.

Why narrow ReLU layers lose information

The authors' key move is to keep the narrowest layers linear, so that no ReLU touches the low-dimensional representation. A ReLU on a one-dimensional line turns it into a ray, and in higher dimensions it bends the path into a piecewise linear curve with joints. Where a ReLU leaves a region with non-zero volume, the network acts on that region as a linear classifier.

The loss depends on channel count: a collapsed channel loses its content, but structure spread over many channels can survive. Figure 1 shows this on a spiral: at 2 and 3 dimensions some points collapse together, while at 15 to 30 dimensions the mapping stays highly non-convex.

Supplemental material gives the formal version: an input manifold embedded in a much lower-dimensional subspace survives the ReLU. That leads to an empirical hint: place linear bottlenecks in the blocks, because the manifold of interest is assumed to be low-dimensional. The authors test this in Section 6, where a ReLU6 in the bottleneck hurts performance by several percent.

The inverted residual block

In short, the block widens a thin input, filters it cheaply, then projects it back thin and linear. A 1×1 convolution with ReLU6 expands the input by the expansion factor t, and a 3×3 depthwise convolution with ReLU6 filters the widened tensor. The last 1×1 convolution has no non-linearity, so its output is the linear bottleneck. Shortcuts join these thin ends rather than the wide layers, because the authors treat the bottlenecks as holding the needed information.

When the inner layer is empty, the shortcut makes the convolution the identity, and an expansion ratio below 1 gives a classical residual block.

The main experiments use t = 6, so a 64-channel input that produces 128 channels has a 384-channel inner layer. Expansion rates from 5 to 10 gave nearly identical curves, with smaller networks slightly preferring smaller rates. The network starts with a 32-filter convolution, then 19 residual bottleneck layers. The primary width-1 model at 224×224 needs 300 million multiply-adds and 3.4 million parameters.

Memory at inference time

Generic inference engines schedule operations so that as few intermediate tensors as possible stay in memory. For a graph with mostly trivial structure, the peak reduces to \(M(G)=\max_{op\in G}\left(\sum_{A\in op_{inp}}|A|+\sum_{B\in op_{out}}|B|+|op|\right)\), the largest over operations of inputs, outputs and internal memory. Treating a whole bottleneck block as one operation means its peak is set by the thin bottleneck tensors, not the much larger inner tensors.

The inner tensor can be split into t pieces that are computed one by one and summed, so only one piece of size n/t sits in memory. The trick works because the inner transform acts per channel and the thin tensors are much smaller than the inner one. The split leaves the multiply-add count unchanged, but replacing one matrix product with several smaller ones can add cache misses, so the authors suggest t between 2 and 5.

Table 3 lists the maximum memory per resolution at 16-bit activations, with 1600K for MobileNetV1, 400K for MobileNetV2 and 600K for ShuffleNet.

ImageNet classification results

Training uses RMSProp with decay and momentum at 0.9, an initial learning rate of 0.045, and a decay of 0.98 per epoch. The batch size is 96, spread over 16 GPU asynchronous workers. MobileNetV2 ran in 75ms on one large core of a Google Pixel 1 with TF-Lite, compared to 113ms for MobileNetV1.

NASNet-A scored 74.0 at 564M multiply-adds and ran in 183ms. The authors say the design lets the model beat other mobile networks along several performance points. Figure 5 traces accuracy against multiply-adds across resolutions and width multipliers, up to 585M multiply-adds.

Detection and segmentation results

For detection the authors swap the regular SSD prediction convolutions for depthwise separable ones, giving SSDLite. SSD300 scored higher at 23.2 mAP but needed 35.2B multiply-adds, so that comparison is accuracy traded for cost. The authors say MobileNetV2 SSDLite is 20× more efficient and 10× smaller than YOLOv2, and still outperforms it on COCO.

For segmentation they pair MobileNet features with DeepLabv3 and score mIOU on PASCAL VOC 2012. A reduced head on the second-last MobileNetV2 feature map, with output stride 16 and no ASPP module, reached 75.32 mIOU at 2.75B multiply-adds. With the ASPP module at output stride 16, MobileNetV2 scored 75.70 at 5.8B multiply-adds, and MobileNetV1 scored 75.29 at 14.25B.

Multi-scale and flipped inputs increase multiply-adds sharply, so they judge these unsuitable for on-device use. At output stride 8 with those inputs, MobileNetV1 reached 78.56 mIOU at 941.9B multiply-adds, compared to 82.70 and 4870.6B for ResNet-101.

Ablations of the linear bottleneck and shortcuts

The first ablation compares linear and ReLU6 bottlenecks across training steps, to test whether removing the non-linearity helps. The authors also note that a linear bottleneck model is strictly less powerful in principle, so the gain is an empirical result.

Figure 6b compares a shortcut between bottlenecks, a shortcut between expansions, and no residual connection. The shortcut between bottlenecks performs better than the one between expanded layers, which the authors present as a new finding. The authors also note that with shortcuts the information loss is less strong.

Limitations

Latency was timed only on one large core of a Google Pixel 1 with TF-Lite. ShuffleNet has no CPU numbers, since its efficient group convolutions and shuffling weren't yet supported in the framework. The YOLOv2 and SSD baseline numbers come from earlier work, not from runs in this paper. Detection uses a 320×320 input on COCO test-dev, while the segmentation results are on PASCAL VOC 2012 validation.

The authors leave open whether framework-level optimization can cut the runtime cost of the memory-saving split. The formal ReLU invertibility results and the bottleneck theorem sit in the supplemental material, and this text doesn't reproduce them. Expansion rates from 5 to 10 were nearly identical, and the main experiments fix the rate at 6.

Paper info

Authors
Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, Liang-Chieh Chen
Venue
arXiv · Preprint
First published
2018-1-13
Added
2026-11-11
Updated
2019-3-21
Version
v4
arXiv
1801.04381
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

Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, Liang-Chieh Chen (2018). MobileNetV2: Inverted Residuals and Linear Bottlenecks. arXiv:1801.04381v4. https://arxiv.org/abs/1801.04381v4

BibTeX
@misc{sandler2018mobilenetv2,
  title = {{MobileNetV2: Inverted Residuals and Linear Bottlenecks}},
  author = {Mark Sandler and Andrew Howard and Menglong Zhu and Andrey Zhmoginov and Liang-Chieh Chen},
  year = {2018},
  eprint = {1801.04381},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.04381v4}
}

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