Learn from the Learnt: Source-Free Active Domain Adaptation via Contrastive Sampling and Visual Persistence

Mengyao Lyu, Tianxiang Hao, Xinhao Xu, Hui Chen, Zijia Lin, Jungong Han, Guiguang Ding

Introduction

In the deployment of machine learning models, "domain shift" remains a significant hurdle. A model trained on synthetic 3D renders (the Source domain) often fails when applied to real-world photographs (the Target domain). While Domain Adaptation (DA) techniques aim to bridge this gap, modern industrial and regulatory environments introduce two critical constraints: the lack of access to original source data due to privacy (Source-Free) and a strictly limited budget for manual labeling (Active Learning).

Existing approaches to Source-Free Active Domain Adaptation (SFADA) are frequently hindered by immense computational overhead, often requiring complex adversarial training or exhaustive clustering. Furthermore, these models often suffer from "knowledge drift," where the model forgets the foundational features learned from the source as it overfits to a small set of target labels. This paper introduces Learn from the Learnt (LFTL), a framework designed to achieve state-of-the-art accuracy with significantly reduced computational costs by leveraging the model's own training history.

Methodology

The LFTL framework is built upon the philosophy that a model's previous iterations are its best reference points in the absence of source data. It consists of two primary components: Contrastive Active Sampling and Visual Persistence-guided Adaptation.

Contrastive Active Sampling (CAS)

Traditional active learning often selects samples based on simple uncertainty metrics. However, in a source-free environment, uncertainty alone can be misleading. CAS improves upon this by comparing the current model’s hypotheses against predictions from the previous round of active learning. By identifying samples where the model's understanding remains stagnant or "persistently challenging," CAS ensures the labeling budget is spent on the most informative data points rather than redundant samples the model has already effectively grasped.

Visual Persistence-guided Adaptation (VPA)

To combat the issue of forgetting source-trained knowledge, LFTL implements a "persistence vault." This mechanism uses labeled target samples as stable "anchors" within the feature space. These anchors are updated using a momentum-based approach (Exponential Moving Average), ensuring that the visual representations derived from the source are preserved. This stable framework guides the alignment of unlabeled target data, effectively pulling the entire target distribution into a coherent, domain-invariant structure.

Experimental Evaluation

The researchers evaluated LFTL across three standard domain adaptation benchmarks to test its versatility and scaling:

  • VisDA-C: A large-scale synthetic-to-real dataset featuring 12 categories and over 200,000 total images.
  • Office-Home: A medium-sized dataset comprising 65 categories across four distinct domains (Artistic, Clip Art, Product, and Real-World).
  • Office-31: A classic benchmark with 31 categories representing common office objects across different capture environments.

Key Results and Insights

State-of-the-Art Accuracy

On the VisDA-C benchmark, LFTL achieved an impressive 87.4% accuracy with only a 1% annotation budget. Notably, this performance surpassed several previous active domain adaptation methods that required full access to source data, demonstrating that LFTL can effectively substitute source data with its own internal history.

Unprecedented Efficiency

One of the most significant contributions of LFTL is its speed. By avoiding the intricate adversarial designs and neighbor searches common in other SOTA methods, LFTL is approximately 17 times faster than LADA (the previous state-of-the-art). On the VisDA-C dataset, the entire query-and-adaptation cycle was completed in just 0.3 hours, compared to 5.8 hours for SHOT++.

Robustness to Budget Scaling

Unlike competing methods that often plateau early, LFTL showed consistent performance gains as the annotation budget increased from 1% to 20%. This suggests that the framework is highly robust for long-term deployment where additional labels might be acquired incrementally over time.

Conclusion and Future Work

LFTL demonstrates that the iterative nature of active learning can be a feature rather than a burden. By treating the model as its own reference point, the framework achieves high-performance adaptation without the need for source data or heavy computation.

While LFTL is highly efficient, the authors note that direct source supervision still provides a marginal advantage on smaller datasets like Office-31. Future research will focus on applying the "Learn from the Learnt" philosophy to Open-Set domain adaptation—where the target domain may contain entirely new categories—and integrating the framework with large-scale vision-language models to further minimize the need for manual human intervention.

Summary updated

BibTeX
@inproceedings{lyu2024learn,
  author = {Mengyao Lyu and Tianxiang Hao and Xinhao Xu and Hui Chen and Zijia Lin and Jungong Han and Guiguang Ding},
  title = {{Learn from the Learnt: Source-Free Active Domain Adaptation via Contrastive Sampling and Visual Persistence}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73232-4\_13},
}
Figure