[Paper Review] MobileNetV4 -- Universal Models for the Mobile Ecosystem
MobileNetV4 introduces Universal Inverted Bottleneck (UIB) and Mobile MQA blocks, plus an enhanced NAS and distillation strategy to deliver mostly Pareto-optimal, hardware-universal mobile models across CPUs, DSPs, GPUs, and accelerators, achieving 87% ImageNet-1K accuracy at 3.8 ms on Pixel 8 EdgeTPU.
We present the latest generation of MobileNets, known as MobileNetV4 (MNv4), featuring universally efficient architecture designs for mobile devices. At its core, we introduce the Universal Inverted Bottleneck (UIB) search block, a unified and flexible structure that merges Inverted Bottleneck (IB), ConvNext, Feed Forward Network (FFN), and a novel Extra Depthwise (ExtraDW) variant. Alongside UIB, we present Mobile MQA, an attention block tailored for mobile accelerators, delivering a significant 39% speedup. An optimized neural architecture search (NAS) recipe is also introduced which improves MNv4 search effectiveness. The integration of UIB, Mobile MQA and the refined NAS recipe results in a new suite of MNv4 models that are mostly Pareto optimal across mobile CPUs, DSPs, GPUs, as well as specialized accelerators like Apple Neural Engine and Google Pixel EdgeTPU - a characteristic not found in any other models tested. Finally, to further boost accuracy, we introduce a novel distillation technique. Enhanced by this technique, our MNv4-Hybrid-Large model delivers 87% ImageNet-1K accuracy, with a Pixel 8 EdgeTPU runtime of just 3.8ms.
Motivation & Objective
- Develop architecture blocks (UIB) that unify IB, ConvNext, and FFN for mobile efficiency.
- Introduce Mobile MQA attention optimized for accelerators to boost speed.
- Refine a two-stage NAS recipe to efficiently search large UIB spaces.
- Propose a distillation technique to boost ImageNet accuracy on mobile models.
- Demonstrate universal Pareto-optimal performance across diverse mobile hardware.
Proposed method
- Propose Universal Inverted Bottleneck (UIB) with optional depthwise convolutions to unify multiple architectural ideas.
- Develop Mobile MQA attention with spatial reduction strategies to improve inference speed on accelerators.
- Employ a two-stage NAS (coarse and fine search) to efficiently instantiate UIB blocks for different model sizes.
- Apply an offline distillation dataset (JFT) and extended training to improve NAS evaluation stability and final accuracy.
- Use a two-phase distillation recipe combining dynamic dataset mixing and large-scale data (JFT subset) to boost accuracy.
- Benchmark MNv4 variants on ImageNet-1K across CPUs, DSPs, GPUs, and accelerators; evaluate COCO detection with RetinaNet.
Experimental results
Research questions
- RQ1Can a unified block (UIB) encompass IB, ConvNext, and FFN to balance accuracy and efficiency across hardware?
- RQ2Does Mobile MQA provide substantial speedups on mobile accelerators without sacrificing accuracy?
- RQ3Can a two-stage NAS search reliably produce Pareto-optimal MNv4 models across diverse devices?
- RQ4Does a novel distillation strategy significantly improve ImageNet accuracy for mobile backbones?
- RQ5Do MNv4-Conv and MNv4-Hybrid models achieve universal Pareto-optimality across CPUs, DSPs, GPUs, and accelerators?
Key findings
- MNv4 models achieve mostly Pareto-optimal performance across CPUs, DSPs, GPUs, Apple Neural Engine, and EdgeTPU.
- Mobile MQA yields over 39% inference speedup with negligible accuracy loss compared to MHSA.
- Two-stage NAS improves search efficiency and model quality over one-stage search.
- Distillation using dynamic dataset mixing and JFT augmentation yields up to 0.8% top-1 accuracy gains over prior SOTA.
- MNv4-Hybrid-L reaches 87% top-1 on ImageNet-1K with 39x fewer MACs than its teacher.
- MNv4-Conv-L achieves strong CPU/GPU/EdgeTPU performance and cross-hardware universality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.