Abstract
In this paper we describe a new mobile architecture, MobileNetV2, that improves the state of the art performance of mobile models on multiple tasks and benchmarks as well as across a spectrum of different model sizes. We also describe efficient ways of applying these mobile models to object detection in a novel framework we call SSDLite. Additionally, we demonstrate how to build mobile semantic segmentation models through a reduced form of DeepLabv3 which we call Mobile DeepLabv3. The MobileNetV2 architecture is based on an inverted residual structure where the input and output of the residual block are thin bottleneck layers opposite to traditional residual models which use expanded representations in the input. MobileNetV2 uses lightweight depthwise convolutions to filter features in the intermediate expansion layer. Additionally, we find that it is important to remove non-linearities in the narrow layers in order to maintain representational power. We demonstrate that this improves performance and provide an intuition that led to this design. Finally, our approach allows decoupling of the input/output domains from the expressiveness of the transformation, which provides a convenient framework for further analysis.
Introduction
As deep learning has advanced, models have become increasingly computationally expensive, often requiring significant GPU resources. This creates a barrier for mobile and embedded applications—such as real-time object detection on smartphones or drones—where power and memory are strictly constrained. MobileNetV2 addresses this by introducing inverted residuals and linear bottlenecks. By connecting thin bottleneck layers instead of thick ones and removing non-linearities in low-dimensional spaces, it achieves state-of-the-art accuracy on mobile benchmarks while significantly reducing memory and computational costs.
The authors identify a specific technical hurdle: the "manifold of interest." In deep networks, information is often embedded in low-dimensional subspaces. Applying non-linear activation functions like ReLU to these low-dimensional representations can inadvertently destroy information. MobileNetV2 is designed to transform features with high expressiveness without losing the underlying capacity of the data.
Methods: The Inverted Residual Block
The core of MobileNetV2 is a novel layer module: the Inverted Residual with Linear Bottleneck. It builds on the depthwise separable convolutions of MobileNetV1 but adds two critical innovations:
- Inverted Residuals: In a standard Residual Block (e.g., ResNet), shortcut connections link "thick" layers with many channels, while the middle is a "thin" bottleneck. MobileNetV2 flips this structure. Shortcut connections are placed between "thin" bottleneck layers. The block first expands the input to a high-dimensional state, filters it with a lightweight depthwise convolution, and then projects it back down to a bottleneck.
- Linear Bottlenecks: The authors found that using ReLU in narrow bottleneck layers was detrimental. Consequently, the final layer of each block uses a linear transformation. This prevents non-linearities from "breaking" the low-dimensional manifold and losing information.
The paper also introduces SSDLite, a mobile-friendly version of the Single Shot Detector (SSD) that utilizes separable convolutions, and a mobile-optimized version of DeepLabv3 for semantic segmentation.
Key Insights
A significant insight of this work is that non-linearities are only "safe" in high-dimensional spaces. In narrow bottleneck layers, the network must behave linearly to preserve feature integrity. This design effectively decouples the network's capacity (encoded in the bottlenecks) from its expressiveness (handled in the expansion layers).
Furthermore, because shortcuts connect thin layers, the memory footprint during inference is reduced. Large, expanded tensors only exist temporarily within a block, which is ideal for hardware with limited cache.
Evaluation and Results
The researchers evaluated MobileNetV2 on ImageNet (classification), COCO (object detection), and PASCAL VOC 2012 (segmentation).
- Classification: On ImageNet, MobileNetV2 (1.0x) achieved 72.0% Top-1 accuracy using 300 million Multiply-Adds (MAdds) and 3.4 million parameters, outperforming MobileNetV1 which required 575M MAdds for 70.6% accuracy.
- Object Detection: SSDLite with MobileNetV2 outperformed YOLOv2 on COCO while being 20x more efficient and 10x smaller.
- Speed: On a Google Pixel 1, the model processed images in 75ms, demonstrating viability for real-time mobile use.
Conclusion
MobileNetV2 redefines the efficiency frontier for mobile vision. While theoretical memory savings are significant, the authors note that current frameworks may require specific optimizations to fully exploit the proposed "t-way split" algorithm for intermediate tensors. Future work may involve combining these structural insights with automated Neural Architecture Search (NAS) to further optimize for specific hardware targets.
Summary updated