Class-Incremental Domain Adaptation

Jogendra Nath Kundu, Rahul Mysore Venkatesh, Naveen Venkat, Ambareesh Revanur, R. Venkatesh BabuECCV 2020

Abstract

We introduce a practical Domain Adaptation (DA) paradigm called Class-Incremental Domain Adaptation (CIDA). Existing DA methods tackle domain-shift but are unsuitable for learning novel target-domain classes. Meanwhile, class-incremental (CI) methods enable learning of new classes in absence of source training data, but fail under a domain-shift without labeled supervision. In this work, we effectively identify the limitations of these approaches in the CIDA paradigm. Motivated by theoretical and empirical observations, we propose an effective method, inspired by prototypical networks, that enables classification of target samples into both shared and novel (one-shot) target classes, even under a domain-shift. Our approach yields superior performance as compared to both DA and CI methods in the CIDA paradigm.

Introduction

In real-world AI deployment, models often face a dual challenge: adapting to a new environment (domain shift) and learning entirely new object categories (class-incremental learning). Traditional Unsupervised Domain Adaptation (UDA) focuses on the visual shift but typically assumes a fixed label set, often grouping all unseen objects into a single "unknown" category. Conversely, Class-Incremental (CI) learning focuses on adding new classes but assumes the visual environment remains static.

We propose Class-Incremental Domain Adaptation (CIDA) to bridge this gap. CIDA requires a model to adapt to target-domain shifts while simultaneously learning novel target-private classes using only a single labeled example per new class (one-shot). Crucially, this is performed in a source-free manner, preserving privacy and reducing resource overhead.

Comparison of Closed-Set DA, Open-Set DA, and the proposed Class-Incremental DA (CIDA) paradigm.

Proposed Methodology

Our framework consists of a two-stage approach designed to prepare the model for future upgrades and then execute the adaptation.

1. Foresighted Source-Model Training

The first stage prepares the source model to be "aware" of potential future classes. Instead of standard linear classifiers, we model each class as a multivariate Gaussian distribution in the latent space. To create "room" for future classes, we employ Negative Training, explicitly generating feature samples from low-density regions of the latent space. This encourages the model to assign low confidence to out-of-distribution (OOD) samples, resulting in tight decision boundaries.

2. Class-Incremental DA on Target Domain

During the adaptation phase, the model utilizes unlabeled target data and one-shot labeled samples for new classes. We introduce "trainable guides" (centroids) in a target-specific latent space ($V$-space). These guides, initialized from the source but allowed to adapt, steer target features into compact, distinct clusters. To prevent catastrophic forgetting, we use small "transit" networks ($f_e$ and $f_d$) to map between the source and target latent spaces, maintaining knowledge of the original shared classes.

The proposed two-stage framework: (A) Foresighted source-model training and (B) Class-Incremental DA on the target domain.

Experimental Evaluation

We evaluated our approach on three standard benchmarks: Office (Amazon, DSLR, Webcam), VisDA (Synthetic to Real), and Digits (MNIST, SVHN, USPS). Classes were split into "shared" and "target-private" categories to simulate the CIDA setting.

Key Results

  • Performance: Our method significantly outperformed existing UDA and CI baselines. For instance, on the Office dataset (Amazon $\rightarrow$ DSLR), we achieved 72.2% overall accuracy, compared to ~57% for top UDA methods adapted for CIDA.
  • One-Shot Efficiency: The model successfully learned novel target classes with only a single labeled sample while maintaining high accuracy on shared classes.
  • Ablation Insights: Removing the trainable guides or the domain projection networks resulted in a consistent performance drop, confirming the importance of these components in mitigating forgetting and aligning domains.

Conclusion

CIDA represents a more realistic paradigm for evolving AI systems. By combining foresighted training with target-specific latent space adaptation, our method effectively handles both domain shift and class incrementality. Future work will explore fully unsupervised discovery of new categories and extending this framework to continuous lifelong learning scenarios.

Summary updated

BibTeX
@inproceedings{kundu2020class,
  author = {Jogendra Nath Kundu and Rahul Mysore Venkatesh and Naveen Venkat and Ambareesh Revanur and R. Venkatesh Babu},
  title = {{Class-Incremental Domain Adaptation}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  url = {https://openreview.net/forum?id=Qpkrp0K2L0hi},
}
Figure