Controlling for Omitted Variable Bias in Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
Control variables are widely used in statistical modelling to account for omitted variable bias of known confounders. However, they have largely been underexplored in deep learning. This is surprising, given that deep learning models encode image-inferable covariates, such as demographic variables, into their predictions when these covariates are correlated with the outcome---a form of omitted variable bias referred to as 'shortcut learning'. While many existing confound-control or fairness methods try to restrict the correlation of such covariates with model predictions, we show that this fails to correct for omitted variable bias. We therefore propose a control variable approach for deep learning models, based on generalised additive modelling of the effects of model inputs and covariates. As flexible additive models can suffer from concurvity, we introduce an estimation procedure that refits the final layer of a pre-trained network to include covariate effects, using cross-fitting with ridge penalisation. We show how these effects can be orthogonalised with respect to covariates to exclude their mediated effects and that model predictions can be marginalised over the covariate distribution to control for their effect. This yields unbiased, interpretable predictions and offers flexibility to model the desired effects depending on the scientific or fairness objective. We verify our approach using simulated images, and demonstrate consistent estimation of true effects. Existing methods either require more data or fail to recover the true effects. We apply our method to real neuroimaging data with experimentally induced confounding, where it recovers prediction performance to near the level of a model trained on unconfounded data. Code is available at https://github.com/mpff/cocodeel.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 36 of its 74 references that are in the map. First posted on arXiv 26 Aug 2026.
Builds on
36 of 74 references.
References · 36
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2019Invariant Risk Minimizationcited by 1,832
- 2018A Reductions Approach to Fair Classificationcited by 585
- 2017Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet?cited by 551
- 2022MONAI: An open-source framework for deep learning in healthcarecited by 438
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
- 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 374
- 2018Learning Adversarially Fair and Transferable Representationscited by 353
- 2020Neural Additive Models: Interpretable Machine Learning with Neural Netscited by 318
- 2013Direct and Indirect Effectscited by 276
- 2020The Risks of Invariant Risk Minimizationcited by 262
24 more
- 2023LEACE: Perfect linear concept erasure in closed formcited by 254
- 2019Orthogonal Statistical Learningcited by 150
- 2019Inherent Tradeoffs in Learning Fair Representationscited by 144
- 2017Controllable Invariance through Adversarial Feature Learningcited by 127
- 2021EnD: Entangling and Disentangling deep representations for bias correctioncited by 105
- 2022Neural Basis Models for Interpretabilitycited by 56
- 2018Training Well-Generalizing Classifiers for Fairness Metrics and Other Data-Dependent Constraintscited by 53
- 2015On the relation between accuracy and fairness in binary classificationcited by 47
- 2019Fair Data Adaptation with Quantile Preservationcited by 29
- 2020Semi-Structured Distributional Regression -- Extending Structured Additive Models by Arbitrary Deep Neural Networks and Data Modalitiescited by 24
- 2022Efficient Conditionally Invariant Representation Learningcited by 19
- 2021Elastic Net Regularization Paths for All Generalized Linear Modelscited by 17
- 2019On the Global Optima of Kernelized Adversarial Representation Learningcited by 14
- 2021Metadata Normalizationcited by 14
- 2019A Wide and Deep Neural Network for Survival Analysis from Anatomical Shape and Tabular Clinical Datacited by 12
- 2023Curve Your Enthusiasm: Concurvity Regularization in Differentiable Generalized Additive Modelscited by 12
- 2023A New PHO-rmula for Improved Performance of Semi-Structured Networkscited by 11
- 2022A Penalty Approach for Normalizing Feature Distributions to Build Confounder-Free Modelscited by 8
- 2023Don't PANIC: Prototypical Additive Neural Network for Interpretable Classification of Alzheimer's Diseasecited by 7
- 2021Projection-wise Disentangling for Fair and Interpretable Representation Learning: Application to 3D Facial Shape Analysiscited by 5
- 2015Standardization and Control for Confounding in Observational Studies: A Historical Perspectivecited by 2
- 2023DeepRepViz: Identifying Confounders in Deep Learning Model Predictionscited by 2
- 2025Challenges in interpretability of additive modelscited by 2
- 2020Causality-aware counterfactual confounding adjustment as an alternative to linear residualization in anticausal prediction tasks based on linear learnerscited by 1
Built on by
Not cited yet.