Decompose-and-Compose: A Compositional Approach to Mitigating Spurious Correlation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Noohdani, Fahimeh Hosseini, Hosseini, Parsa, Parast, Aryan Yazdan, Araghi, Hamidreza Yaghoubi, Baghshah, Mahdieh Soleymani
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916330725179392
author Noohdani, Fahimeh Hosseini
Hosseini, Parsa
Parast, Aryan Yazdan
Araghi, Hamidreza Yaghoubi
Baghshah, Mahdieh Soleymani
author_facet Noohdani, Fahimeh Hosseini
Hosseini, Parsa
Parast, Aryan Yazdan
Araghi, Hamidreza Yaghoubi
Baghshah, Mahdieh Soleymani
contents While standard Empirical Risk Minimization (ERM) training is proven effective for image classification on in-distribution data, it fails to perform well on out-of-distribution samples. One of the main sources of distribution shift for image classification is the compositional nature of images. Specifically, in addition to the main object or component(s) determining the label, some other image components usually exist, which may lead to the shift of input distribution between train and test environments. More importantly, these components may have spurious correlations with the label. To address this issue, we propose Decompose-and-Compose (DaC), which improves robustness to correlation shift by a compositional approach based on combining elements of images. Based on our observations, models trained with ERM usually highly attend to either the causal components or the components having a high spurious correlation with the label (especially in datapoints on which models have a high confidence). In fact, according to the amount of spurious correlation and the easiness of classification based on the causal or non-causal components, the model usually attends to one of these more (on samples with high confidence). Following this, we first try to identify the causal components of images using class activation maps of models trained with ERM. Afterward, we intervene on images by combining them and retraining the model on the augmented data, including the counterfactual ones. Along with its high interpretability, this work proposes a group-balancing method by intervening on images without requiring group labels or information regarding the spurious features during training. The method has an overall better worst group accuracy compared to previous methods with the same amount of supervision on the group labels in correlation shift.
format Preprint
id arxiv_https___arxiv_org_abs_2402_18919
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Decompose-and-Compose: A Compositional Approach to Mitigating Spurious Correlation
Noohdani, Fahimeh Hosseini
Hosseini, Parsa
Parast, Aryan Yazdan
Araghi, Hamidreza Yaghoubi
Baghshah, Mahdieh Soleymani
Computer Vision and Pattern Recognition
Machine Learning
While standard Empirical Risk Minimization (ERM) training is proven effective for image classification on in-distribution data, it fails to perform well on out-of-distribution samples. One of the main sources of distribution shift for image classification is the compositional nature of images. Specifically, in addition to the main object or component(s) determining the label, some other image components usually exist, which may lead to the shift of input distribution between train and test environments. More importantly, these components may have spurious correlations with the label. To address this issue, we propose Decompose-and-Compose (DaC), which improves robustness to correlation shift by a compositional approach based on combining elements of images. Based on our observations, models trained with ERM usually highly attend to either the causal components or the components having a high spurious correlation with the label (especially in datapoints on which models have a high confidence). In fact, according to the amount of spurious correlation and the easiness of classification based on the causal or non-causal components, the model usually attends to one of these more (on samples with high confidence). Following this, we first try to identify the causal components of images using class activation maps of models trained with ERM. Afterward, we intervene on images by combining them and retraining the model on the augmented data, including the counterfactual ones. Along with its high interpretability, this work proposes a group-balancing method by intervening on images without requiring group labels or information regarding the spurious features during training. The method has an overall better worst group accuracy compared to previous methods with the same amount of supervision on the group labels in correlation shift.
title Decompose-and-Compose: A Compositional Approach to Mitigating Spurious Correlation
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2402.18919