Abstract
The prime challenge in unsupervised domain adaptation (DA) is to mitigate the domain shift between the source and target domains. Prior DA works show that pretext tasks could be used to mitigate this domain shift by learning domain invariant representations. However, in practice, we find that most existing pretext tasks are ineffective against other established techniques. Thus, we theoretically analyze how and when a subsidiary pretext task could be leveraged to assist the goal task of a given DA problem and develop objective subsidiary task suitability criteria. Based on this criteria, we devise a novel process of sticker intervention and cast sticker classification as a supervised subsidiary DA problem concurrent to the goal task unsupervised DA. Our approach not only improves goal task adaptation performance, but also facilitates privacy-oriented source-free DA i.e. without concurrent source-target access. Experiments on the standard Office-31, Office-Home, DomainNet, and VisDA benchmarks demonstrate our superiority for both single-source and multi-source source-free DA. Our approach also complements existing non-source-free works, achieving leading performance.
Introduction
Deep learning models often suffer from performance degradation when deployed in environments (target domains) that differ from their training data (source domains). This "domain shift" is typically addressed through Unsupervised Domain Adaptation (DA), which utilizes unlabeled target data. However, modern privacy constraints and data scale often necessitate Source-Free Domain Adaptation (SFDA), where the original source data is unavailable during adaptation.
While pretext tasks (e.g., rotation prediction) are common in DA, many existing tasks fail to improve performance or even degrade it by altering the domain context too drastically. This paper introduces a theoretical framework to evaluate subsidiary tasks and proposes a novel "sticker intervention" method to achieve robust source-free adaptation.
Methodology: Concurrent Subsidiary Supervision
The core of the proposed method is Concurrent Subsidiary Supervision, where a secondary supervised task is trained alongside the primary goal task.
Subsidiary Task Suitability Criteria
To identify effective subsidiary tasks, the authors propose two key metrics:
- Subsidiary-Domain Similarity Metric (DSM): Quantifies how well the intervention preserves the original domain information.
- Subsidiary-Task Similarity Metric (TSM): Measures the relevance of the secondary task to the primary goal task.
Analysis reveals that many traditional self-supervised tasks (like Jigsaw or global rotation) fall short on these metrics. In contrast, local interventions like stickers maintain high domain preservation while providing strong supervised signals.
Sticker Intervention
The "sticker intervention" involves pasting small symbols (stickers) with randomized textures and scales onto images. Three subsidiary tasks are explored: sticker location, sticker rotation, and sticker classification.
Sticker classification, in particular, hits the "sweet spot" for adaptation. By including an Out-of-Source (OOS) node in the sticker classifier, the model learns to implicitly align target features with source features, acting as a domain discriminator without requiring direct access to source data.
Experimental Results
The approach was evaluated on standard benchmarks including Office-31, Office-Home, DomainNet, and VisDA.
- Office-Home: The method achieved a state-of-the-art average accuracy of 74.0%, surpassing SHOT++ (73.0%).
- Multi-Source DA: On the diverse DomainNet dataset, it outperformed existing source-free methods by 2.2%.
- Convergence: The sticker-based approach demonstrates faster and more stable convergence compared to prior methods, reaching peak performance with fewer iterations.
Conclusion
This work demonstrates that carefully chosen subsidiary tasks can significantly enhance source-free domain adaptation. By moving from global image transformations to local sticker interventions, models can learn domain-invariant features more effectively. While currently heuristic in sticker design, future work may automate the selection of optimal subsidiary tasks for specific domains and more complex vision tasks like segmentation.
Summary updated