Abstract
Domain adaptation (DA) models often fail when source training data contains spurious correlations—such as background colors tied to specific classes—that do not persist in the target domain. This paper introduces Interventional Domain Adaptation (IDA), a novel framework that generates counterfactual features to disentangle domain-specific noise from truly sharable semantic features. By enforcing consistency across domain-specific mutations, IDA learns robust, transferable representations that achieve state-of-the-art performance on standard benchmarks.
Introduction: The Problem of Spurious Correlations
Machine learning models frequently encounter "domain shift," where performance degrades when deployed in environments (target domains) differing from their training data (source domains). Traditional DA methods attempt to learn "domain-invariant" features, typically through adversarial training to align source and target distributions.
However, a critical flaw exists: spurious correlations. In many datasets, domain-specific features (e.g., image style, background, lighting) are accidentally correlated with category labels. Standard DA methods assume all discriminative features in the source domain are useful and attempt to transfer them. If a model learns that "green backgrounds signify category A," standard DA will incorrectly force the target domain to adopt this biased rule. The authors term this "unsafely transferable" discriminability.
Methodology: Interventional Domain Adaptation (IDA)
The proposed IDA framework intervenes in the learning process to separate domain-sharable features ($U$, representing object semantics) from domain-specific features ($V$, representing spurious noise).
The architecture incorporates two primary novel components:
- Counterfactual Feature Generation: Utilizing an attention-guided module, the network identifies source and target features from the same predicted category and mixes them. This process creates a "counterfactual" feature that retains the shared semantic identity ($U$) while swapping the domain-specific style ($V$).
- Consistent Mapping: The model is trained with a consistency loss that forces these counterfactual features to map to the same final representation. This penalizes the model if changes in domain-specific features ($V$) alter the final prediction.
To address unknown target labels, IDA employs pseudo-labels and a certainty-guided loss re-weighting scheme to stabilize the training process.
Experimental Evaluation
The authors evaluated IDA across several benchmarks, including standard datasets like Office-31 and Office-Home, as well as a custom "Colored Office-31" dataset designed to test robustness against spurious correlations.
Key Results
- Robustness to Spurious Correlations: On Colored Office-31, standard adversarial training (DANN) suffered a 27.9% performance drop as spurious correlations strengthened. In contrast, IDA maintained high accuracy, effectively bypassing the bias.
- Benchmark Performance: IDA achieved 82.6% average accuracy on Office-31, outperforming DANN (74.3%) and DM-ADA (81.6%). On the challenging Office-Home dataset, IDA reached 54.2%, surpassing ALDA (52.3%).
- Generalization: IDA demonstrated superior domain-agnostic adaptation (91.4% on Office-Caltech10) and generalized significantly better to unseen domains (87.5% vs. 80.0% for DANN).
Conclusion and Future Work
IDA addresses a fundamental weakness in domain adaptation by explicitly disentangling semantic features from domain-specific noise. While the method relies on pseudo-labels—which could introduce instability if initial predictions are highly inaccurate—the use of certainty-guided re-weighting mitigates this risk. Future research may extend these interventional techniques to broader contexts such as algorithmic fairness and bias mitigation.
Summary updated