Abstract
Unsupervised Domain Adaptation (UDA) is a widely used technique for transferring knowledge from a labeled source domain to an unlabeled target domain. However, this paper demonstrates a fundamental "blind spot" in the UDA paradigm. By deriving a new theoretical lower bound, the authors prove that minimizing source error and aligning distributions is insufficient for success if the underlying labeling functions of the two domains mismatch. To highlight this vulnerability, the study introduces data poisoning attacks that can reduce target domain accuracy from near-perfection to nearly 0% using as little as 10% poisoned data.
Introduction
In machine learning, the scarcity of labeled data in target domains often necessitates the use of UDA. The goal is to learn a feature representation where source and target data are indistinguishable, theoretically allowing a classifier trained on the source to generalize to the target. While classic theoretical upper bounds suggest that low source error and successful distribution alignment lead to low target error, practitioners frequently encounter "negative transfer." This research investigates the root causes of these failures by establishing what is mathematically necessary for UDA to succeed and testing the robustness of popular algorithms against adversarial manipulation.
Theoretical Framework: The Lower Bound
The authors move beyond traditional upper bounds to derive a necessary lower bound for target domain error. This bound reveals that target error is fundamentally constrained by the mismatch between the induced labeling functions of the source and target domains. If a representation map aligns the data but inadvertently "flips" the labels—for instance, mapping source "cats" to target "dogs"—the error is provably high. This suggests that distribution alignment is a "blind" process that cannot guarantee label consistency.
Key Insights and the "Ambiguous Case"
A central finding of the paper is that UDA is often an "undetermined" problem. Without target labels, there may be multiple ways to align domains that appear equally valid to an algorithm (i.e., they both achieve low source error and perfect distribution alignment). One alignment might result in 100% accuracy, while another leads to 0%.
As shown in Figure 1, Case 3 illustrates this ambiguity. The algorithm cannot distinguish between the correct alignment and a flipped alignment because both satisfy the objective of matching the distributions. This makes UDA uniquely vulnerable: while standard supervised learning is generally robust to small amounts of noise, a tiny fraction of poisoned data in UDA can nudge the entire model toward a catastrophic global optimum.
Data Poisoning Attacks
To demonstrate this fragility, the authors proposed three attack vectors:
- Mislabeled Poisoning: Injecting incorrectly labeled data into the source set, particularly target data with flipped labels.
- Watermarking Attack: Superimposing target features onto source images to trick the model into aligning incorrect classes in the feature space.
- Clean-Label Attack: A sophisticated bilevel optimization where poison data is correctly labeled but subtly perturbed to lure the model into a representation that misclassifies specific target points.
Empirical Results
The empirical findings are a wake-up call for the community. On standard benchmarks like SVHN $\rightarrow$ MNIST, adding just 10% poisoned data caused the target accuracy of state-of-the-art methods like DANN and CDAN to plummet from approximately 78% to 1%.
Visualizations using t-SNE (Figure 5) confirm that while the poisoned models successfully align the source and target distributions, they align the wrong classes (e.g., source '1's with target '2's). This confirms that the labeling function mismatch is the primary driver of failure.
Conclusion and Future Work
This research highlights that current UDA methods lack the necessary safeguards to ensure label consistency across domains. While the study focuses on the theoretical and empirical limits of UDA, it sets the stage for future work in developing "Robust UDA" algorithms. Such methods might utilize auxiliary tasks or more sophisticated distance metrics to detect adversarial alignments and ensure that the relationship between features and labels remains stable during the adaptation process.
Summary updated