Skip to content

shinyflight/SFDA2

Repository files navigation

SF(DA)2: Source-free Domain Adaptation Through the Lens of Data Augmentation

overview

SF(DA)2: Source-free Domain Adaptation Through the Lens of Data Augmentation (ICLR 2024)
Uiwon Hwang, Jonghyun Kim, Juhyun Shin, Sungroh Yoon

Paper: https://openreview.net/forum?id=kUCgHbmO11

Abstract: In the face of the deep learning model's vulnerability to domain shift, source-free domain adaptation (SFDA) methods have been proposed to adapt models to new, unseen target domains without requiring access to source domain data. Although the potential benefits of applying data augmentation to SFDA are attractive, several challenges arise such as the dependence on prior knowledge of class-preserving transformations and the increase in memory and computational requirements. In this paper, we propose Source-free Domain Adaptation Through the Lens of Data Augmentation (SF(DA)2), a novel approach that leverages the benefits of data augmentation without suffering from these challenges. We construct an augmentation graph in the feature space of the pretrained model using the neighbor relationships between target features and propose spectral neighborhood clustering to identify partitions in the prediction space. Furthermore, we propose implicit feature augmentation and feature disentanglement as regularization loss functions that effectively utilize class semantic information within the feature space. These regularizers simulate the inclusion of an unlimited number of augmented target features into the augmentation graph while minimizing computational and memory demands. Our method shows superior adaptation performance in SFDA scenarios, including 2D image and 3D point cloud datasets and a highly imbalanced dataset.

Packages

We conducted experiments on the following versions of pakages:

  • cudatoolkit == 11.3.1

  • pytorch == 1.10.0

  • python == 3.8

Data Preparation

  • Please download the VisDA dataset and place in the path ./data/visda-2017.

Source Pretrained Model

  • We used the source pretrained model parameters provided in the github repository of SHOT.

Adaptation

  • VisDA: sh visda.sh

About

SF(DA)²: Source-free Domain Adaptation Through the Lens of Data Augmentation (ICLR 2024)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published