In standard unsupervised domain adaptation, the goal is to align a labeled source distribution with an unlabeled target distribution. Most classical methods operate under the "Closed Set" assumption: the source and target domains share the exact same categories. However, real-world data is rarely so tidy. We often encounter Partial Domain Adaptation (PDA), where the target is a subset of the source, or Open Set Domain Adaptation (OSDA), where the target contains "unknown" classes never seen in the source.
When we apply standard alignment techniques—like global adversarial training or standard Optimal Transport—to these scenarios, we encounter negative transfer. Because these methods force a global mapping between distributions, they inadvertently "smear" unrelated classes together. If a model is forced to match a source category (e.g., "Keyboard") that doesn't exist in the target domain, it will distort the feature space of the target's actual classes to satisfy the alignment objective.
The research direction emerging from recent work focuses on Selective Distribution Alignment. Instead of forcing a total mapping, these methods use Partial Optimal Transport (POT) and instance-weighting mechanisms to identify and align only the shared label space while isolating or discarding irrelevant data.
The Problem of Forced Matching
To understand why selective alignment is necessary, we must look at the mechanics of Optimal Transport (OT). Standard OT requires "mass conservation"—every unit of probability mass in the source must be transported to the target. In a mismatched label space, this is a recipe for disaster.
Kilian Fatras and colleagues in Unbalanced minibatch Optimal Transport; applications to Domain Adaptation argue that this rigid constraint creates "smoothing" artifacts. When the source has classes the target lacks, standard OT forces those source samples to be distributed across unrelated target samples, destroying the discriminative structure of the feature space.
Similarly, Zhangjie Cao and Mingsheng Long identified this in Partial Transfer Learning With Selective Adversarial Networks. They observed that if we don't deactivate the alignment mechanism for source classes that don't appear in the target, the model's performance on the shared classes degrades significantly.
Partial Optimal Transport: Transporting Only What Fits
The core innovation in this field is the shift from total to partial coupling. Partial Optimal Transport (POT) relaxes the mass conservation constraint, allowing the model to transport only a fraction of the total mass.
Renjun Xu and Jindong Wang introduced Joint Partial Optimal Transport (JPOT) in Joint Partial Optimal Transport for Open Set Domain Adaptation. JPOT uses a cost-based threshold: if the "cost" of transporting a source sample to any target sample is too high, the model concludes that the sample likely belongs to a non-overlapping class and isolates it. This prevents the "forced mapping" of disparate feature distributions.
This intuition is extended to specific modalities like speech. Xugang Lu and Yu Tsao demonstrate in Partial Coupling of Optimal Transport for Spoken Language Identification that a sigmoid-based weighting mechanism can suppress high-cost transport paths. By reducing the influence of samples that lack a clear counterpart, the model maintains the distinctiveness of shared language clusters during unsupervised adaptation.
Weighting as a Filter for the Unknown
If POT provides the mathematical framework for partial alignment, instance weighting provides the intelligence to decide which samples to align. The goal is to assign a high weight to "common" classes and a low weight to "private" or "unknown" classes.
Several strategies have emerged for calculating these weights:
- Classifier Confidence: Hong Liu and Zhangjie Cao proposed Separate to Adapt (STA) in Separate to Adapt: Open Set Domain Adaptation via Progressive Separation, which uses a coarse-to-fine weighting mechanism. It treats the likelihood of a sample belonging to a known class as a continuous weight, refining this distinction iteratively to prevent early errors from propagating.
- Optimal Transport Plans: In Theoretical Performance Guarantees for Partial Domain Adaptation via Partial Optimal Transport, Jayadev Naram and colleagues show that the optimal coupling matrix itself can act as a weight. Source samples that are not "assigned" to any target samples in the optimal plan are automatically down-weighted, providing a principled way to mitigate negative transfer.
- Auxiliary Networks: Jinjing Zhu and Yu Zhang developed LIWUDA in A Unified Framework for Unsupervised Domain Adaptation based on Instance Weighting. This framework uses a dedicated weight network to assign a scalar to each instance, allowing a single model to handle Closed Set, Partial, and Open Set scenarios by learning to mask out "private" classes.
Robustness to Outliers and Anomalies
Selective alignment isn't just about mismatched labels; it's also a powerful tool for robustness. In anomaly detection, standard DA might mistakenly align a target anomaly with a source's normal data, making the anomaly invisible.
Anis Kacem and colleagues address this in When Unsupervised Domain Adaptation meets One-class Anomaly Detection by leveraging "anomaly scarcity." By restricting alignment to only the most frequent samples in the target domain, they ensure that outliers are intentionally excluded from the mapping, preserving their distinctiveness for later detection.
Similarly, Cangning Fan and Ting Xiao use reconstruction loss as a weighting mechanism in Importance Weighted Adversarial Discriminative Transfer for Anomaly Detection. By only aligning samples that the model can reconstruct well (likely "normal" data), they prevent the "distribution smearing" that occurs when anomalies are forced into the normal feature space.
Why It Works: Intuition and Theory
The intuition behind selective alignment is that less is more. By relaxing the requirement that every data point must be accounted for, we allow the model to focus on the high-confidence, shared semantic structures.
From a theoretical perspective, this is grounded in the idea of minimizing the distance between the relevant parts of the distributions. As Khai Nguyen and colleagues demonstrate in An Efficient Mini-batch Method via Partial Transportation, even at the mini-batch level, transporting only a fraction of the data avoids the "forced errors" that occur when a batch happens to contain non-overlapping samples. This leads to more stable gradients and a feature space that better preserves the local geometry of the data.