Confound-leakage: Confound Removal in Machine Learning Leads to Leakage

Sami Hamdan, Bradley C. Love, Georg G. von Polier, Susanne Weis, Holger Schwender +2 more
10/17/2022
cs.LGcs.AIstat.ML

Official code: juaml/ConfoundLeakage (2 stars, HTML, AGPL-3.0, last commit 2023-05-26).

Abstract

Machine learning (ML) approaches to data analysis are now widely adopted in many fields including epidemiology and medicine. To apply these approaches, confounds must first be removed as is commonly done by featurewise removal of their variance by linear regression before applying ML.

Show full abstract

Here, we show this common approach to confound removal biases ML models, leading to misleading results. Specifically, this common deconfounding approach can leak information such that what are null or moderate effects become amplified to near-perfect prediction when nonlinear ML approaches are subsequently applied. We identify and evaluate possible mechanisms for such confound-leakage and provide practical guidance to mitigate its negative impact. We demonstrate the real-world importance of confound-leakage by analyzing a clinical dataset where accuracy is overestimated for predicting attention deficit hyperactivity disorder (ADHD) with depression as a confound. Our results have wide-reaching implications for implementation and deployment of ML workflows and beg caution against naïve use of standard confound removal approaches.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0
20HTML, PythonOct 5, 20223 years agoAGPL-3.0

Similar Papers

Cite this paper

@article{hamdan2022confoundleakage,
  title  = {Confound-leakage: Confound Removal in Machine Learning Leads to Leakage},
  author = {Sami Hamdan and Bradley C. Love and Georg G. von Polier and Susanne Weis and Holger Schwender and Simon B. Eickhoff and Kaustubh R. Patil},
  year   = {2022},
  eprint = {2210.09232},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.09232}
}

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

Discussion