Preprint
Large Language Models

MobileViT

October 1, 2021

0

Citations

0

Influential Citations

Venue

2021

Year

Abstract

A lightweight vision transformer designed for mobile devices, effectively combining the strengths of CNNs and ViTs.

Analysis

Why This Paper Matters

MobileViT addresses a critical gap in deploying vision transformers on mobile devices. Traditional ViTs, while powerful, are computationally expensive and memory-intensive, making them unsuitable for on-device inference. By combining the efficiency of CNNs with the global context modeling of transformers, MobileViT offers a practical solution for real-world applications like augmented reality, autonomous driving, and mobile photography. This work is significant because it democratizes access to transformer-based vision models, allowing practitioners to leverage state-of-the-art accuracy without sacrificing performance on resource-constrained hardware.

Technical Contributions

  • Hybrid Architecture: MobileViT integrates a lightweight convolutional stem with transformer blocks that use local self-attention, reducing computational overhead compared to standard ViTs.
  • Mobile-Friendly Design: The model uses depthwise separable convolutions and a novel MobileViT block that processes patches efficiently, achieving a favorable accuracy-efficiency trade-off.
  • Scalability: The architecture is designed to be scalable across different mobile platforms, with variants that balance accuracy and latency.

Results

While the abstract does not provide exact numbers, MobileViT reportedly achieves competitive top-1 accuracy on ImageNet-1K (e.g., around 78-79% for MobileViT-S) with fewer parameters (e.g., 5-6 million) than MobileNetV3 and DeIT. Inference latency on mobile CPUs is significantly lower than standard ViTs, making it practical for real-time applications. Comparisons with prior mobile-friendly models show that MobileViT outperforms MobileNetV3 and EfficientNet-Lite in accuracy while maintaining similar or better efficiency.

Significance

MobileViT paves the way for deploying transformer-based vision models on edge devices, expanding the scope of AI applications in mobile and IoT ecosystems. It challenges the assumption that transformers are inherently heavy, encouraging further research into efficient attention mechanisms. For practitioners, this means access to more accurate models for tasks like object detection, segmentation, and image classification without cloud dependency.