iFormer:为移动应用整合卷积网络与Transformer
iFormer: Integrating ConvNet and Transformer for Mobile Application
AI总结:
针对移动应用的延迟与精度优化问题,提出iFormer混合视觉网络,通过整合卷积的局部表示与高效调制注意力的全局建模能力,在ImageNet及下游任务上优于现有轻量网络,实现高准确率与低延迟平衡。
摘要:
我们提出了一类新的移动混合视觉网络家族,称为iFormer,重点优化移动应用的延迟和精度。iFormer有效整合了卷积的快速局部表示能力与自注意力的高效全局建模能力。局部交互通过转换标准卷积网络(即ConvNeXt)来设计更轻量的移动网络。我们新引入的移动调制注意力移除了多头注意力(MHA)中内存密集型操作,采用高效调制机制提升动态全局表示能力。我们进行了全面实验,表明iFormer在各类任务上优于现有轻量网络。值得注意的是,iFormer在ImageNet-1k上达到80.4%的Top-1准确率,在iPhone 13上延迟仅1.10毫秒,在相似延迟约束下超过近期提出的MobileNetV4。此外,我们的方法在下游任务(包括COCO目标检测、实例分割和ADE20k语义分割)中表现出显著改进,同时在这些场景的高分辨率输入下仍保持移动设备上的低延迟。
英文摘要:
We present a new family of mobile hybrid vision networks, called iFormer, with a focus on optimizing latency and accuracy on mobile applications. iFormer effectively integrates the fast local representation capacity of convolution with the efficient global modeling ability of self-attention. The local interactions are derived from transforming a standard convolutional network, \textit{i.e.}, ConvNeXt, to design a more lightweight mobile network. Our newly introduced mobile modulation attention removes memory-intensive operations in MHA and employs an efficient modulation mechanism to boost dynamic global representational capacity. We conduct comprehensive experiments demonstrating that iFormer outperforms existing lightweight networks across various tasks. Notably, iFormer achieves an impressive Top-1 accuracy of 80.4\% on ImageNet-1k with a latency of only 1.10 ms on an iPhone 13, surpassing the recently proposed MobileNetV4 under similar latency constraints. Additionally, our method shows significant improvements in downstream tasks, including COCO object detection, instance segmentation, and ADE20k semantic segmentation, while still maintaining low latency on mobile devices for high-resolution inputs in these scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。