Skip to main content
QUICK REVIEW

[Paper Review] Multi-Source domain adaptation via supervised contrastive learning and confident consistency regularization

Marin Scalbert, Maria Vakalopoulou|arXiv (Cornell University)|Jun 30, 2021
Domain Adaptation and Few-Shot LearningComputer Science15 references10 citations
TL;DR

This paper proposes CMSDA, a novel multi-source unsupervised domain adaptation framework that leverages supervised contrastive learning to align class-conditional distributions across multiple source domains and consistency regularization with hard pseudo-labeling for target domain adaptation. The method achieves state-of-the-art performance on three standard multi-source UDA benchmarks by jointly optimizing interpolated cross-entropy and contrastive losses on mixed source samples.

ABSTRACT

Multi-Source Unsupervised Domain Adaptation (multi-source UDA) aims to learn a model from several labeled source domains while performing well on a different target domain where only unlabeled data are available at training time. To align source and target features distributions, several recent works use source and target explicit statistics matching such as features moments or class centroids. Yet, these approaches do not guarantee class conditional distributions alignment across domains. In this work, we propose a new framework called Contrastive Multi-Source Domain Adaptation (CMSDA) for multi-source UDA that addresses this limitation. Discriminative features are learned from interpolated source examples via cross entropy minimization and from target examples via consistency regularization and hard pseudo-labeling. Simultaneously, interpolated source examples are leveraged to align source class conditional distributions through an interpolated version of the supervised contrastive loss. This alignment leads to more general and transferable features which further improves the generalization on the target domain. Extensive experiments have been carried out on three standard multi-source UDA datasets where our method reports state-of-the-art results.

Motivation & Objective

  • To address the limitation of existing multi-source UDA methods that fail to align class-conditional distributions across domains, leading to poor generalization under large domain shift.
  • To improve feature transferability by explicitly aligning source domain class-conditional distributions using an interpolated variant of supervised contrastive loss.
  • To enhance robustness and generalization on the target domain through consistency regularization and hard pseudo-labeling on unlabeled target data.
  • To leverage MixUp-style data augmentation on source domains to improve feature diversity and model calibration.

Proposed method

  • The framework uses interpolated source examples via MixUp to create mixed training samples, which are used to compute both standard cross-entropy and an interpolated version of the supervised contrastive loss.
  • Supervised contrastive loss is applied to interpolated source samples to encourage feature clustering within the same class across different source domains, improving class-conditional distribution alignment.
  • For the target domain, consistency regularization is applied to the same model with different augmentations, and only high-confidence pseudo-labeled examples (above a threshold τ) are used in the unsupervised loss.
  • The final objective combines supervised cross-entropy on labeled source data, interpolated contrastive loss on mixed source samples, and a consistency regularized unsupervised loss on unlabeled target data with hard pseudo-labeling.
  • A temperature hyperparameter T is used in the contrastive loss to balance uniformity and tolerance of features, with T=0.1 found to yield optimal performance.
  • The model is trained end-to-end using a joint objective that ensures discriminative feature learning on sources and domain-invariant adaptation on the target.

Experimental results

Research questions

  • RQ1Can supervised contrastive learning be effectively extended to multi-source domain adaptation to align class-conditional distributions across different source domains?
  • RQ2How does interpolating source examples via MixUp improve the generalization and robustness of domain adaptation models?
  • RQ3What is the optimal balance between uniformity and tolerance in the contrastive loss for multi-source UDA, and how does temperature T affect performance?
  • RQ4How does the choice of confidence threshold τ in pseudo-labeling impact the stability and accuracy of target domain adaptation?
  • RQ5Can the combination of contrastive learning and consistency regularization lead to state-of-the-art results in multi-source UDA under large domain shift?

Key findings

  • CMSDA achieves state-of-the-art performance on three standard multi-source UDA benchmarks: MiniDomainNet, Office-Home, and VisDA-2017.
  • On MiniDomainNet, the method achieves an average accuracy of 87.4% across all target domains, surpassing previous SOTA methods.
  • The ablation study shows that using interpolated contrastive loss significantly improves performance, especially when domain shift is large.
  • The optimal temperature T for the contrastive loss is found to be 0.1, balancing feature uniformity and class tolerance.
  • The confidence threshold τ=0.95 yields the best trade-off between using informative pseudo-labels and avoiding noisy ones, with performance dropping for τ > 0.95 or τ < 0.9.
  • The model shows robustness to negative transfer, maintaining high performance even when source domains are highly diverse or multimodal.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.