Introduction
Partial Adversarial Domain Adaptation (PADA) addresses a critical limitation in standard domain adaptation (DA): the assumption that source and target domains share identical label spaces. In real-world scenarios, we often possess massive, diverse source datasets (like ImageNet) but need to adapt them to specialized target tasks containing only a small subset of those categories.
When the target label space is a subset of the source ($C_t \subset C_s$), standard DA methods frequently suffer from negative transfer. By attempting to align the entire source distribution with the target, these models inadvertently force "outlier" source classes—those not present in the target—to match target data. PADA provides a robust framework to automatically identify and down-weight these irrelevant categories, enabling effective knowledge transfer without manual label mapping.
Methodology: Class-Level Weighting
PADA builds upon the Domain Adversarial Neural Network (DANN) architecture, which utilizes a minimax game between a feature extractor and a domain discriminator. To handle label space mismatch, PADA introduces a novel class-level weighting mechanism.
The core of the approach involves three main steps:
- Weight Estimation ($\gamma$): The model passes unlabeled target data through the source classifier. By averaging the softmax probability outputs across all target samples, the model generates a weight vector $\gamma$. If a class (e.g., "TV") is absent in the target domain, the classifier will rarely predict it, resulting in a low weight for that category.
- Weighted Classification: These weights are applied to the source classifier to reduce the influence of outlier source samples on the classification loss.
- Weighted Adversarial Alignment: The weights inform the domain discriminator to ignore features from outlier source classes. This focuses the adversarial alignment strictly on the categories shared between both domains.
This dual-weighting strategy promotes "positive transfer" by aligning shared classes while mitigating "negative transfer" by ignoring irrelevant ones.
Experimental Evaluation
The authors evaluated PADA across several challenging benchmarks, demonstrating its scalability and effectiveness:
- Office-31 & Office-Home: On these standard DA tasks, PADA significantly outperformed vanilla ResNet-50 and standard DANN. For instance, on Office-31, PADA achieved 92.69% accuracy, while standard DANN plummeted to 42.39% due to negative transfer.
- ImageNet-Caltech: In a large-scale test transferring from ImageNet-1K (1,000 classes) to Caltech-256 (84 shared classes), PADA achieved 72.76% accuracy, proving it can handle massive source label spaces.
- VisDA2017: On synthetic-to-real transfer, PADA maintained superior performance even with a significant domain gap.
Key Insights and Conclusion
A primary takeaway of this work is that the source classifier, even before full adaptation, serves as an effective filter for identifying relevant classes. Unlike previous "Open Set" methods that require manual thresholding, PADA's weighting is fully automated and integrated into end-to-end training.
While PADA excels when the target is a subset of the source, future work remains to address "Universal Domain Adaptation," where the relationship between label spaces is entirely unknown or where the target domain may contain entirely new, "unknown" classes. Nonetheless, PADA represents a major step toward making domain adaptation practical for large-scale, real-world applications.
Summary updated