[论文解读] MobileOne: An Improved One millisecond Mobile Backbone
MobileOne 设计了一个可重参数化的移动骨干网,在 iPhone 12 上实现亚1 ms 的延迟,同时在高效架构内提供最先进的准确率,并推广到分类、检测和分割。
Efficient neural network backbones for mobile devices are often optimized for metrics such as FLOPs or parameter count. However, these metrics may not correlate well with latency of the network when deployed on a mobile device. Therefore, we perform extensive analysis of different metrics by deploying several mobile-friendly networks on a mobile device. We identify and analyze architectural and optimization bottlenecks in recent efficient neural networks and provide ways to mitigate these bottlenecks. To this end, we design an efficient backbone MobileOne, with variants achieving an inference time under 1 ms on an iPhone12 with 75.9% top-1 accuracy on ImageNet. We show that MobileOne achieves state-of-the-art performance within the efficient architectures while being many times faster on mobile. Our best model obtains similar performance on ImageNet as MobileFormer while being 38x faster. Our model obtains 2.3% better top-1 accuracy on ImageNet than EfficientNet at similar latency. Furthermore, we show that our model generalizes to multiple tasks - image classification, object detection, and semantic segmentation with significant improvements in latency and accuracy as compared to existing efficient architectures when deployed on a mobile device. Code and models are available at https://github.com/apple/ml-mobileone
研究动机与目标
- Identify architectural and optimization bottlenecks that govern on-device latency beyond FLOPs and parameter count.
- Design a mobile backbone that minimizes latency on real devices while preserving accuracy.
- Propose train-time re-parameterizable branches and trivial over-parameterization to improve optimization and scaling for small models.
- Demonstrate MobileOne’s generalization to image classification, object detection, and semantic segmentation on mobile hardware.
提出的方法
- Empirically analyze the correlation between latency and common metrics (FLOPs and parameter count) on a mobile device using CoreML on iPhone 12.
- Evaluate activation functions to identify latency-costly options and select ReLU-based activations for MobileOne.
- Ablate architectural choices (branches, skip connections, Squeeze-Excite blocks) to quantify memory access and synchronization costs.
- Introduce MobileOne blocks with train-time re-parameterizable branches and trivial over-parameterization (factor k) that are re-parameterized to a simple, branch-free structure at inference.
- Scale models across five width variants while prioritizing latenc y and avoiding input-resolution scaling to maintain mobile efficiency.
- Describe a training pipeline with cosine learning-rate schedule, annealed weight decay, progressive learning curriculum, and EMA weight averaging to optimize small models.
实验结果
研究问题
- RQ1How well do FLOPs and parameter counts correlate with mobile latency in current efficient architectures?
- RQ2Can train-time re-parameterization and trivial over-parameterization reduce latency without sacrificing accuracy?
- RQ3What architectural components contribute most to mobile latency (e.g., activations, branches, Squeeze-Excite, memory access) and how can they be mitigated?
- RQ4How does MobileOne perform on ImageNet and transfer to object detection and semantic segmentation on mobile devices?
主要发现
- Latency on mobile devices does not correlate strongly with FLOPs or parameter count; activations and memory access costs are major bottlenecks.
- Using ReLU activations yields substantially lower latency than alternative activations like SE-ReLU, GELU, or Dynamic ReLU variants.
- Architectural choices with multi-branch structures and global pooling can incur higher latency due to memory and synchronization costs; inference-time branches are removed via re-parameterization for efficiency.
- MobileOne employs train-time re-parameterizable branches with trivial over-parameterization; at inference, the model is a simple feed-forward block with no branches or skip connections, enabling lower memory access and higher width per layer.
- MobileOne-S1 achieves 0.89 ms latency on iPhone 12 with 4.8M parameters and 75.9% top-1 on ImageNet; MobileOne-S4 reaches 1.86 ms latency with 14.8M parameters and 79.4% top-1 on ImageNet, outperforming several efficient baselines in latency and accuracy.
- MobileOne 变体在 MS-COCO 目标检测上表现具有竞争力或优于其他方法(最佳变体较 MNASNet 提升 27.8%、MobileViT 提升 6.1%),在 Pascal VOC/ADE20K 语义分割上表现出色(例如 ADE20K,MobileOne-S4 实现 38.2 mIoU)。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。