Papers › DINE: Domain Adaptation from Single and Multiple Black-box Predictors

DINE: Domain Adaptation from Single and Multiple Black-box Predictors

4 Apr 2021CVPR 2022 1arXiv:2104.01539archive 2025-07-28

Jian Liang, Dapeng Hu, Jiashi Feng, Ran He

To ease the burden of labeling, unsupervised domain adaptation (UDA) aims to transfer knowledge in previous and related labeled datasets (sources) to a new unlabeled dataset (target). Despite impressive progress, prior methods always need to access the raw source data and develop data-dependent alignment approaches to recognize the target samples in a transductive learning manner, which may raise privacy concerns from source individuals. Several recent studies resort to an alternative solution by exploiting the well-trained white-box model from the source domain, yet, it may still leak the raw data through generative adversarial learning. This paper studies a practical and interesting setting for UDA, where only black-box source models (i.e., only network predictions are available) are provided during adaptation in the target domain. To solve this problem, we propose a new two-step knowledge adaptation framework called DIstill and fine-tuNE (DINE). Taking into consideration the target data structure, DINE first distills the knowledge from the source predictor to a customized target model, then fine-tunes the distilled model to further fit the target domain. Besides, neural networks are not required to be identical across domains in DINE, even allowing effective adaptation on a low-resource device. Empirical results on three UDA scenarios (i.e., single-source, multi-source, and partial-set) confirm that DINE achieves highly competitive performance compared to state-of-the-art data-dependent approaches. Code is available at \url{https://github.com/tim-learn/DINE/}.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2104.01539")

Code

Syntology Ran 10 of 13 code samples harvested from 3 repositories linked to this paper; 3 have no recorded run. Of those that ran: 3 ran · honoured contract; 7 ran · our draft was wrong.

By repository: official repository: 8 samples from 2 repositories, 7 ran; community (archive-listed): 5 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

tim-learn/Dis-tune officialmentioned in papermentioned on GitHubpytorchMIT report
tim-learn/dine officialmentioned in papermentioned on GitHubpytorchMIT report
tim-learn/SHOT mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 10 ran; 3 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

3ran · honoured contract
7ran · our draft was wrong
3unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Entropy tim-learn/Dis-tune/loss.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 94b5622f0aa7add1 · report
image_train tim-learn/Dis-tune/DINE_dist.py official repository ran · our draft was wrong MIT (permissive) · 35c2d572ebd185f5 · report
l_loader tim-learn/Dis-tune/data_list.py official repository ran · honoured contract MIT (permissive) · edd7184ac144c4fa · report
lr_scheduler tim-learn/Dis-tune/DINE_dist.py official repository ran · our draft was wrong MIT (permissive) · 0b7ffc9f8b77529c · report
lr_scheduler tim-learn/dine/DINE_ft.py official repository ran · our draft was wrong MIT (permissive) · 8bd136d4257e40ea · report
op_copy tim-learn/Dis-tune/DINE_dist.py official repository ran · our draft was wrong MIT (permissive) · 93a11f62e4a129f0 · report
rgb_loader tim-learn/Dis-tune/data_list.py official repository ran · honoured contract MIT (permissive) · 2c5ce24ea2b5d2a4 · report
make_dataset tim-learn/Dis-tune/data_list.py official repository unverified MIT (permissive) · 2301055cb33836bc · report
Entropy tim-learn/SHOT/digit/loss.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 866722884763b224 · report
grl_hook tim-learn/SHOT/object/loss.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 9768efb52f591b55 · report
image_test tim-learn/SHOT/object/image_multisource.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 6e4265b7f707b718 · report
CDAN tim-learn/SHOT/object/loss.py community (archive-listed) unverified MIT (permissive) · 385d1e010dfb76a9 · report
calc_coeff tim-learn/SHOT/object/network.py community (archive-listed) unverified MIT (permissive) · e352afa5762c5a6b · report

Tasks

Domain AdaptationTransductive LearningUnsupervised Domain Adaptation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections