Towards Robust Classification Model by Counterfactual and Invariant Data Generation
Despite the success of machine learning applications in science, industry, and society in general, many approaches are known to be non-robust, often relying on spurious correlations to make predictions. Spuriousness occurs when some features correlate with labels but are not causal; relying on such features prevents models from generalizing to unseen environments where such correlations break. In this work, we focus on image classification and propose two data generation processes to reduce spuriousness. Given human annotations of the subset of the features responsible (causal) for the labels (e.g. bounding boxes), we modify this causal set to generate a surrogate image that no longer has the same label (i.e. a counterfactual image). We also alter non-causal features to generate images still recognized as the original labels, which helps to learn a model invariant to these features. In several challenging datasets, our data generations outperform state-of-the-art methods in accuracy when spurious correlations break, and increase the saliency focus on causal features providing better explanations.
Code (1)
Tasks
Classificationcounterfactualimage-classificationImage ClassificationOut-of-Distribution GeneralizationRobust classificationSimilar Papers 제목 키워드 기반
Counterfactual Multi-Token Fairness in Text Classification
The counterfactual token generation has been limited to perturbing only a single token in texts that are generally short and single sentences. These tokens are often associated with one of many sensitive attributes. With…
AttributeClassificationcounterfactualFairness+3Automatic, Debiased, and Invariant Counterfactual Generation under General Interventions
Generative models for counterfactual outcomes have great potential to support decision-making under complex interventions, but existing approaches are limited by unstable estimation, poor generalization across environmen…
Counterfactual Supervision-based Information Bottleneck for Out-of-Distribution Generalization
Learning invariant (causal) features for out-of-distribution (OOD) generalization has attracted extensive attention recently, and among the proposals invariant risk minimization (IRM) is a notable solution. In spite of i…
counterfactualCounterfactual InferenceOut-of-Distribution GeneralizationReMask: A Robust Information-Masking Approach for Domain Counterfactual Generation
Domain shift is a big challenge in NLP, thus, many approaches resort to learning domain-invariant features to mitigate the inference phase domain shift. Such methods, however, fail to leverage the domain-specific nuances…
counterfactualDomain Adaptationintent-classificationIntent Classification+4Causality-aligned Prompt Learning via Diffusion-based Counterfactual Generation
Prompt learning has garnered attention for its efficiency over traditional model training and fine-tuning. However, existing methods, constrained by inadequate theoretical foundations, encounter difficulties in achieving…
Visual Question AnsweringContrastive LearningImage ClassificationText Retrieval