arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.05800cs.CV
收藏

MicroViT:一种面向边缘设备的低复杂度自注意力视觉Transformer

MicroViT: A Vision Transformer with Low Complexity Self Attention for Edge Device

Department of Electro-Optics Engineering, National Formosa University, Taiwan(台湾国立Formosa大学电子光学工程系);Department of Electrical Engineering, National Taipei University, Taiwan(台湾国立台北大学电子工程系);Department of Electrical Engineering, University of Muhammadiyah Malang, Indonesia(印度尼西亚穆罕默德大学电子工程系);College of Artificial Intelligence and Green Energy, National Yang Ming Chiao Tung University, Taiwan(台湾阳明交通大学人工智能与再生能源学院)

Novendra Setyawan, Chi-Chia Sun, Mao-Hsiu Hsu, Wen-Kai Kuo, Jun-Wei Hsieh

AI总结:

本文提出轻量级视觉Transformer架构MicroViT,通过高效单头注意力ESHA利用分组卷积降低自注意力计算复杂度,在ImageNet-1K和COCO上以3.6倍推理加速和40%能效提升实现与MobileViT系列相当的精度,适用于边缘设备部署。

摘要:

视觉Transformer(ViT)已在多种计算机视觉任务中展现出最先进的性能,但其高昂的计算需求使其难以应用于资源有限的边缘设备。本文提出MicroViT,一种针对边缘设备优化的轻量级视觉Transformer架构,在保持高精度的同时显著降低计算复杂度。MicroViT的核心是高效单头注意力(ESHA)机制,该机制利用分组卷积减少特征冗余,仅处理部分通道,从而降低自注意力机制的负担。MicroViT采用多阶段MetaFormer架构设计,堆叠多个MicroViT编码器以提升效率和性能。在ImageNet-1K和COCO数据集上的综合实验表明,MicroViT在取得有竞争力的精度的同时,推理速度比MobileViT系列显著提升3.6倍,能耗效率提高40%,适合部署于移动设备和边缘设备等资源受限环境。

英文摘要:

The Vision Transformer (ViT) has demonstrated state-of-the-art performance in various computer vision tasks, but its high computational demands make it impractical for edge devices with limited resources. This paper presents MicroViT, a lightweight Vision Transformer architecture optimized for edge devices by significantly reducing computational complexity while maintaining high accuracy. The core of MicroViT is the Efficient Single Head Attention (ESHA) mechanism, which utilizes group convolution to reduce feature redundancy and processes only a fraction of the channels, thus lowering the burden of the self-attention mechanism. MicroViT is designed using a multi-stage MetaFormer architecture, stacking multiple MicroViT encoders to enhance efficiency and performance. Comprehensive experiments on the ImageNet-1K and COCO datasets demonstrate that MicroViT achieves competitive accuracy while significantly improving 3.6 faster inference speed and reducing energy consumption with 40% higher efficiency than the MobileViT series, making it suitable for deployment in resource-constrained environments such as mobile and edge devices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑