Dynamically Instance-Guided Adaptation: A Backward-free Approach for Test-Time Domain Adaptive Semantic Segmentation

Wei Wang, Zhun Zhong, Weijie Wang, Xi Chen, C. Ling +2 more
2/14/2026

No official code found. Best implementation: Waybaba/DIGA (13 stars, last commit 2024-03-19).

Abstract

In this paper, we study the application of Test-time domain adaptation in semantic segmentation (TTDA-Seg) where both efficiency and effectiveness are crucial. Existing methods either have low efficiency (e.g., backward optimization) or ignore semantic adaptation (e.g., distribution alignment). Besides, they would suffer from the accumulated errors caused by unstable optimization and abnormal distributions. To solve these problems, we propose a novel backward-free approach for TTDA-Seg, called Dynamically Instance-Guided Adaptation (DIGA). Our principle is utilizing each instance to dynamically guide its own adaptation in a non-parametric way, which avoids the error accumulation issue and expensive optimizing cost. Specifically, DIGA is composed of a distribution adaptation module (DAM) and a semantic adaptation module (SAM), enabling us to jointly adapt the model in two indispensable aspects. DAM mixes the instance and source BN statistics to encourage the model to capture robust representation. SAM combines the historical prototypes with instance-level prototypes to adjust semantic predictions, which can be associated with the parametric classifier to mutually benefit the final results. Extensive experiments evaluated on five target domains demonstrate the effectiveness and efficiency of the proposed method. Our DIGA establishes new state-of-the-art performance in TTDA-Seg. Source code is available at: https://github.com/Waybaba/DIGA.

DOISemantic Scholar

Code Implementations(1)

Waybaba/DIGACommunity58%

Official implementation for Dynamically Instance-Guided Adaptation: A Backward-free Approach for Test-Time Domain Adaptive Semantic Segmentation

132Python, DockerfileMar 23, 20232 years ago

Similar Papers

Cite this paper

@article{wang2026dynamically,
  title  = {Dynamically Instance-Guided Adaptation: A Backward-free Approach for Test-Time Domain Adaptive Semantic Segmentation},
  author = {Wei Wang and Zhun Zhong and Weijie Wang and Xi Chen and C. Ling and Boyu Wang and N. Sebe},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.02307},
  url    = {https://zenodo.org/records/8337069/files/Wang_Dynamically_Instance-Guided_Adaptation_A_Backward-Free_Approach_for_Test-Time_Domain_Adaptive_CVPR_2023_paper.pdf},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/acfa5514bae899eae0ab36ccdc748d58c2caa203.svg)](https://codeofpaper.com/paper/acfa5514bae899eae0ab36ccdc748d58c2caa203)

Discussion