Abstract
Unsupervised domain adaptation (UDA) aims to mitigate performance degradation caused by domain shift without requiring target labels. We present AutoDIAL (Automatic Domain Alignment Layers), a framework that introduces a novel Domain Alignment (DA) layer. By evolving standard Batch Normalization to learn optimal distribution matching parameters ($\alpha$) per layer, AutoDIAL achieves state-of-the-art performance across multiple benchmarks with minimal manual tuning.
Introduction
Deep learning models often struggle with "domain shift," where a model trained on a source dataset fails to generalize to a related but different target domain. In Unsupervised Domain Adaptation (UDA), the goal is to bridge this gap without target labels. Traditional methods often rely on complex adversarial training or manually selected layers for adaptation. AutoDIAL addresses this by automating the alignment process within the network architecture itself, treating domain adaptation as a specialized form of data normalization.
Methods
The core of AutoDIAL is the Domain Alignment (DA) layer, which extends the ubiquitous Batch Normalization (BN) technique.
- Learned Alignment ($\alpha$): While standard BN uses mini-batch statistics, the DA layer calculates "cross-domain" statistics by mixing source and target data. A learned parameter, $\alpha$, controls this mixture. The network optimizes $\alpha$ for each layer via backpropagation, allowing it to decide the necessary degree of alignment at different depths.
- Entropy Loss: To leverage unlabeled target data, an entropy minimization term is added to the objective function. This encourages the model to make high-confidence predictions on target samples, effectively "squeezing" them into distinct clusters.
- Synergistic Training: The DA layers align feature distributions, creating a cleaner space where entropy loss can more effectively separate target classes.
Results and Discussion
AutoDIAL was evaluated on standard benchmarks including Office-31, Office-Caltech, and SVHN to MNIST. The framework consistently outperformed existing methods while maintaining high computational efficiency.
Key Findings
- State-of-the-Art Performance: On the Office-31 benchmark using an Inception-BN backbone, AutoDIAL achieved an average accuracy of 82.2%, outperforming previous leaders like JAN. In the SVHN to MNIST task, it reached 90.3% accuracy.
- Layer-Dependent Alignment: Analysis of the learned parameters revealed that alignment is not uniform; lower layers (capturing low-level features) typically require a higher degree of adaptation than layers closer to the final classifier.
- Automatic Tuning: The automatic tuning of $\alpha$ consistently outperformed fixed-parameter versions, highlighting the value of data-driven alignment strategies over manual heuristics.
Conclusion
AutoDIAL provides an elegant, automated solution for unsupervised domain adaptation by integrating alignment directly into the normalization layers. While currently focused on single-source scenarios, its efficiency and performance make it a strong candidate for real-world deployment. Future work may explore extensions to multi-source domains and higher-order statistical alignment.
Summary updated