Discover and Cure: Concept-aware Mitigation of Spurious Correlation

Shirley Wu, Mert Yuksekgonul, Linjun Zhang, James Zou
5/1/2023
cs.LGcs.CVeess.IV

Official code: Wuyxin/DISC (46 stars, MIT, PyTorch, last commit 2025-11-17).

Abstract

Deep neural networks often rely on spurious correlations to make predictions, which hinders generalization beyond training environments. For instance, models that associate cats with bed backgrounds can fail to predict the existence of cats in other environments without beds. Mitigating spurious correlations is crucial in building trustworthy models. However, the existing works lack transparency to offer insights into the mitigation process. In this work, we propose an interpretable framework, Discover and Cure (DISC), to tackle the issue. With human-interpretable concepts, DISC iteratively 1) discovers unstable concepts across different environments as spurious attributes, then 2) intervenes on the training data using the discovered concepts to reduce spurious correlation. Across systematic experiments, DISC provides superior generalization ability and interpretability than the existing approaches. Specifically, it outperforms the state-of-the-art methods on an object recognition task and a skin-lesion classification task by 7.5% and 9.6%, respectively. Additionally, we offer theoretical analysis and guarantees to understand the benefits of models trained by DISC. Code and data are available at https://github.com/Wuyxin/DISC.

View on arXivView PDF

Code Implementations(1)

Wuyxin/DISCOfficial100%
PyTorchMIT

(ICML 2023) Discover and Cure: Concept-aware Mitigation of Spurious Correlation

466Shell, PythonMar 28, 202311 months agoMIT
data-augmentationgeneralizationicml-2023interpretability-and-explainabilitypytorch+2 more

Similar Papers

Cite this paper

@article{wu2023discover,
  title  = {Discover and Cure: Concept-aware Mitigation of Spurious Correlation},
  author = {Shirley Wu and Mert Yuksekgonul and Linjun Zhang and James Zou},
  year   = {2023},
  eprint = {2305.00650},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.00650v2},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.00650.svg)](https://codeofpaper.com/paper/2305.00650)

Discussion