[Paper Review] Selecting Data Augmentation for Simulating Interventions
This paper proposes a causal framework to guide data augmentation for domain generalization, showing that effective augmentations weaken spurious correlations between domains and labels by simulating interventions. By using a domain classifier to select augmentations that disrupt domain-specific features without affecting label-relevant features, the method outperforms existing domain generalization techniques across multiple benchmarks.
Machine learning models trained with purely observational data and the principle of empirical risk minimization \citep{vapnik_principles_1992} can fail to generalize to unseen domains. In this paper, we focus on the case where the problem arises through spurious correlation between the observed domains and the actual task labels. We find that many domain generalization methods do not explicitly take this spurious correlation into account. Instead, especially in more application-oriented research areas like medical imaging or robotics, data augmentation techniques that are based on heuristics are used to learn domain invariant features. To bridge the gap between theory and practice, we develop a causal perspective on the problem of domain generalization. We argue that causal concepts can be used to explain the success of data augmentation by describing how they can weaken the spurious correlation between the observed domains and the task labels. We demonstrate that data augmentation can serve as a tool for simulating interventional data. We use these theoretical insights to derive a simple algorithm that is able to select data augmentation techniques that will lead to better domain generalization.
Motivation & Objective
- To address the failure of domain generalization models due to spurious correlations between domains and labels in observational data.
- To bridge the gap between theoretical domain generalization methods and heuristic-based data augmentation practices in applied fields like medical imaging and robotics.
- To formalize data augmentation as a tool for simulating interventions using only observational data, grounded in causal inference.
- To develop a practical algorithm for selecting data augmentation techniques that improve generalization by weakening domain-specific confounding.
Proposed method
- Introduce intervention-augmentation equivariance to formalize the relationship between data augmentation and do-calculus interventions on domain variables.
- Use a Structural Causal Model (SCM) with a hidden confounder to model spurious correlations between domain (d) and label (y), where d influences high-level features (hd) that are not causally related to y.
- Propose a selection algorithm that uses a domain classifier to evaluate how effectively each augmentation reduces the predictive power of domain features (hd) on the domain variable d.
- Apply data augmentation as random sampling from symmetry groups (e.g., color jitter, rotation), ensuring transformations act only on non-descendants of the label y to preserve task-relevant features.
- Train a model via empirical risk minimization (ERM) using only the selected augmentations, avoiding destructive combinations that harm label-relevant features.
- Evaluate the method on three benchmarks: PACS, Colored MNIST, and Rotated MNIST, comparing against 10 SOTA domain generalization methods.
Experimental results
Research questions
- RQ1Can data augmentation be formally justified as a method for simulating interventions in the absence of do-calculus interventions?
- RQ2How can we select data augmentation techniques that weaken spurious correlations between domains and labels without harming task-relevant features?
- RQ3What is the causal mechanism by which data augmentation improves domain generalization in the presence of hidden confounders?
- RQ4Does selecting augmentations based on domain classifier performance lead to better generalization than standard or unguided augmentation?
Key findings
- The proposed method, DA (Data Augmentation selection), achieves the highest average accuracy across all three benchmarks: 74.9% on PACS, 74.1% on Colored MNIST, and 95.9% on Rotated MNIST.
- DA significantly outperforms ERM and all 10 SOTA domain generalization methods on the 'sketch' and 'art painting' test domains, where color and style are spurious cues.
- Using all data augmentation techniques together leads to a 16.1% drop in accuracy on PACS, 8.7% on Colored MNIST, and 25.4% on Rotated MNIST, demonstrating that indiscriminate augmentation harms performance.
- The ablation study confirms that some augmentations, such as random rotations on PACS, destroy useful orientation-based features, even when labels remain unchanged.
- The method successfully identifies that color perturbations weaken spurious correlations in the 'sketch' domain, where color is irrelevant to class identity.
- The causal framework explains why certain augmentations fail: they disrupt features (hy) that are causally linked to the label y, even if the label is preserved.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.