Skip to main content
QUICK REVIEW

[Paper Review] DINE: Domain Adaptation from Single and Multiple Black-box Predictors

Jian Liang, Dapeng Hu|arXiv (Cornell University)|Apr 4, 2021
Domain Adaptation and Few-Shot LearningComputer Science83 references7 citations
TL;DR

This paper proposes DINE, a novel two-step domain adaptation framework that enables knowledge distillation from single or multiple black-box source predictors—without access to raw data or model weights—by using adaptive label smoothing and structural regularizations (interpolation consistency and mutual information maximization) followed by fine-tuning on target data alone. DINE achieves state-of-the-art performance across single-source, multi-source, and partial-set UDA settings, even when adapting large source models like Vision Transformers to lightweight target networks.

ABSTRACT

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/}.

Motivation & Objective

  • To address unsupervised domain adaptation (UDA) in a realistic setting where only black-box source model predictions are available, avoiding raw data and model weight access.
  • To overcome privacy risks from data leakage in existing methods that rely on white-box models or adversarial training.
  • To enable effective adaptation even when source and target networks differ, supporting low-resource deployment.
  • To develop a method that leverages structural information in target data without requiring labeled target samples.
  • To achieve competitive performance across diverse UDA scenarios, including single-source, multi-source, and partial-set adaptation.

Proposed method

  • Proposes a two-step framework: first distilling knowledge from black-box source predictions into a target model using adaptive label smoothing to handle truncated or partial outputs.
  • Introduces an adaptive label smoothing (AdaLS) technique that preserves the top-1 soft-max probability and redistributes the rest equally to reduce noise and improve generalization.
  • Incorporates interpolation consistency training (ICT) as a structural regularization to enforce consistency in predictions for interpolated samples.
  • Applies mutual information maximization to increase diversity in target predictions, enhancing robustness and generalization.
  • Performs end-to-end fine-tuning on unlabeled target data using a contrastive objective to better align the model with the target data distribution.
  • Extends the framework to multi-source UDA by aggregating predictions from multiple source predictors using weighted averaging or ensemble strategies.

Experimental results

Research questions

  • RQ1Can effective domain adaptation be achieved using only black-box model predictions, without access to raw source data or model parameters?
  • RQ2How can knowledge be effectively distilled from incomplete or truncated source predictions (e.g., top-k soft labels)?
  • RQ3What structural regularizations can improve distillation performance when no labeled target data is available?
  • RQ4Does the proposed method maintain strong performance when the target network is significantly smaller than the source network?
  • RQ5Can the framework generalize across diverse UDA settings, including single-source, multi-source, and partial-set adaptation?

Key findings

  • DINE achieves state-of-the-art performance on standard UDA benchmarks, with a 74.1% average accuracy on the Office-Home dataset using ResNet-50 as the target backbone.
  • The ablation study confirms that both interpolation consistency (L_im) and mixup regularization (L_mix) are essential, as removing either leads to a drop in performance by 1.5–2.0 percentage points.
  • The adaptive label smoothing (AdaLS) technique outperforms both one-hot encoding and vanilla label smoothing, especially when only the top-1 prediction is available.
  • DINE maintains strong performance even when the target model is small (e.g., ResNet-18 or MobileNet-v2), achieving 72.2% accuracy on Office-Home with ViT as the source model.
  • The fine-tuning step significantly improves performance across all settings, demonstrating its critical role in aligning the distilled model with the target domain.
  • The method is robust to hyperparameter choices, with stable performance around β=1.0 and γ=0.6, and converges reliably during training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.