Abstract
This paper introduces Class-Incremental Unsupervised Domain Adaptation (CI-UDA), a novel and realistic machine learning setting where a model must sequentially adapt to new unlabeled target classes without forgetting previously learned ones. To address this, we propose Prototype-guided Continual Adaptation (ProCA). ProCA identifies target class prototypes using cumulative prediction probabilities and leverages them for both domain alignment and knowledge replay, effectively mitigating catastrophic forgetting while bridging the domain gap.
Introduction
Standard Unsupervised Domain Adaptation (UDA) typically assumes that all unlabeled target data is available simultaneously. However, real-world applications often involve streaming data where target classes appear incrementally. This paper identifies the Class-Incremental Unsupervised Domain Adaptation (CI-UDA) task, which presents two major challenges: inconsistent label spaces between source and target at any given time, and catastrophic forgetting of previous target classes as the model adapts to new ones.
The ProCA Framework
The proposed ProCA method addresses CI-UDA through a unified framework that identifies and utilizes class prototypes for adaptation and retention.
Label Prototype Identification
Since target data is unlabeled, ProCA must first determine which classes are present in the current stream. The authors observe that "cumulative prediction probability"—the sum of model confidence for a specific class across a batch—is significantly higher for classes present in the data. By applying a threshold to these normalized probabilities, ProCA identifies "shared" classes and stores representative "image prototypes" in a memory bank.
Prototype-based Alignment and Replay
With identified prototypes, the model performs two simultaneous updates:
- Domain Alignment: A supervised contrastive loss pulls target prototype features toward the centers of corresponding labeled source classes, bridging the domain gap (e.g., aligning real photos with sketches).
- Knowledge Replay: To prevent forgetting, knowledge distillation ensures that the model’s predictions on prototypes from previous steps remain consistent as it learns new classes.
Experimental Evaluation
The authors evaluated ProCA on three new CI variants of standard UDA benchmarks: Office-31-CI, Office-Home-CI, and the large-scale ImageNet-Caltech-CI.
Key Results
ProCA significantly outperforms existing baselines across all benchmarks:
- Office-Home-CI: ProCA achieved 68.9% average final accuracy, compared to 47.5% for the best baseline (CIDA).
- ImageNet-Caltech-CI: ProCA maintained 83.0% accuracy, while standard UDA methods like DANN dropped to 45.1% due to incremental complexity.
- Ablation Studies: Results confirmed that both alignment and distillation losses are critical; removing either leads to substantial performance degradation.
Discussion and Conclusion
ProCA demonstrates that model confidence can be effectively repurposed as a filter for class discovery in unlabeled streams. By using prototypes as a "multi-tool" for both alignment and memory, the framework handles domain shift and temporal forgetting simultaneously.
While effective, ProCA's initial class detection depends on the quality of the pre-trained source model. Future work may explore scenarios with "private" target classes (Open-set CI-UDA) and address memory constraints in extremely large-scale class settings.
Summary updated