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

面向语义图像分割的领域自适应与可泛化网络架构及训练策略

Domain Adaptive and Generalizable Network Architectures and Training Strategies for Semantic Image Segmentation

ETH Zurich(苏黎世联邦理工学院);Huawei Zurich Research Center(华为苏黎世研究中心);KU Leuven(鲁汶大学);INSAIT Sofia(索非亚人工智能研究所)

Lukas Hoyer, Dengxin Dai, Luc Van Gool

AI总结:

本文针对语义分割的UDA与DG问题,提出DAFormer架构及HRDA多分辨率训练框架,显著提升跨域分割性能。

摘要:

无监督领域自适应(UDA)与领域泛化(DG)使在源领域上训练的机器学习模型能够在无标注甚至未见过的目标领域上表现良好。由于以往的UDA&DG语义分割方法大多基于过时的网络,本文对较新的架构进行基准测试,揭示了Transformer的潜力,并设计了专为UDA&DG定制的DAFormer网络。该网络通过三种训练策略来避免对源领域过拟合:(1)稀有类别采样缓解了对源领域常见类别的偏置;(2)物体类别ImageNet特征距离与(3)学习率预热促进了来自ImageNet预训练的特征迁移。由于UDA&DG通常消耗大量GPU显存,以往多数方法会缩小或裁剪图像。然而,低分辨率预测往往无法保留精细细节,而使用裁剪图像训练的模型在捕捉长距离、领域鲁棒的上下文信息方面存在不足。因此,本文提出HRDA,这是一个用于UDA&DG的多分辨率框架,通过学习到的尺度注意力,结合用于保留精细分割细节的小高分辨率裁剪与用于捕捉长距离上下文依赖的大低分辨率裁剪的优势。DAFormer和HRDA在5个不同基准上将最先进的UDA&DG性能显著提升超过10 mIoU。实现可在https://github.com/lhoyer/HRDA获取。

英文摘要:

Unsupervised domain adaptation (UDA) and domain generalization (DG) enable machine learning models trained on a source domain to perform well on unlabeled or even unseen target domains. As previous UDA&DG semantic segmentation methods are mostly based on outdated networks, we benchmark more recent architectures, reveal the potential of Transformers, and design the DAFormer network tailored for UDA&DG. It is enabled by three training strategies to avoid overfitting to the source domain: While (1) Rare Class Sampling mitigates the bias toward common source domain classes, (2) a Thing-Class ImageNet Feature Distance and (3) a learning rate warmup promote feature transfer from ImageNet pretraining. As UDA&DG are usually GPU memory intensive, most previous methods downscale or crop images. However, low-resolution predictions often fail to preserve fine details while models trained with cropped images fall short in capturing long-range, domain-robust context information. Therefore, we propose HRDA, a multi-resolution framework for UDA&DG, that combines the strengths of small high-resolution crops to preserve fine segmentation details and large low-resolution crops to capture long-range context dependencies with a learned scale attention. DAFormer and HRDA significantly improve the state-of-the-art UDA&DG by more than 10 mIoU on 5 different benchmarks. The implementation is available at https://github.com/lhoyer/HRDA.

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

↑