Abstract
Single Domain Generalization (Single-DG) is a challenging task where a model must generalize to unseen domains after training on only one source domain. Traditional methods rely on image-level augmentations, which are often insufficient to capture the underlying causal mechanisms of object identity. This paper introduces a framework that uses causal inference to disentangle domain-invariant "causal" features from domain-specific "non-causal" features. By performing augmentation in the high-dimensional latent space and applying causal interventions, the proposed method achieves state-of-the-art performance across multiple benchmarks, including PACS and Digits.
Introduction
Deep learning models often suffer from domain shift, failing to generalize when the test data distribution differs from the training data. Single Domain Generalization (Single-DG) represents the extreme case of this challenge: training on exactly one source domain (e.g., photos) to work on any unknown target domain (e.g., cartoons or sketches).
Existing approaches typically utilize pixel-level data augmentations like rotation or color jittering. However, these transformations are limited and often fail to isolate the "causal" reasons for an object's classification. For instance, a model might incorrectly associate a green background with the class "house." This paper addresses this by identifying stable, domain-invariant features through the lens of causality.
Methodology
The authors propose a Causality-inspired Latent Feature Augmentation framework. Unlike pixel-level methods, this framework operates in the abstract latent space to simulate a wider variety of domain shifts.
1. Feature Disentanglement
The model extracts features and explicitly splits them into Causal Features ($f_c$), representing the core identity of the object, and Non-causal Features ($f_b$), representing domain-specific biases like style or background.
2. Meta-Knowledge and Latent Augmentation
Two encoders ($E_{ag}$ and $E_{ap}$) learn "meta-knowledge" about feature transformations. One captures shifts between original and augmented images, while the other captures shifts between different images of the same category. A shared "Augmentor" then uses this knowledge to generate a massive variety of implicit feature-level transformations, creating a diverse training set in the latent space.
3. Causal Intervention
To ensure the classifier relies only on stable features, the authors use a technique inspired by "do-calculus." They randomly shuffle and recombine causal and non-causal features. This intervention "cuts" the backdoor path where domain bias might influence the label, forcing the model to focus on the object's core identity.
Key Results
The proposed method consistently outperformed previous state-of-the-art (SOTA) models across several benchmarks:
- PACS: Achieved an average accuracy of 72.50%, significantly higher than the previous SOTA (MCL) at 69.86%.
- Digits: Reached 81.47% average accuracy.
- Robustness: In experiments with limited image-level transformations, the model maintained high accuracy while standard Empirical Risk Minimization (ERM) models saw performance crashes.
Qualitative analysis using class activation maps (CAM) confirms that the model focuses more accurately on the actual object rather than background textures or domain-specific styles.
Conclusion
By moving augmentation from the pixel space to the latent space and incorporating causal disentanglement, this framework provides a robust solution for Single-DG. While the training process introduces some complexity due to multiple encoders, the resulting model is efficient during inference and demonstrates superior generalization to unseen domains. Future work may explore more complex structural causal models to further refine feature disentanglement in real-world scenarios.
Summary updated