Divide and Contrast: Source-free Domain Adaptation via Adaptive Contrastive Learning

11/12/2022
by   Ziyi Zhang, et al.
0

We investigate a practical domain adaptation task, called source-free domain adaptation (SFUDA), where the source-pretrained model is adapted to the target domain without access to the source data. Existing techniques mainly leverage self-supervised pseudo labeling to achieve class-wise global alignment [1] or rely on local structure extraction that encourages feature consistency among neighborhoods [2]. While impressive progress has been made, both lines of methods have their own drawbacks - the "global" approach is sensitive to noisy labels while the "local" counterpart suffers from source bias. In this paper, we present Divide and Contrast (DaC), a new paradigm for SFUDA that strives to connect the good ends of both worlds while bypassing their limitations. Based on the prediction confidence of the source model, DaC divides the target data into source-like and target-specific samples, where either group of samples is treated with tailored goals under an adaptive contrastive learning framework. Specifically, the source-like samples are utilized for learning global class clustering thanks to their relatively clean labels. The more noisy target-specific data are harnessed at the instance level for learning the intrinsic local structures. We further align the source-like domain with the target-specific samples using a memory bank-based Maximum Mean Discrepancy (MMD) loss to reduce the distribution mismatch. Extensive experiments on VisDA, Office-Home, and the more challenging DomainNet have verified the superior performance of DaC over current state-of-the-art approaches. The code is available at https://github.com/ZyeZhang/DaC.git.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/14/2021

Transferrable Contrastive Learning for Visual Domain Adaptation

Self-supervised learning (SSL) has recently become the favorite among fe...
research
07/19/2023

Source-Free Domain Adaptation for Medical Image Segmentation via Prototype-Anchored Feature Alignment and Contrastive Learning

Unsupervised domain adaptation (UDA) has increasingly gained interests f...
research
01/20/2023

When Source-Free Domain Adaptation Meets Label Propagation

Source-free domain adaptation, where only a pre-trained source model is ...
research
10/08/2021

Exploiting the Intrinsic Neighborhood Structure for Source-free Domain Adaptation

Domain adaptation (DA) aims to alleviate the domain shift between source...
research
01/31/2023

Contrast and Clustering: Learning Neighborhood Pair Representation for Source-free Domain Adaptation

Domain adaptation has attracted a great deal of attention in the machine...
research
11/26/2021

Contrastive Vicinal Space for Unsupervised Domain Adaptation

Utilizing vicinal space between the source and target domains is one of ...
research
05/09/2022

Local Prediction Aggregation: A Frustratingly Easy Source-free Domain Adaptation Method

We propose a simple but effective source-free domain adaptation (SFDA) m...

Please sign up or login with your details

Forgot password? Click here to reset