Rethinking Ensemble-Distillation for Semantic Segmentation Based Unsupervised Domain Adaption

Chen-Hao Chao, Bo-Wun Cheng, Chun-Yi Lee · DOI

TL;DR

This paper introduces a flexible ensemble-distillation framework for unsupervised domain adaptation (UDA) in semantic segmentation. It addresses the limitations of existing methods by proposing novel techniques to handle inconsistencies and performance variations among ensemble members, leading to improved robustness and performance.

What Problem Does This Paper Address?

Semantic segmentation, the task of assigning a class label to every pixel in an image, is crucial for many computer vision applications. While supervised methods achieve high accuracy, they require extensive labeled data, which is often scarce and expensive to obtain for real-world scenarios. Unsupervised Domain Adaptation (UDA) aims to bridge this gap by training models on labeled source data and unlabeled target data.

Ensemble learning, where multiple models are combined, has shown promise in UDA. However, traditional end-to-end ensemble methods are rigid; any change to the ensemble requires complete retraining. Existing ensemble-distillation approaches, which transfer knowledge from an ensemble to a single student model, also suffer from two key issues:

  1. Output Inconsistency: Different UDA methods used to train ensemble members can produce outputs with varying certainty scales, leading to one or a few models dominating the ensemble's decision.
  2. Performance Variation: Ensemble members can have significantly different performance levels. Underperforming members can degrade the overall ensemble quality, especially in UDA where ground truth is unavailable.

This paper tackles these limitations by proposing a more flexible and robust ensemble-distillation framework.

Methods

The core of the proposed solution lies in two main innovations:

  1. Output Unification: To combat the output inconsistency issue, the authors introduce a method to unify the soft predictions (certainty values) from different ensemble members. This is achieved by converting these predictions into pseudo-labels, ensuring they all have a consistent scale before being combined. This prevents models with artificially high certainty from unduly influencing the final decision.
  2. Channel-Wise Fusion: To address the performance variation issue, the paper proposes a novel "channel-wise fusion" function. Unlike traditional pixel-wise fusion that averages all predictions, channel-wise fusion treats each class channel independently. It uses a "fusion policy" to select the most relevant teacher model's output for each class. This selective approach prevents underperforming models from negatively impacting the ensemble's output.
  3. Fusion Policy Selection: To determine the optimal fusion policy without target domain ground truth, they propose a "certainty-aware policy selection strategy." This strategy leverages the observation that a student model trained with high-quality pseudo-labels (from a good teacher) exhibits higher output certainty. By training multiple student models, each distilled from a different teacher, they can estimate each teacher's performance and select the best one for each class.
  4. Conflict-Resolving Mechanism: For pixels where multiple teachers agree or disagree, a spatially-aware mechanism is employed to resolve conflicts, ensuring a coherent final prediction.

Datasets

The proposed framework is evaluated on two standard UDA benchmarks for semantic segmentation:

  • GTA5 → Cityscapes: GTA5 is used as the source domain (with labels), and Cityscapes as the target domain (unlabeled).
  • SYNTHIA → Cityscapes: SYNTHIA is used as the source domain (with labels), and Cityscapes as the target domain (unlabeled).

Key Insights and Ideas

  • Flexibility is Key: The paper highlights that rigid end-to-end ensemble methods are a bottleneck. A flexible framework that can easily incorporate new or updated UDA models is crucial for advancing the field.
  • Unifying Certainty is Essential: Simply averaging predictions from models trained with different UDA techniques can be misleading due to varying certainty scales. Unifying these scales before fusion is a critical step for robust ensemble decision-making.
  • Selective Fusion Outperforms Averaging: Channel-wise fusion, by intelligently selecting the best teacher for each class, proves more robust to performance variations than simple averaging. This is a significant departure from traditional ensemble strategies.
  • Proxy for Performance: Using the student model's output certainty as a proxy for teacher model performance is an effective way to guide fusion policy selection without needing target domain ground truth.

Key Results

  • The proposed "Ours (Channel)" framework significantly outperforms existing ensemble-distillation baselines (EnD, EnD²) by margins of up to 6.64% mIoU on GTA5→Cityscapes and 6.41% mIoU on SYNTHIA→Cityscapes.
  • It also outperforms the pixel-wise fusion variant ("Ours (Pixel)") by a notable margin (e.g., 4.72% mIoU on GTA5→Cityscapes), demonstrating the superiority of channel-wise fusion.
  • Experiments show that the output unification method provides robustness against the inconsistency issue.
  • The channel-wise fusion method demonstrates strong robustness against performance variations, maintaining performance even when under-performing members are included in the ensemble, unlike pixel-wise fusion or baseline methods.
  • The certainty-aware policy selection strategy yields significantly better results than random selection and is close to optimal oracle performance.

Limitations and Future Work

  • Limitations: While the framework is flexible, the paper acknowledges that the performance of the student model is still dependent on the quality of the teacher ensemble. The conflict-resolving mechanism's effectiveness is also explored with different parameter settings, suggesting potential for further tuning.
  • Future Work: The authors suggest that their framework can be iteratively improved by adding new UDA models or even re-integrating student models back into the ensemble. This highlights the framework's potential for continuous learning and improvement in UDA semantic segmentation.

Summary updated

BibTeX
@inproceedings{chao2021rethinking,
  author = {Chen-Hao Chao and Bo-Wun Cheng and Chun-Yi Lee},
  title = {{Rethinking Ensemble-Distillation for Semantic Segmentation Based Unsupervised Domain Adaption}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw53098.2021.00295},
}
Figure