arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.19748cs.CVcs.AI
收藏

C²DA:对比与上下文感知的域自适应语义分割

C^2DA: Contrastive and Context-aware Domain Adaptive Semantic Segmentation

Luddy School of Informatics, Computing

Md. Al-Masrur Khan, Zheng Chen, Lantao Liu

AI总结:

本文提出 C²DA 框架,通过双域对比损失、类别上下文依赖的混合技术和适配 MIM 来增强无监督域自适应语义分割,并在两个跨城市场景基准上提升 mIoU。

摘要:

无监督域自适应语义分割(UDA-SS)旨在利用源域数据(例如合成数据)训练模型,并在无法获取目标域标注数据的情况下,使模型适应并预测目标域数据(例如真实世界数据)。大多数现有 UDA-SS 方法只关注域间知识,以缓解数据偏移问题。然而,学习图像的内在结构并挖掘两个域的固有像素分布却被忽视,这使 UDA-SS 方法无法取得类似监督学习的令人满意的性能。此外,融合上下文知识也经常被忽略。针对这些问题,本文提出一种同时学习域内知识和上下文感知知识的 UDA-SS 框架。为学习域内知识,我们在两个域中引入对比损失,将相似类别的像素拉近、将其余像素推远,从而促进图像内像素级关联。为学习上下文感知知识,我们利用类别之间的上下文依赖关系改进混合技术。此外,我们调整了 Mask Image Modeling(MIM,掩码图像建模)技术,在仅使用掩码图像有限信息的情况下恰当地利用上下文线索,实现鲁棒的视觉识别。大量实验验证,所提方法在 GTA-V→Cityscapes 和 Synthia→Cityscapes 的自适应任务中,分别将最先进的 UDA-SS 方法提升 0.51% mIoU 和 0.54% mIoU。我们开源了 C2DA 代码,代码链接:github.com/Masrur02/C-Squared-DA。

英文摘要:

Unsupervised domain adaptive semantic segmentation (UDA-SS) aims to train a model on the source domain data (e.g., synthetic) and adapt the model to predict target domain data (e.g., real-world) without accessing target annotation data. Most existing UDA-SS methods only focus on inter-domain knowledge to mitigate the data-shift problem. However, learning the inherent structure of the images and exploring the intrinsic pixel distribution of both domains are ignored, which prevents the UDA-SS methods from producing satisfactory performance like supervised learning. Moreover, incorporating contextual knowledge is also often overlooked. Considering these issues, in this work, we propose a UDA-SS framework that learns both intra-domain and context-aware knowledge. To learn the intra-domain knowledge, we incorporate contrastive loss in both domains, which pulls pixels of similar classes together and pushes the rest away, facilitating intra-image-pixel-wise correlations. To learn context-aware knowledge, we modify the mixing technique by leveraging contextual dependency among the classes. Moreover, we adapt the Mask Image Modeling (MIM) technique to properly use context clues for robust visual recognition, using limited information about the masked images. Comprehensive experiments validate that our proposed method improves the state-of-the-art UDA-SS methods by a margin of 0.51% mIoU and 0.54% mIoU in the adaptation of GTA-V->Cityscapes and Synthia->Cityscapes, respectively. We open-source our C2DA code. Code link: github.com/Masrur02/C-Squared-DA

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

↑