Class Relationship Embedded Learning for Source-Free Unsupervised Domain Adaptation

Y. Zhang, Zilei Wang, Wei He
2/14/2026

No official code found. Best implementation: MattiaLitrico/Guiding-Pseudo-labels-with-Uncertainty-Estimation-for-Source-free-Unsupervised-Domain-Adaptation (103 stars, last commit 2026-01-08). 1 more below.

Abstract

This work focuses on a practical knowledge transfer task defined as Source-Free Unsupervised Domain Adaptation (SFUDA), where only a well-trained source model and unlabeled target data are available. To fully utilize source knowledge, we propose to transfer the class relationship, which is domain-invariant but still under-explored in previous works. To this end, we first regard the classifier weights of the source model as class prototypes to compute class relationship, and then propose a novel probability-based similarity between target-domain samples by embedding the source-domain class relationship, resulting in Class Relationship embedded Similarity (CRS). Here the inter-class term is particularly considered in order to more accurately represent the similarity between two samples, in which the source prior of class relationship is utilized by weighting. Finally, we propose to embed CRS into contrastive learning in a unified form. Here both class-aware and instance discrimination contrastive losses are employed, which are complementary to each other. We combine the proposed method with existing representative methods to evaluate its efficacy in multiple SFUDA settings. Extensive experimental results reveal that our method can achieve state-of-the-art performance due to the transfer of domain-invariant class relationship. 11Code is available at https://github.com/zhyx12/CRCo

DOISemantic Scholar

Code Implementations(2)

valeoai/TTYDCommunity74%

Public repository for the ECCV 2024 paper "Train Till You Drop: Towards Stable and Robust Source-free Unsupervised 3D Domain Adaptation".

281Python, Jupyter NotebookSep 8, 20241 years ago

Code for "Guiding-Pseudo-labels-with-Uncertainty-Estimation-for-Source-free-Unsupervised-Domain-Adaptation" (CVPR 2023)

10311Shell, PythonOct 27, 20229 months ago

Similar Papers

Cite this paper

@article{zhang2026class,
  title  = {Class Relationship Embedded Learning for Source-Free Unsupervised Domain Adaptation},
  author = {Y. Zhang and Zilei Wang and Wei He},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.00736},
  url    = {https://doi.org/10.1109/CVPR52729.2023.00736},
  journal = {CVPR 2023 2023}
}

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/624eedc48b72a4cff05106bb9dabc8c72a13d83d.svg)](https://codeofpaper.com/paper/624eedc48b72a4cff05106bb9dabc8c72a13d83d)

Discussion