Standard unsupervised domain adaptation (UDA) operates on a "closed-set" assumption: the source domain (where we have labels) and the target domain (where we don't) share the exact same categories. In the wild, this assumption rarely holds. You might have a massive source dataset like ImageNet with 1,000 classes, but your target task only involves 10 specific types of office supplies.
When we apply standard alignment techniques to these mismatched datasets, we encounter negative transfer. This occurs when a model attempts to force a mathematical correspondence between irrelevant source categories (like "toasters") and target samples (like "staplers") simply because the target lacks a "toaster" category. This forced alignment distorts the feature space, introducing noise that degrades the model's performance on the classes that actually matter.
The Mechanics of Selective Transfer
To solve this, researchers have moved toward Partial Domain Adaptation (PDA) and Open-Set Domain Adaptation (OSDA). The core intuition is simple: instead of aligning the entire distribution, we should only align the shared "subspaces" or "subsets" of the data.
The first challenge is identifying which samples are "outliers." Zhangjie Cao and colleagues pioneered this with Selective Adversarial Networks (SAN) (/work/partial-transfer-learning-with-selective-adversarial). Instead of one global discriminator trying to distinguish source from target, they used multiple discriminators—one for each source class—to weight the importance of each category. If a source class is irrelevant to the target, its discriminator's signal is suppressed.
Building on this, Zhangjie Cao introduced PADA (Partial Adversarial Domain Adaptation) (/work/partial-adversarial-domain-adaptation), which automates the down-weighting of irrelevant source categories by looking at the model's own predictions on the target data. If the model never predicts a certain source class for any target sample, that class is likely an outlier and should be ignored during alignment.
Identifying Outliers Without Labels
How can we be sure a sample is an outlier if we don't have target labels? Researchers have developed several clever proxies:
- Cycle Inconsistency: Kun-Yu Lin and Wei-Shi Zheng proposed using cycle consistency (/work/adversarial-partial-domain-adaptation-by-cycle-inconsistency). If you transform a source feature into the target domain and then try to reconstruct it back to the source, "inlier" classes will reconstruct accurately, while "outliers" will fail the cycle, revealing their irrelevance.
- Statistical Rigor: Diego Klabjan and Yiming Xu applied Extreme Value Theory (EVT) (/work/open-set-domain-adaptation-by-extreme-value-theory) to OSDA. By modeling the distribution of entropy in model predictions, they can statistically define a threshold for "unknown" classes, avoiding the need for manual, sensitive hyperparameters.
- Self-Supervision: Silvia Bucci and Tatiana Tommasi showed that auxiliary tasks, like solving jigsaw puzzles (/work/tackling-partial-domain-adaptation-with-self-supervision), help the model learn structural features of the target domain that are independent of the source labels, making it easier to distinguish shared categories from outliers.
From Heuristics to Optimal Transport
Recently, the field has shifted toward more mathematically grounded alignment via Partial Optimal Transport (POT). Traditional Optimal Transport forces all "mass" (data points) from the source to match the target. In asymmetric scenarios, this is exactly what causes negative transfer.
Jayadev Naram and Giuseppe Durisi provided a theoretical foundation for this using WARMPOT (/work/theoretical-performance-guarantees-for-partial-domain), which uses an optimal transport plan to automatically identify and down-weight outlier source classes. Similarly, Chuan-Xian Ren proposed Soft-Masked Semi-Dual Optimal Transport (SSOT) (/work/soft-masked-semi-dual-optimal-transport-for-partial), which uses a neural network to solve the transport problem while "masking" irrelevant source mass, allowing for scalable and robust alignment in large-scale PDA tasks.
Why It Works: Preserving Discriminative Power
The ultimate goal of these methods is to prevent feature distribution collapse. As Xin Liu and Jan C. van Gemert observed (/work/cross-domain-image-matching-in-presence-of-outliers-dr5m), when a model is forced to align non-matching outliers, it often collapses the representations of valid inlier classes to minimize the distance between unrelated samples.
By selectively weighting instances—as seen in the Example Transfer Network (ETN) by Zhangjie Cao (/work/learning-to-transfer-examples-for-partial-domain-adaptation)—or by enlarging the feature norms of target samples as suggested by Ruijia Xu (/work/larger-norm-more-transferable-an-adaptive-feature-norm), these methods ensure that the model remains discriminative. They allow the model to say, "I recognize these parts of the data from my training, and I will ignore the rest," rather than trying to fit a square peg into a round hole.