Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Out of Spuriousity: Improving Robustness to Spurious Correlations without Group Annotations

About

Machine learning models are known to learn spurious correlations, i.e., features having strong relations with class labels but no causal relation. Relying on those correlations leads to poor performance in the data groups without these correlations and poor generalization ability. To improve the robustness of machine learning models to spurious correlations, we propose an approach to extract a subnetwork from a fully trained network that does not rely on spurious correlations. The subnetwork is found by the assumption that data points with the same spurious attribute will be close to each other in the representation space when training with ERM, then we employ supervised contrastive loss in a novel way to force models to unlearn the spurious connections. The increase in the worst-group performance of our approach contributes to strengthening the hypothesis that there exists a subnetwork in a fully trained dense network that is responsible for using only invariant features in classification tasks, therefore erasing the influence of spurious features even in the setup of multi spurious attributes and no prior knowledge of attributes labels.

Phuong Quynh Le, J\"org Schl\"otterer, Christin Seifert• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationWaterbirds
Average Accuracy89.4
209
Image ClassificationCelebA
WG Score89.7
62
Gender ClassificationCOCO 95% spurious correlation
Average Score57.5
24
Image ClassificationISIC (test)--
24
Image ClassificationWaterbirds 95% correlation (test)
Worst-group Accuracy57.5
23
Image ClassificationWaterbirds 100% correlation (test)
Worst-group Accuracy35.6
21
Gender ClassificationCOCO 100% spurious correlation
Average Score54.6
20
Image ClassificationWaterbirds 95% (test)
Worst-Group Accuracy79.8
18
Image ClassificationWaterbirds 100% (test)
Worst Group Accuracy67.1
17
Image ClassificationKnee (test)
WGA67
16
Showing 10 of 20 rows

Other info

Follow for update