Introduction
Unsupervised Domain Adaptation (UDA) aims to leverage labeled data from a "source" domain (e.g., studio photos) to improve performance on an unlabeled "target" domain (e.g., real-world webcam images). Traditional methods typically focus on aligning "holistic" global features. However, this paper argues that global features are often too task-specific and prone to overfitting on the source domain. Instead, the authors propose aligning local feature patterns—primitive elements like textures or object parts—which are more universally transferable across domains.
The Challenge of Holistic Alignment
Standard UDA approaches attempt to make global representations indistinguishable to a discriminator. This faces two primary issues:
- Holistic Overfitting: Features from deeper layers are highly specialized to the source task, making them less effective when domains differ significantly.
- Multi-mode Complexity: Local features from convolutional layers exhibit complex, multi-modal distributions. Simple global alignment ignores these fine-grained patterns shared across categories.
Proposed Methodology
The authors introduce a framework that jointly aligns global and local statistics. The architecture consists of three main components:
- Local Feature Pattern Learning: A trainable NetVLAD layer clusters local convolutional features into $K$ distinct patterns. This allows the model to identify recurring structures like chair legs or monitor corners regardless of the overall object category.
- Holistic Alignment: A global discriminator ensures that aggregated image representations are domain-invariant, similar to standard adversarial methods like DANN.
- Local Feature Alignment: This core innovation aligns the residuals—the difference between a local feature and its assigned cluster center. By forcing these residuals to follow similar distributions across domains via a local adversarial loss, the model achieves a much finer-grained alignment than global methods.
- Sparsity Loss: An entropy-based loss encourages local features to "hard-assign" to specific patterns, ensuring the learned local structures remain distinct and well-separated.
Experimental Evaluation
The method was evaluated on two major benchmarks:
- Office-31: Containing 31 categories across three domains (Amazon, Webcam, DSLR). The proposed Our (H+L) method achieved an average accuracy of 72.46%, outperforming DANN (67.88%) and ADDA (67.49%).
- Office-home: A more challenging dataset with 65 categories across four domains (Art, Clipart, Product, Real-World). The model reached 53.10% average accuracy, a significant jump over DANN's 49.59%.
A key finding was the model's resistance to negative transfer. In experiments where the source domain had more classes than the target, the model maintained high accuracy (69.09%) while standard adversarial methods like ADDA plummeted to 51.10%. This suggests that local patterns are indeed more robust primitives for transfer.
Conclusion
By focusing on generic local primitives rather than just task-specific global features, this approach provides a more robust mechanism for domain adaptation. Aligning residuals around local cluster centers proves to be a powerful technique for bridging the gap between disparate domains and mitigating the risks of negative transfer.
Summary updated