GLC++: Source-Free Universal Domain Adaptation through Global-Local Clustering and Contrastive Affinity Learning

Sanqing Qu, Tianpei Zou, Florian Röhrbein, Cewu Lu, Guang Chen +2 more
3/21/2024
cs.CVcs.AIcs.LG

Official code: ispc-lab/GLC (31 stars, last commit 2025-04-27). 1 more implementation below.

Abstract

Deep neural networks often exhibit sub-optimal performance under covariate and category shifts. Source-Free Domain Adaptation (SFDA) presents a promising solution to this dilemma, yet most SFDA approaches are restricted to closed-set scenarios. In this paper, we explore Source-Free Universal Domain Adaptation (SF-UniDA) aiming to accurately classify "known" data belonging to common categories and segregate them from target-private "unknown" data. We propose a novel Global and Local Clustering (GLC) technique, which comprises an adaptive one-vs-all global clustering algorithm to discern between target classes, complemented by a local k-NN clustering strategy to mitigate negative transfer. Despite the effectiveness, the inherent closed-set source architecture leads to uniform treatment of "unknown" data, impeding the identification of distinct "unknown" categories. To address this, we evolve GLC to GLC++, integrating a contrastive affinity learning strategy. We examine the superiority of GLC and GLC++ across multiple benchmarks and category shift scenarios. Remarkably, in the most challenging open-partial-set scenarios, GLC and GLC++ surpass GATE by 16.8\% and 18.9\% in H-score on VisDA, respectively. GLC++ enhances the novel category clustering accuracy of GLC by 4.1\% in open-set scenarios on Office-Home. Furthermore, the introduced contrastive learning strategy not only enhances GLC but also significantly facilitates existing methodologies. The code is available at https://github.com/ispc-lab/GLC-plus.

View on arXivView PDF

Code Implementations(2)

ispc-lab/GLCOfficial100%

[CVPR 2023] The official repository of our paper "Upcycling Models under Domain and Category Shift"

312Shell, PythonMar 10, 20231 years ago
domain-adaptationsource-free-domain-adaptationtransfer-learninguniversal-domain-adaptation
ispc-lab/GLC-plusOfficial100%
111Shell, PythonMar 21, 20241 years ago

Similar Papers

Cite this paper

@article{qu2024glc,
  title  = {GLC++: Source-Free Universal Domain Adaptation through Global-Local Clustering and Contrastive Affinity Learning},
  author = {Sanqing Qu and Tianpei Zou and Florian Röhrbein and Cewu Lu and Guang Chen and Dacheng Tao and Changjun Jiang},
  year   = {2024},
  eprint = {2403.14410},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.14410v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.14410.svg)](https://codeofpaper.com/paper/2403.14410)

Discussion