When Masked Image Modeling Meets Source-free Unsupervised Domain Adaptation: Dual-Level Masked Network for Semantic Segmentation
Gang Li, Xianzheng Ma, Zhao Wang, Hao Li, Qifei Zhang, Chao Wu
Abstract
Source-Free domain adaptive Semantic Segmentation (SFSS) aims to transfer knowledge from source domain to the target domain with only pre-trained source segmentation model and the unlabeled target dataset. Only a few works have been researched for SFSS, relying on entropy minimization, pseudo-labeling. Nevertheless, due to the domain bias, these methods tend to suffering from the confusion of classes with a similar visual appearance in different domains. To address the above issue, we propose to enhance discriminability towards target samples with masked image modeling to model spatial context relations as additional recognition clues. Specifically, we design a novel Dual-Level Masked Consistency method, which explicitly encourages the model to learn comprehensive context relations, i.e. patch-wise context and channel-wise context, on the target domain. By randomly masking target images and forcing the model to reconstruct predictions of the entire image with left unmasked part, the model has to make full use of spatially contextual information. To take a step further, we propose a novel masking strategy considering both local context and global context information by applying patch-wise masking on image patches and channel-wise masking on latent features. Notably, patch-wise context learning and channel-wise context learning can complement each other. Extensive experiments demonstrate the effectiveness of our proposed method and our method achieves state-of-the-art performance on two synthetic-to-real benchmarks: GTA5→Cityscapes and SYNTHIA→Cityscapes.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- CrossMatch: Source-Free Domain Adaptive Semantic Segmentation via Cross-Modal Consistency TrainingYifang Yin, Wenmiao Hu, Zhenguang Liu, Guanfeng Wang et al.ICCV 2023 · 21 citations
- CDEA: Context- and Detail-Enhanced Unsupervised Learning for Domain Adaptive Semantic SegmentationShuyuan Wen, Bingrui Hu, Wenchao LiACM MM 2024 · 4 citations
- MIC: Masked Image Consistency for Context-Enhanced Domain AdaptationLukas Hoyer, Dengxin Dai, Haoran Wang, Luc Van GoolCVPR 2023
- Transferring to Real-World Layouts: A Depth-aware Framework for Scene AdaptationMu Chen, Zhedong Zheng, Yi YangACM MM 2024 · 19 citations
- PixMatch: Unsupervised Domain Adaptation via Pixelwise Consistency TrainingLuke Melas-Kyriazi, Arjun K. ManraiCVPR 2021
