[论文解读] HyCTAS: Multi-Objective Hybrid Convolution-Transformer Architecture Search for Real-Time Image Segmentation
HyCTAS 会自动在一个受多分支 HRNet 启发的空间中,通过将轻量卷积与内存高效的自注意力相结合,搜索高效的高分辨率分割网络,目标是在 Pareto 前沿上优化延迟和 mIoU。
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.
研究动机与目标
- 在像自动驾驶这样的应用中,强调实时且高分辨率语义分割的需求。
- 提出一种搜索框架,在高分辨率表示保持的同时高效地整合注意力机制。
- 开发一个多分支超网络和基于遗传的多目标搜索,以在延迟与准确度之间取得平衡。
- 实现可变分支数量且跨分辨率进行特征融合的体系结构变体。
- 在 Cityscapes 数据集上展示最先进的效率与精度,无需 ImageNet 预训练。
提出的方法
- 引入 HyCTAS,其包含两个可搜索组件:Cells(如卷积或变换器等模块)和 Nodes(跨分辨率的融合门)。
- 使用内存高效的自注意力模块(通过 1x1 投影实现瓶颈)以及轻量卷积模块(并行 1x1 以保留细节),以在准确性与速度之间取得平衡。
- 维护一个受 HRNet 启发的多分支搜索空间(分辨率从 1/8 到 1/32),并配备一个用于任意输出的灵活特征聚合头。
- 用带偏置采样的超网络进行训练,以偏好更多分支的子网络;随后在延迟和 mIoU 上进行多目标 NSGA-II 优化,以识别 Pareto 前沿的架构。
- 从超网络执行架构解码,并从零开始重新训练所选子网络以进行最终评估。
实验结果
研究问题
- RQ1HyCTAS 是否能够构建高分辨率、具备多分支的架构,在准确性与实时速度之间实现平衡?
- RQ2在多分支融合中应将内存高效自注意力放置在何处以最大化性能?
- RQ3所提出的多目标搜索在效率和 Cityscapes 上的结果,与单目标 NAS 方法相比如何?
主要发现
- HyCTAS 在 Cityscapes 上实现了 Pareto 前沿架构,具有具有竞争力的 mIoU 和低延迟。
- HyCTAS-S,在验证集 72.3% mIoU,测试集 73.0%,13.0 GFLOPs,1.5M 参数,159.2 FPS。
- HyCTAS-M,在验证集 77.1% mIoU,测试集 75.7%,29.4 GFLOPs,2.4M 参数,87.8 FPS。
- 相比基线,HyCTAS 模型提供更优越的速度-精度权衡,包括在不牺牲精度的前提下实现更快的实时性能。
- 该搜索框架在单次 5-GPU 天的过程内高效地产出多种可行架构。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。