Abstract
Deep neural networks are notoriously brittle when deployed on data that differs from their training distribution—a problem known as "domain shift." This paper introduces a unified deep learning framework for both Domain Adaptation (DA) and Domain Generalization (DG) that combines adversarial learning with correlation alignment. By simultaneously tricking a domain discriminator and aligning the second-order statistics (covariances) of feature distributions, the model learns highly transferable, domain-agnostic representations. The proposed framework achieves state-of-the-art results across multiple image classification benchmarks, demonstrating the power of multi-stage feature alignment.
Addressing the Domain Shift Problem
Researchers typically tackle domain shift in two ways: Domain Adaptation (DA), where the model has access to labeled source data and unlabeled target data during training, and Domain Generalization (DG), a more challenging setup where the target domain is completely unseen during training. Historically, solutions have relied on either adversarial learning (training a feature extractor to fool a domain classifier) or distribution matching metrics (like aligning the covariance of features across domains).
The authors argue that using just one of these techniques leaves a residual domain mismatch. This paper addresses that gap by combining both strategies into a single, unified architecture capable of handling both DA and DG scenarios as illustrated above.
Methodology: The CAADA/CAADG Framework
The authors propose the Correlation-aware Adversarial Domain Adaptation and Generalization (CAADA / CAADG) framework. The architecture uses a two-stream Convolutional Neural Network (based on AlexNet) with unshared weights for the source and target domains, allowing the network to capture domain-specific nuances at lower levels before forcing alignment.
To learn domain-invariant features at higher levels, the framework applies a "double-teaming" approach:
- Adversarial Learning: A domain discriminator is attached to a bottleneck fully connected layer ($fc_B$) via a Gradient Reversal Layer (GRL). The network is penalized if the discriminator can distinguish between source and target domain features.
- Correlation Alignment (CORAL): At the final fully connected layer ($fc_8$), the network minimizes the distance between the covariance matrices of the source and target features.
Handling Domain Generalization: Because DG lacks target data during training, the authors simulate a domain shift. They aggregate all available source domains, split them, and feed the two splits into the two streams of the network. This forces the model to align features across an artificial domain gap, resulting in a robust, domain-agnostic model ready for unseen data.
Experimental Results
The framework was evaluated on five standard image classification benchmarks, including Office-31, Office-Home, ImageCLEF-DA, Office-Caltech, and PACS.
Key findings include:
- State-of-the-Art Performance: The proposed method achieved top-tier average accuracies on ImageCLEF-DA (80.2%) and Office-31 (78.3%) for Domain Adaptation. In the Generalization tasks, it hit 71.98% on the challenging PACS benchmark.
- Ablation Studies: Removing either the adversarial module or the CORAL module noticeably drops performance. For instance, on the Office-31 (Amazon → Webcam) task, using only adversarial learning yielded 74.1%, but adding CORAL boosted it to 80.2%.
- Feature Visualization: t-SNE visualizations show that the combined approach clusters same-class objects tightly together regardless of their source domain, mixing the domains significantly better than standard networks or adversarial learning alone.
Conclusion and Future Work
By combining adversarial training with second-order statistic alignment, the CAADA/CAADG framework effectively bridges the gap between different data distributions. While the current implementation relies on the AlexNet architecture, the underlying principle of dual-alignment is likely to scale with more modern backbones. Future research could extend this strategy to more complex tasks such as object detection or semantic segmentation where domain shift remains a critical challenge.
Summary updated