arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.13156cs.CV
收藏

SeaFormer++:面向移动视觉识别的挤压增强轴向Transformer

SeaFormer++: Squeeze-enhanced Axial Transformer for Mobile Visual Recognition

School of Data Science, Fudan University(复旦大学数据科学学院);ByteDance(字节跳动);Tencent(腾讯)

Qiang Wan, Zilong Huang, Jiachen Lu, Gang Yu, Li Zhang

AI总结:

本文提出面向移动视觉识别的SeaFormer架构,通过挤压轴向注意力与细节增强模块,在语义分割、分类和检测任务上以更低延迟超越CNN和Transformer方法。

摘要:

自视觉Transformer问世以来,许多此前由卷积神经网络(CNN)主导的计算机视觉任务(如语义分割)的格局最近发生了显著变革。然而,其计算成本和内存需求使得这些方法不适合在移动设备上使用。本文提出了一种新方法——挤压增强轴向Transformer(SeaFormer),用于移动视觉识别。具体而言,我们设计了一种通用注意力模块,其特点在于挤压轴向与细节增强的公式化设计。该模块可进一步用于构建一系列具有优越成本效益的骨干架构。配合轻量级分割头,我们在基于ARM的移动设备上,在ADE20K、Cityscapes、Pascal Context和COCO-Stuff数据集上实现了分割精度与延迟之间的最佳权衡。关键的是,我们在不借助任何额外技巧的情况下,以更好的性能和更低的延迟同时超越了移动端友好型方法和基于Transformer的同类方法。此外,我们引入了一种基于特征上采样的多分辨率蒸馏技术,进一步降低了所提框架的推理延迟。除语义分割外,我们还将所提出的SeaFormer架构应用于图像分类和目标检测问题,展示了其作为通用移动端友好型骨干网络的潜力。我们的代码和模型已在https://github.com/fudan-zvg/SeaFormer公开发布。

英文摘要:

Since the introduction of Vision Transformers, the landscape of many computer vision tasks (e.g., semantic segmentation), which has been overwhelmingly dominated by CNNs, recently has significantly revolutionized. However, the computational cost and memory requirement renders these methods unsuitable on the mobile device. In this paper, we introduce a new method squeeze-enhanced Axial Transformer (SeaFormer) for mobile visual recognition. Specifically, we design a generic attention block characterized by the formulation of squeeze Axial and detail enhancement. It can be further used to create a family of backbone architectures with superior cost-effectiveness. Coupled with a light segmentation head, we achieve the best trade-off between segmentation accuracy and latency on the ARM-based mobile devices on the ADE20K, Cityscapes, Pascal Context and COCO-Stuff datasets. Critically, we beat both the mobilefriendly rivals and Transformer-based counterparts with better performance and lower latency without bells and whistles. Furthermore, we incorporate a feature upsampling-based multi-resolution distillation technique, further reducing the inference latency of the proposed framework. Beyond semantic segmentation, we further apply the proposed SeaFormer architecture to image classification and object detection problems, demonstrating the potential of serving as a versatile mobile-friendly backbone. Our code and models are made publicly available at https://github.com/fudan-zvg/SeaFormer.

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

↑