Skip to main content
QUICK REVIEW

[Paper Review] Using permutations to detect, quantify and correct for confounding in machine learning predictions

Elias Chaibub Neto|arXiv (Cornell University)|May 18, 2018
Advanced Causal Inference TechniquesMathematics21 references4 citations
TL;DR

This paper introduces permutation-based statistical methods to detect, quantify, and correct for confounding in machine learning predictions. By using restricted permutations, it tests whether a model learns disease signals or confounder signals, quantifies the confounding influence, and provides a corrected performance estimate, offering a robust, assumption-free alternative to traditional confounding adjustment methods.

ABSTRACT

Clinical machine learning applications are often plagued with confounders that are clinically irrelevant, but can still artificially boost the predictive performance of the algorithms. Confounding is especially problematic in mobile health studies run "in the wild", where it is challenging to balance the demographic characteristics of participants that self select to enter the study. An effective approach to remove the influence of confounders is to match samples in order to improve the balance in the data. The caveat is that we end-up with a smaller number of participants to train and evaluate the machine learning algorithm. Alternative confounding adjustment methods that make more efficient use of the data (e.g., inverse probability weighting) usually rely on modeling assumptions, and it is unclear how robust these methods are to violations of these assumptions. Here, rather than proposing a new approach to prevent/reduce the learning of confounding signals by a machine learning algorithm, we develop novel statistical tools to detect, quantify and correct for the influence of observed confounders. Our tools are based on restricted and standard permutation approaches and can be used to evaluate how well a confounding adjustment method is actually working. We use restricted permutations to test if an algorithm has learned disease signal in the presence of confounding signal, and to develop a novel statistical test to detect confounding learning per se. Furthermore, we prove that restricted permutations provide an alternative method to compute partial correlations, and use this result as a motivation to develop a novel approach to estimate the corrected predictive performance of a learner. We evaluate the statistical properties of our methods in simulation studies.

Motivation & Objective

  • To develop statistical tools that detect whether a machine learning model has learned confounding signals instead of true disease signals in biomedical data.
  • To quantify the extent to which predictive performance is artificially inflated by confounders such as age or gender in mobile health studies.
  • To correct for confounding influence after model training, estimating the true predictive performance attributable to disease signal alone.
  • To evaluate the effectiveness of confounding adjustment methods using permutation-based hypothesis tests.
  • To provide a framework that is robust to model assumptions and applicable to both classification and regression tasks.

Proposed method

  • Uses restricted permutations to test if a model’s performance is driven by confounder signals rather than true disease signals, under the null hypothesis that response is exchangeable within confounder levels.
  • Develops a novel permutation-based test to detect confounding per se, comparing observed performance to that under restricted permutations.
  • Proves that restricted permutations yield valid partial correlations, enabling a new method to estimate corrected predictive performance after confounding is accounted for.
  • Applies the method to both classification and regression problems, using any performance metric without requiring distributional assumptions.
  • Employs simulation studies to validate the statistical properties of the tests, including type I error control and statistical power.
  • Uses the undirected dependency graph (UDG) to visualize confounding-induced associations and guide the interpretation of confounding effects.

Experimental results

Research questions

  • RQ1Can restricted permutations reliably detect whether a machine learning model has learned confounding signals instead of true disease signals?
  • RQ2To what extent does a confounder like age or gender artificially inflate predictive performance in mobile health applications?
  • RQ3Can permutation-based methods quantify the proportion of predictive performance attributable to confounding rather than true disease signals?
  • RQ4How can we estimate the corrected predictive performance of a model after removing confounding influence?
  • RQ5Can these methods be used to evaluate the effectiveness of existing confounding adjustment techniques?

Key findings

  • The restricted permutation test for confounding detection controls type I error rates close to the nominal significance levels, indicating high statistical validity.
  • The method demonstrated reasonable statistical power across various simulation scenarios, confirming its ability to detect true confounding effects.
  • Restricted permutations were shown to provide valid partial correlations, enabling a new approach to estimate corrected model performance.
  • The proposed correction method effectively isolates the true disease signal from confounder-induced performance inflation in simulations.
  • The approach is robust to model assumptions and applicable to any performance metric in both classification and regression tasks.
  • The method can be used post-hoc to evaluate whether confounding adjustment methods have successfully reduced confounding influence.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.