A Comparison of Strategies for Source-Free Domain Adaptation

Xin Su, Yiyun Zhao, Steven Bethard

Abstract

Adapting NLP models to new domains without access to original training data is a critical challenge in privacy-sensitive fields like healthcare. This study systematically evaluates Source-Free Domain Adaptation (SFDA) strategies, comparing Active Learning, Self-Training, and Data Augmentation across negation detection and time expression recognition tasks. Our findings indicate that Active Learning with a minimal annotation budget consistently outperforms automated methods and can even surpass full-data fine-tuning by mitigating catastrophic forgetting.

Introduction

In specialized domains such as clinical medicine, data privacy regulations often prevent the sharing of raw training datasets. While high-performing models can be distributed, adapting these "black box" models to new institutional dialects or document types remains difficult without the original source data. This scenario, known as Source-Free Domain Adaptation (SFDA), requires models to adapt using only their internal weights and a limited amount of target-domain data.

While SFDA is well-studied in computer vision, its application in NLP has often relied on complex, multi-component pipelines that obscure the effectiveness of individual strategies. This paper provides a controlled comparison of three primary approaches: Active Learning (AL), Self-Training (ST), and Data Augmentation (DA).

Methodology and Experimental Setup

The researchers evaluated these strategies across two high-shift tasks where performance typically drops by over 15 F1 points during domain transfer:

  1. Negation Detection: Identifying negated medical events (Source: SHARP Seed; Target: i2b2 2010, MIMIC III).
  2. Time Expression Recognition: Identifying temporal entities (Source: Clinical notes; Target: News articles, Food security reports).

Three core adaptation strategies were tested:

  • Active Learning (AL): Selecting the most uncertain target sentences for human labeling (budget: 96 sentences).
  • Self-Training (ST): Using high-confidence model predictions as pseudo-labels for retraining.
  • Data Augmentation (DA): Generating synthetic examples via target-domain word swapping.

The study also investigated "training hygiene" configurations: KeepModel vs. ResetModel (continuing training vs. restarting from source weights) and KeepData vs. ResetData (accumulating vs. refreshing training batches).

Comparative Performance Analysis

The results demonstrate a clear hierarchy of effectiveness among SFDA strategies. Active Learning emerged as the most robust method, consistently providing gains across all domains.

Performance metrics for Negation Detection tasks across various SFDA strategies. Note the catastrophic failure of certain Data Augmentation configurations on MIMIC-III.

The Superiority of Active Learning

With a tiny budget of just 96 annotated sentences, the best AL configuration (KeepModel + KeepData) improved performance by an average of 5.4 F1 points over the baseline. Notably, in the Time Expression task (News domain), the AL model achieved an F1 of 0.861, surpassing the "Oracle" model (0.844) which was fine-tuned on the entire labeled target dataset. This suggests that targeted human intervention helps the model adapt while preserving essential source-domain knowledge, thereby avoiding the "catastrophic forgetting" often seen in full fine-tuning.

Performance metrics for Time Expression Recognition tasks. The AL (12x8) + KeepModel + KeepData strategy (Row 8) outperforms the Oracle (Row 2) in the News domain.

Risks of Automated Approaches

In contrast, automated methods proved unreliable:

  • Self-Training: Often reinforced existing model biases. If the initial model was confidently incorrect, self-training amplified these errors rather than correcting them.
  • Data Augmentation: Proved highly volatile. As seen in the Negation results (Figure 3, rows 21-24), certain DA configurations caused performance to collapse entirely (F1 = 0.000) on the MIMIC-III dataset. Without source data to anchor the learning process, noisy synthetic data can lead to divergent training.

Conclusion

This systematic comparison highlights that human-in-the-loop strategies like Active Learning are currently the most reliable path for Source-Free Domain Adaptation in NLP. While automated self-training and data augmentation offer the allure of zero-human-effort adaptation, their tendency to amplify errors or cause model collapse makes them risky in high-stakes domains like clinical informatics. Future research should explore hybrid approaches that use small amounts of active learning to stabilize and guide automated adaptation processes.

Summary updated

BibTeX
@inproceedings{su2022comparison,
  author = {Xin Su and Yiyun Zhao and Steven Bethard},
  title = {{A Comparison of Strategies for Source-Free Domain Adaptation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.572},
}
Figure