Let Samples Speak: Mitigating Spurious Correlation by Exploiting the Clusterness of Samples

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Weiwei, Liu, Junzhuo, Ren, Yuanyuan, Zheng, Yuchen, Liu, Yahao, Li, Wen
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909977046679552
author Li, Weiwei
Liu, Junzhuo
Ren, Yuanyuan
Zheng, Yuchen
Liu, Yahao
Li, Wen
author_facet Li, Weiwei
Liu, Junzhuo
Ren, Yuanyuan
Zheng, Yuchen
Liu, Yahao
Li, Wen
contents Deep learning models are known to often learn features that spuriously correlate with the class label during training but are irrelevant to the prediction task. Existing methods typically address this issue by annotating potential spurious attributes, or filtering spurious features based on some empirical assumptions (e.g., simplicity of bias). However, these methods may yield unsatisfactory performance due to the intricate and elusive nature of spurious correlations in real-world data. In this paper, we propose a data-oriented approach to mitigate the spurious correlation in deep learning models. We observe that samples that are influenced by spurious features tend to exhibit a dispersed distribution in the learned feature space. This allows us to identify the presence of spurious features. Subsequently, we obtain a bias-invariant representation by neutralizing the spurious features based on a simple grouping strategy. Then, we learn a feature transformation to eliminate the spurious features by aligning with this bias-invariant representation. Finally, we update the classifier by incorporating the learned feature transformation and obtain an unbiased model. By integrating the aforementioned identifying, neutralizing, eliminating and updating procedures, we build an effective pipeline for mitigating spurious correlation. Experiments on image and NLP debiasing benchmarks show an improvement in worst group accuracy of more than 20% compared to standard empirical risk minimization (ERM). Codes and checkpoints are available at https://github.com/davelee-uestc/nsf_debiasing .
format Preprint
id arxiv_https___arxiv_org_abs_2512_22874
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Let Samples Speak: Mitigating Spurious Correlation by Exploiting the Clusterness of Samples
Li, Weiwei
Liu, Junzhuo
Ren, Yuanyuan
Zheng, Yuchen
Liu, Yahao
Li, Wen
Computer Vision and Pattern Recognition
Deep learning models are known to often learn features that spuriously correlate with the class label during training but are irrelevant to the prediction task. Existing methods typically address this issue by annotating potential spurious attributes, or filtering spurious features based on some empirical assumptions (e.g., simplicity of bias). However, these methods may yield unsatisfactory performance due to the intricate and elusive nature of spurious correlations in real-world data. In this paper, we propose a data-oriented approach to mitigate the spurious correlation in deep learning models. We observe that samples that are influenced by spurious features tend to exhibit a dispersed distribution in the learned feature space. This allows us to identify the presence of spurious features. Subsequently, we obtain a bias-invariant representation by neutralizing the spurious features based on a simple grouping strategy. Then, we learn a feature transformation to eliminate the spurious features by aligning with this bias-invariant representation. Finally, we update the classifier by incorporating the learned feature transformation and obtain an unbiased model. By integrating the aforementioned identifying, neutralizing, eliminating and updating procedures, we build an effective pipeline for mitigating spurious correlation. Experiments on image and NLP debiasing benchmarks show an improvement in worst group accuracy of more than 20% compared to standard empirical risk minimization (ERM). Codes and checkpoints are available at https://github.com/davelee-uestc/nsf_debiasing .
title Let Samples Speak: Mitigating Spurious Correlation by Exploiting the Clusterness of Samples
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2512.22874