Technical Report for ICCV 2023 Visual Continual Learning Challenge: Continuous Test-time Adaptation for Semantic Segmentation

Damian Sójka, Yuyang Liu, Dipam Goswami, Sebastian Cygert, Bartlomiej Twardowski, Joost van de WeijerarXiv 2023 · DOI

Abstract

This report presents a robust framework for continuous test-time adaptation (TTA) in semantic segmentation, developed for the ICCV 2023 Visual Continual Learning Challenge. Our approach addresses the challenge of cyclic domain shifts in autonomous driving scenarios by combining dynamic Batch Normalization (BN) updates with entropy-based pixel filtering. By selectively updating only the BN parameters in the model backbone, we achieve stable adaptation across varying weather and lighting conditions without requiring external data. Our method secured 3rd place in the challenge, demonstrating significant improvements in both mIoU and stability metrics.

1. Introduction

In real-world autonomous driving, pre-trained models frequently encounter domain shifts—environmental changes such as rain, fog, or transitions from day to night—that differ from training data. Test-Time Adaptation (TTA) aims to mitigate performance loss by updating the model using unlabeled data encountered during deployment. The ICCV 2023 Visual Continual Learning Challenge specifically focuses on continuous and cyclic adaptation using the SHIFT dataset. In this setting, a model must adapt to a target domain (e.g., night) and successfully return to its original source domain (e.g., day) without suffering from catastrophic forgetting or instability.

2. Methodology

Our solution enhances the TENT baseline through three targeted modifications designed for stability in long, varying sequences.

2.1 Dynamic Batch Normalization Updates

Standard TTA methods often replace source statistics with current batch statistics, which can be unreliable for small batches. We introduce a dynamic update mechanism that interpolates between source and batch statistics. We utilize the symmetric Kullback-Leibler (KL) divergence to quantify the distance between the source and current data distributions, adjusting the interpolation weight automatically. This allows the model to rely on its original knowledge during minor shifts while adapting more aggressively during significant environmental changes.

2.2 Entropy-based Pixel Filtering

To ensure reliable adaptation, we implement pixel-level filtering based on prediction entropy. Minimizing entropy across all pixels can propagate errors if the model is confidently incorrect. By masking out high-entropy pixels, we restrict updates to "certain" regions. This pixel-level granularity allows the model to continue learning from clear parts of a scene (e.g., the road) even when other parts are obscured or noisy.

2.3 Selective Parameter Updates

A key finding in our development was that updating the entire network or the segmentation head often degraded performance. We found that keeping the segmentation head fixed and updating only the BN weights in the backbone (ResNet50) acted as an effective regularizer. This approach maintains the high-level semantic logic while allowing the low-level feature extraction to adjust to visual shifts.

3. Experiments and Results

We evaluated our approach on the SHIFT dataset, where each 401-frame sequence transitions from a clear daytime source to a target domain and back.

Performance dynamics (mIoU) over 401 frames for various domain shift sequences. The cyclic nature of the challenge is evident as performance drops during the peak shift and recovers as the environment returns to the source domain.

As illustrated in Figure 3, different shifts impact the model uniquely; for instance, daytime-to-night transitions cause more abrupt and severe performance drops compared to weather changes.

3.1 Quantitative Analysis

Our method significantly outperformed the source model and standard TTA baselines on the validation set.

Ablation study of hyperparameters γ and α. The optimal configuration achieves the highest mIoU of 58.8% and an overall stability metric of 50.2.

As shown in Table 5, the proposed method improved the mIoU from 54.4% (Source model) to 58.8%. More importantly, the "overall" metric, which penalizes performance drops during peak shifts, increased from 12.9 to 50.2. This indicates a much higher level of stability compared to TENT and CoTTA baselines. On the hidden test set, our approach achieved a 71.4% mIoU.

4. Conclusion

This technical report demonstrates that robust continuous TTA for semantic segmentation can be achieved through selective parameter updates and intelligent data filtering. By focusing adaptation on backbone normalization layers and using distribution distance to guide statistics updates, we successfully navigated the cyclic domain shifts of the SHIFT dataset. Future work will explore more effective ways to integrate temporal consistency and data augmentation to further enhance stability in real-time deployment.

Summary updated

BibTeX
@misc{sojka2023technical,
  author = {Damian Sójka and Yuyang Liu and Dipam Goswami and Sebastian Cygert and Bartlomiej Twardowski and Joost van de Weijer},
  title = {{Technical Report for ICCV 2023 Visual Continual Learning Challenge: Continuous Test-time Adaptation for Semantic Segmentation}},
  year = {2023},
  eprint = {2310.13533},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.13533},
}
Figure