CLDA: Collaborative Learning for Enhanced Unsupervised Domain Adaptation

Minhee Cho, Hyesong Choi, Hayeon Jo, Dongbo MinarXiv 2024 · DOI

CLDA (Collaborative Learning for Unsupervised Domain Adaptation) breaks the traditional "fixed teacher" mold in knowledge distillation. By identifying and updating "non-salient" parameters in a teacher model using insights from a more robust student model, CLDA creates a two-way synergy that significantly boosts performance for both models in new, unlabeled domains.

The Problem: Domain Shift and Non-Salient Parameters

Unsupervised Domain Adaptation (UDA) aims to adapt a model trained on labeled source data (e.g., synthetic GTA images) to unlabeled target data (e.g., real-world Cityscapes footage). While large models perform well, deploying them on edge devices requires smaller "student" versions.

The standard approach uses Knowledge Distillation (KD), where a fixed "Teacher" guides a "Student." However, researchers identified a critical flaw: Domain Shift induced Non-salient parameters (DSN). Upon moving to a new domain, many teacher layers stop contributing useful features and instead transfer misleading information. Interestingly, compact student models are often less prone to this because they are forced to learn more "condensed" representations.

Methodology: The Collaborative Loop

CLDA transforms distillation from a one-way street into a collaborative loop. Instead of keeping the teacher frozen, the framework allows the student to "refine" the teacher's knowledge.

  1. Layer Saliency Rate (LSR): A new metric that quantifies a layer's contribution to target domain accuracy. Layers that do not hurt performance when removed are labeled "non-salient."
  2. Teacher Update (S → T): Using an Exponential Moving Average (EMA), the teacher progressively integrates the student’s robust parameters into its own non-salient layers. This happens without extra backpropagation, keeping training efficient.
  3. Knowledge Distillation (T → S): The student then distills knowledge from this newly refined, domain-aware teacher.

Key Insights: The "Condensation" Effect

The "Condensation" effect suggests that smaller models, having fewer layers, must "condense" roles that are dispersed in larger models. This makes them inherently more robust to noise introduced by domain shifts. By allowing the student to "fix" the teacher's non-salient layers, the teacher becomes a more effective mentor.

Distribution of salient and non-salient layers across different architectures and domain adaptation tasks.

Key Results

CLDA consistently outperformed baseline UDA methods across different architectures (like DAFormer and HRDA) and datasets (GTA, Synthia, and VisDA-2017):

  • Semantic Segmentation: On GTA-to-Cityscapes, CLDA improved the teacher by +0.7% mIoU and the student by +1.4% mIoU. On Synthia-to-Cityscapes, gains reached +2.0% for the student.
  • Image Classification: On the VisDA-2017 dataset, CLDA achieved a mean accuracy of 91.2% (Teacher) and 90.1% (Student), outperforming state-of-the-art methods like SDAT.
  • Efficiency: The collaborative update mechanism is highly efficient, with training complexity increasing by a negligible 0.13%.

Conclusion

CLDA demonstrates that in UDA, a frozen teacher can be a liability. By enabling a collaborative self-correction loop, models can better navigate the challenges of domain shift. This "self-correction" logic could potentially be extended to broader fields like Domain Generalization, where models must handle completely unseen domains at test time.

Summary updated

BibTeX
@misc{cho2024clda,
  author = {Minhee Cho and Hyesong Choi and Hayeon Jo and Dongbo Min},
  title = {{CLDA: Collaborative Learning for Enhanced Unsupervised Domain Adaptation}},
  year = {2024},
  eprint = {2409.02699},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.02699},
}
Figure