[Paper Review] Distill and Fine-tune: Effective Adaptation from a Black-box Source Model
This paper proposes Dis-tune, a two-step unsupervised domain adaptation framework that distills knowledge from a black-box source model (only predictions available) into a target model and then fine-tunes it on unlabeled target data. It achieves state-of-the-art performance in both closed-set and partial-set UDA settings without requiring raw source data or risking data leakage.
To alleviate the burden of labeling, unsupervised domain adaptation (UDA) aims to transfer knowledge in previous related labeled datasets (source) 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 instead of the raw data from the source domain, however, it may leak the raw data through generative adversarial training. This paper studies a practical and interesting setting for UDA, where only a black-box source model (i.e., only network predictions are available) is provided during adaptation in the target domain. Besides, different neural networks are even allowed to be employed for different domains. For this new problem, we propose a novel two-step adaptation framework called Distill and Fine-tune (Dis-tune). Specifically, Dis-tune first structurally distills the knowledge from the source model to a customized target model, then unsupervisedly fine-tunes the distilled model to fit the target domain. To verify the effectiveness, we consider two UDA scenarios (\ie, closed-set and partial-set), and discover that Dis-tune achieves highly competitive performance to state-of-the-art approaches.
Motivation & Objective
- Address privacy concerns in unsupervised domain adaptation (UDA) by eliminating the need for raw source data access.
- Enable effective adaptation when only a black-box source model’s predictions are available, not the underlying data or model weights.
- Develop a flexible framework that allows different neural architectures for source and target domains.
- Achieve competitive performance in UDA under both closed-set and partial-set adaptation scenarios.
Proposed method
- First, perform structural knowledge distillation from the black-box source model to a newly initialized target model using soft labels from the source predictions.
- Use a student-teacher distillation objective to transfer the source model’s predictive behavior to the target model.
- Then, apply unsupervised fine-tuning on the distilled target model using only unlabeled target data.
- Apply a consistency regularization loss during fine-tuning to improve robustness and generalization on the target domain.
- Allow the use of different neural network architectures for the source and target domains, enhancing flexibility.
- Train the distilled model end-to-end in a two-stage pipeline: distillation followed by self-supervised fine-tuning.
Experimental results
Research questions
- RQ1Can effective domain adaptation be achieved when only the predictions of a black-box source model are available, without access to raw data or model weights?
- RQ2How does the proposed two-stage distillation and fine-tuning framework compare to existing data-dependent or white-box model-based UDA methods in terms of performance and privacy?
- RQ3Does the framework maintain strong performance under both closed-set and partial-set UDA settings?
- RQ4Can different neural architectures be used for source and target domains without degrading adaptation performance?
Key findings
- Dis-tune achieves highly competitive performance compared to state-of-the-art UDA methods in both closed-set and partial-set adaptation scenarios.
- The framework effectively transfers knowledge from a black-box source model without requiring raw source data, mitigating privacy risks.
- The two-stage distillation and fine-tuning pipeline significantly improves adaptation performance over baseline distillation or fine-tuning alone.
- The method remains effective even when different neural network architectures are used for source and target domains.
- The approach avoids data leakage risks associated with white-box model access, such as those from generative adversarial training.
- Empirical results demonstrate strong generalization across diverse UDA benchmarks under practical constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.