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

HyCTAS:面向实时图像分割的多目标混合卷积-Transformer架构搜索

HyCTAS: Multi-Objective Hybrid Convolution-Transformer Architecture Search for Real-Time Image Segmentation

The Multimedia Department, Xiaomi Inc. (XIAOMI)(小米公司多媒体部门);Georgia Institute of Technology (GATECH)(佐治亚理工学院);Center for Research on Intelligent Perception and Computing (CRIPAC)(智能感知与计算研究中心);National Laboratory of Pattern Recognition (NLPR)(模式识别国家实验室);University of Chinese Academy of Sciences (UCAS)(中国科学院大学);Microsoft Inc.(微软公司)

Hongyuan Yu, Cheng Wan, Xiyang Dai, Mengchen Liu, Dongdong Chen, Bin Xiao, Yan Huang, Yuan Lu, Liang Wang

AI总结:

本文提出HyCTAS方法,通过多目标多分支超网络架构搜索,自动寻找轻量卷积与高效自注意力在高分辨率特征中的最佳混合位置,在Cityscapes、ADE20K和COCO上无需ImageNet预训练即可获得具有竞争力的实时分割模型。

摘要:

实时图像分割要求在严格的延迟和内存预算下,既能保留细粒度空间细节,又能捕获全局上下文。图像分割是计算机视觉中最基本的问题之一,因其在图像理解和自动驾驶中的广泛应用而备受关注。然而,设计高效且有效的分割神经架构是一个劳动密集型过程,可能需要人类专家进行大量尝试。在本文中,我们通过利用架构搜索来解决将多头自注意力高效集成到高分辨率表示卷积神经网络中的挑战。由于维持高分辨率需要高昂的内存开销,手动用多头自注意力替换卷积层并非易事。相比之下,我们开发了一种多目标多分支超网络方法,它不仅充分利用了高分辨率特征的优势,还能找到放置多头自注意力模块的合适位置。我们的搜索算法针对多个目标(例如延迟和mIoU)进行优化,并且能够在单次搜索中找到具有任意数量分支的近似Pareto前沿上的架构。我们进一步通过混合卷积-Transformer架构搜索(HyCTAS)方法提出了一系列模型,该方法在不同分辨率的分支之间搜索轻量级卷积层和内存高效自注意力层的最佳混合组合,并在高分辨率下将它们融合,以同时实现效率和有效性。在Cityscapes、ADE20K和COCO上,HyCTAS发现了无需ImageNet预训练的具有竞争力的实时模型,提供了强大的准确率和延迟权衡。代码和模型可在https://github.com/MarvinYu1995/HyCTAS获取。

英文摘要:

Real-time image segmentation demands architectures that preserve fine spatial detail while capturing global context under tight latency and memory budgets. Image segmentation is one of the most fundamental problems in computer vision and has drawn a lot of attention due to its vast applications in image understanding and autonomous driving. However, designing effective and efficient segmentation neural architectures is a labor-intensive process that may require numerous trials by human experts. In this paper, we address the challenge of integrating multi-head self-attention into high-resolution representation CNNs efficiently by leveraging architecture search. Manually replacing convolution layers with multi-head self-attention is non-trivial due to the costly overhead in memory to maintain high resolution. By contrast, we develop a multi-target multi-branch supernet method, which not only fully utilizes the advantages of high-resolution features but also finds the proper location for placing the multi-head self-attention module. Our search algorithm is optimized towards multiple objectives (e.g., latency and mIoU) and is capable of finding architectures on the approximate Pareto front with an arbitrary number of branches in a single search. We further present a series of models via the Hybrid Convolutional-Transformer Architecture Search (HyCTAS) method that searches for the best hybrid combination of lightweight convolution layers and memory-efficient self-attention layers between branches from different resolutions and fuses them at high resolution for both efficiency and effectiveness. On Cityscapes, ADE20K, and COCO, HyCTAS discovers competitive real-time models without ImageNet pretraining, delivering strong accuracy and latency trade-offs. Code and models are available at https://github.com/MarvinYu1995/HyCTAS.

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

↑