Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applications

About

In the pursuit of achieving ever-increasing accuracy, large and complex neural networks are usually developed. Such models demand high computational resources and therefore cannot be deployed on edge devices. It is of great interest to build resource-efficient general purpose networks due to their usefulness in several application areas. In this work, we strive to effectively combine the strengths of both CNN and Transformer models and propose a new efficient hybrid architecture EdgeNeXt. Specifically in EdgeNeXt, we introduce split depth-wise transpose attention (STDA) encoder that splits input tensors into multiple channel groups and utilizes depth-wise convolution along with self-attention across channel dimensions to implicitly increase the receptive field and encode multi-scale features. Our extensive experiments on classification, detection and segmentation tasks, reveal the merits of the proposed approach, outperforming state-of-the-art methods with comparatively lower compute requirements. Our EdgeNeXt model with 1.3M parameters achieves 71.2% top-1 accuracy on ImageNet-1K, outperforming MobileViT with an absolute gain of 2.2% with 28% reduction in FLOPs. Further, our EdgeNeXt model with 5.6M parameters achieves 79.4% top-1 accuracy on ImageNet-1K. The code and models are available at https://t.ly/_Vu9.

Muhammad Maaz, Abdelrahman Shaker, Hisham Cholakkal, Salman Khan, Syed Waqas Zamir, Rao Muhammad Anwer, Fahad Shahbaz Khan• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy79.4
1866
Image ClassificationImageNet-1K
Top-1 Acc79.4
524
Image ClassificationImageNet-1k (val)
Top-1 Accuracy83.3
512
Semantic segmentationPASCAL VOC (val)
mIoU80.2
338
Object DetectionCOCO 2017
AP (Box)27.9
279
Object DetectionMS-COCO 2017 (val)
mAP27.9
237
Image ClassificationImageNet-1k 1.0 (test)
Top-1 Accuracy75
197
Image ClassificationImageNet-C (val)
mCE72.1
97
Image ClassificationImageNet-R (val)
Accuracy40.1
82
Image ClassificationImageNet-1K
Top-1 Accuracy79.4
78
Showing 10 of 19 rows

Other info

Code

Follow for update