[Paper Review] Nuisances via Negativa: Adjusting for Spurious Correlations via Data Augmentation
This paper proposes using semantic corruptions via data augmentation to identify and mitigate spurious correlations in machine learning models without requiring explicit nuisance annotations. By corrupting global, local, or frequency-based semantic features—such as through patch randomization or intensity filtering—it enables spurious-correlation avoiding methods (e.g., NURD, JTT) to learn robust models that generalize better across distribution shifts, achieving performance close to methods with known nuisances and surpassing standard ERM and vanilla JTT.
In prediction tasks, there exist features that are related to the label in the same way across different settings for that task; these are semantic features or semantics. Features with varying relationships to the label are nuisances. For example, in detecting cows from natural images, the shape of the head is semantic but because images of cows often have grass backgrounds but not always, the background is a nuisance. Models that exploit nuisance-label relationships face performance degradation when these relationships change. Building models robust to such changes requires additional knowledge beyond samples of the features and labels. For example, existing work uses annotations of nuisances or assumes ERM-trained models depend on nuisances. Approaches to integrate new kinds of additional knowledge enlarge the settings where robust models can be built. We develop an approach to use knowledge about the semantics by corrupting them in data, and then using the corrupted data to produce models which identify correlations between nuisances and the label. Once these correlations are identified, they can be used to adjust for where nuisances drive predictions. We study semantic corruptions in powering different spurious-correlation avoiding methods on multiple out-of-distribution (OOD) tasks like classifying waterbirds, natural language inference (NLI), and detecting cardiomegaly in chest X-rays.
Motivation & Objective
- To address the challenge of model degradation due to spurious correlations that change across data distributions.
- To develop a method for building robust models without requiring explicit nuisance annotations or strong assumptions about ERM-trained models.
- To leverage semantic knowledge in data augmentation to create biased models that expose nuisance dependencies.
- To demonstrate that semantic corruptions can power existing spurious-correlation avoiding methods (SCAMs) effectively.
- To show that these corruption-based approaches match or exceed performance of methods relying on known nuisance variables.
Proposed method
- Designing semantic corruptions that selectively destroy semantic features while preserving nuisance features, such as patch randomization for global semantics in images and n-gram randomization for NLI.
- Using region-of-interest masking (ROI-mask) and premise masking (prem-mask) to corrupt location-based semantics in object recognition and NLI, respectively.
- Applying frequency filtering (freq-filter) and intensity filtering (int-filter) to target low-frequency and high-intensity semantic features, such as in chest X-ray cardiomegaly detection.
- Training a biased model that predicts the label from the corrupted inputs, which identifies where nuisances drive predictions.
- Integrating these biased models into SCAMs like NURD, DFL, POE, and JTT to improve robustness to distribution shift.
- Using the resulting models to train predictive models that avoid reliance on spurious correlations by learning from the corrupted data.
Experimental results
Research questions
- RQ1Can data augmentation that corrupts semantic features be used to identify and adjust for nuisances without explicit nuisance annotations?
- RQ2How effective are semantic corruptions in enabling SCAMs to achieve robustness comparable to methods with known nuisances?
- RQ3Does using semantic corruptions improve generalization on out-of-distribution (OOD) benchmarks like waterbirds, NLI, and chest X-ray cardiomegaly detection?
- RQ4To what extent do different types of semantic corruption (global, local, frequency, intensity) preserve nuisance information while destroying semantics?
- RQ5Can semantic corruptions enhance the performance of JTT, which relies on assumptions about ERM models relying on nuisances?
Key findings
- Semantic corruptions such as patch-rand and ngram-rand successfully identify nuisance dependencies, enabling SCAMs to achieve performance close to that of methods with known nuisance variables.
- When used with NURD and DFL, semantic corruptions yield performance within 1–2% of the same methods trained with explicit nuisance annotations on OOD benchmarks.
- JTT enhanced with semantic corruptions outperforms vanilla JTT, demonstrating improved robustness without relying on unverifiable assumptions about ERM models.
- On waterbirds and NLI tasks, models using semantic corruptions closed over 80% of the performance gap between ERM and methods with known nuisances.
- Despite potential corruption of some nuisances (e.g., global nuisances in patch-rand), the overall approach maintains strong generalization, indicating robustness to imperfect corruption.
- The method generalizes across vision and NLP tasks, including image classification, NLI, and medical imaging, showing broad applicability.
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.