Causally motivated Shortcut Removal Using Auxiliary Labels

Maggie Makar, Ben Packer, Dan Moldovan, Davis Blalock, Yoni Halpern +1 more
5/13/2021
cs.LG

Official code: mymakar/causally_motivated_shortcut_removal (14 stars, Python, Apache-2.0, last commit 2023-07-05).

Abstract

Shortcut learning, in which models make use of easy-to-represent but unstable associations, is a major failure mode for robust machine learning. We study a flexible, causally-motivated approach to training robust predictors by discouraging the use of specific shortcuts, focusing on a common setting where a robust predictor could achieve optimal \emph{iid} generalization in principle, but is overshadowed by a shortcut predictor in practice.

Show full abstract

Our approach uses auxiliary labels, typically available at training time, to enforce conditional independences implied by the causal graph. We show both theoretically and empirically that causally-motivated regularization schemes (a) lead to more robust estimators that generalize well under distribution shift, and (b) have better finite sample efficiency compared to usual regularization schemes, even when no shortcut is present. Our analysis highlights important theoretical properties of training techniques commonly used in the causal inference, fairness, and disentanglement literatures. Our code is available at https://github.com/mymakar/causally_motivated_shortcut_removal

View on arXivView PDF

Code Implementations(1)

Apache-2.0
141PythonNov 16, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{makar2021causally,
  title  = {Causally motivated Shortcut Removal Using Auxiliary Labels},
  author = {Maggie Makar and Ben Packer and Dan Moldovan and Davis Blalock and Yoni Halpern and Alexander D'Amour},
  year   = {2021},
  eprint = {2105.06422},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.06422}
}

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/2105.06422.svg)](https://codeofpaper.com/paper/2105.06422)

Discussion