Introduction
In machine learning, "domain shift" occurs when a model trained on a source dataset fails to generalize to a target dataset with a different underlying distribution. Unsupervised Domain Adaptation (UDA) seeks to mitigate this without requiring target labels. While traditional methods focus on aligning distributions or image-level augmentation, this paper proposes DIFA (Domain-Invariance + Feature Augmentation), which performs data augmentation directly in the feature space using Conditional GANs.
The DIFA Framework
The authors introduce a three-step training procedure to create a robust, domain-invariant model.
- Step 0: Source Training: A standard feature extractor ($E_s$) and classifier ($C$) are trained on labeled source data using cross-entropy loss.
- Step 1: Feature Generation: A Feature Generator ($S$) is trained within a Conditional GAN (CGAN) framework to produce synthetic feature vectors that mimic the distribution of $E_s$, conditioned on specific class labels.
- Step 2: Adversarial Alignment: A shared Domain-Invariant Encoder ($E_I$) is trained to map both source and target images into a feature space indistinguishable from the synthetic features generated by $S$.
Unlike previous methods like ADDA, which use separate encoders, DIFA utilizes a single shared encoder. This avoids "catastrophic forgetting" and leverages GANs to "inflate" the variety of features available during alignment, allowing the model to encounter a much richer distribution than the original source set.
Key Insights: Feature Space Augmentation
The core innovation lies in augmenting abstract representations rather than pixels. The authors observed that the generator $S$ does not merely memorize source features. For instance, in the SVHN dataset, while the original data contained approximately 70,000 unique activation patterns, the generator produced over 1,000,000 unique patterns. This massive augmentation helps the model explore the "concept space" of classes (e.g., the essence of a "3"), making it more robust to domain shifts and less prone to overfitting on limited source data.
Experimental Results
DIFA was evaluated on several standard benchmarks, including MNIST, USPS, SVHN, and the challenging NYUD (RGB to Depth) dataset.
The results demonstrate that DIFA consistently outperforms or matches state-of-the-art models:
- NYUD (RGB $\to$ Depth): This challenging task saw DIFA achieve 31.3% accuracy, a significant jump over the previous ADDA baseline of 21.1%.
- SVHN $\to$ MNIST: The method reached 89.7% accuracy, significantly higher than standard adversarial methods (73.9%).
- Ablation Study: Comparisons between Domain Invariance (DI) alone and DIFA confirmed that feature augmentation provides the critical boost necessary for state-of-the-art performance.
Conclusion
DIFA presents a powerful approach to UDA by shifting the focus of data augmentation to the feature space. By combining a shared encoder with a feature-generating GAN, the framework effectively bridges the gap between domains. While the three-step process adds complexity, the gains in robustness and accuracy—particularly on difficult cross-modal tasks like RGB-to-Depth—suggest that feature-level augmentation is a promising direction for future research in domain adaptation and general model robustness.
Summary updated