[Paper Review] Removing Confounding Factors Associated Weights in Deep Neural Networks Improves the Prediction Accuracy for Healthcare Applications
This paper proposes Confounder Filtering (CF), a minimal-architecture-change method that improves deep neural network prediction accuracy in healthcare by identifying and removing weights associated with confounding factors like age, gender, or contrast agents. By retraining the top layer to predict confounders and filtering their influence, CF boosts generalization across diverse cohorts, with consistent accuracy gains across CT, MRA, and EEG datasets.
The proliferation of healthcare data has brought the opportunities of applying data-driven approaches, such as machine learning methods, to assist diagnosis. Recently, many deep learning methods have been shown with impressive successes in predicting disease status with raw input data. However, the "black-box" nature of deep learning and the high-reliability requirement of biomedical applications have created new challenges regarding the existence of confounding factors. In this paper, with a brief argument that inappropriate handling of confounding factors will lead to models' sub-optimal performance in real-world applications, we present an efficient method that can remove the influences of confounding factors such as age or gender to improve the across-cohort prediction accuracy of neural networks. One distinct advantage of our method is that it only requires minimal changes of the baseline model's architecture so that it can be plugged into most of the existing neural networks. We conduct experiments across CT-scan, MRA, and EEG brain wave with convolutional neural networks and LSTM to verify the efficiency of our method.
Motivation & Objective
- Address the challenge of confounding factors—such as age, gender, or imaging contrast—in deep learning models used for healthcare prediction.
- Improve model generalizability across diverse patient cohorts by reducing reliance on spurious correlations introduced by confounders.
- Develop a plug-and-play method that requires minimal modification to existing neural network architectures.
- Demonstrate consistent performance gains across multiple medical imaging and signal processing tasks, including CT, MRA, and EEG.
- Provide empirical validation that confounding factors degrade real-world predictive performance despite high lab accuracy.
Proposed method
- Train a standard deep neural network (e.g., CNN, LSTM, U-Net) on the original task with confounded data.
- Replace the final classification layer with a new layer that predicts the confounding factors (e.g., gender, age, contrast presence) instead of the disease label.
- Retrain the model in two phases: first to learn task-relevant features, then to learn confounder-specific representations.
- Identify and remove the weights in the top layer that are most strongly associated with confounding factors using gradient-based analysis.
- Apply a filtering mechanism to suppress the influence of these confounder-associated weights during inference.
- Use Deep Feature Selection to visualize which input pixels or signals are most predictive of confounders, confirming their subtle, non-patterned distribution.
Experimental results
Research questions
- RQ1Can removing weights associated with confounding factors improve the cross-cohort generalization of deep neural networks in healthcare applications?
- RQ2To what extent do confounding factors like gender, age, or contrast agents degrade model performance despite high in-sample accuracy?
- RQ3How can confounder influence be isolated and removed with minimal architectural changes to existing models?
- RQ4Are the weights associated with confounders distinguishable from those associated with the true disease signal during training?
- RQ5Can the method be generalized across diverse modalities such as CT, MRA, and EEG without re-designing the network architecture?
Key findings
- Confounder Filtering (CF) consistently improved prediction accuracy across four diverse healthcare tasks: lung adenocarcinoma, heart ventricle segmentation, student confusion status, and brain tumor detection.
- In the lung adenocarcinoma experiment, CF-CNN outperformed standard CNNs in cross-cohort evaluation, especially when the test set had different contrast agent usage.
- The method successfully reduced reliance on gender- or age-related features, even when these features showed no clear spatial pattern in the input data.
- Visualization of weight updates showed distinct training dynamics between task-related and confounder-related weights, validating the method’s core assumption.
- Despite a slight performance drop in VGG19, CF improved accuracy in all other CNN architectures tested, indicating robustness across model families.
- The use of Deep Feature Selection revealed that confounder-associated pixels were scattered and non-discriminative, confirming that manual filtering is ineffective—highlighting the need for automated methods like CF.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.