[Paper Review] Counterfactual Reasoning for Fair Clinical Risk Prediction
This paper proposes individual equalized counterfactual odds, a novel fairness criterion that extends group fairness to the individual level by requiring consistent predictions for a patient and a counterfactual version with a changed sensitive attribute. Using a variational autoencoder to generate counterfactual patients from EHR data, the method enables fair clinical risk prediction for inpatient mortality and prolonged length of stay, though trade-offs between fairness and predictive performance are observed, especially for mortality prediction.
The use of machine learning systems to support decision making in healthcare raises questions as to what extent these systems may introduce or exacerbate disparities in care for historically underrepresented and mistreated groups, due to biases implicitly embedded in observational data in electronic health records. To address this problem in the context of clinical risk prediction models, we develop an augmented counterfactual fairness criteria to extend the group fairness criteria of equalized odds to an individual level. We do so by requiring that the same prediction be made for a patient, and a counterfactual patient resulting from changing a sensitive attribute, if the factual and counterfactual outcomes do not differ. We investigate the extent to which the augmented counterfactual fairness criteria may be applied to develop fair models for prolonged inpatient length of stay and mortality with observational electronic health records data. As the fairness criteria is ill-defined without knowledge of the data generating process, we use a variational autoencoder to perform counterfactual inference in the context of an assumed causal graph. While our technique provides a means to trade off maintenance of fairness with reduction in predictive performance in the context of a learned generative model, further work is needed to assess the generality of this approach.
Motivation & Objective
- To address individual-level fairness in clinical risk prediction models trained on biased observational EHR data.
- To extend group fairness metrics like equalized odds to the individual level using counterfactual reasoning.
- To develop a practical framework for assessing and improving fairness in clinical ML models without requiring a known structural causal model.
- To evaluate the trade-offs between fairness and predictive performance in real-world EHR datasets.
- To explore the feasibility and limitations of using variational autoencoders for counterfactual inference in fairness-aware clinical modeling.
Proposed method
- Proposes individual equalized counterfactual odds as an augmented fairness criterion that requires the same prediction for a factual patient and a counterfactual patient with a changed sensitive attribute, assuming the outcome does not differ.
- Uses a variational autoencoder (VAE) to generate counterfactual patient representations under the assumption of a causal graph, enabling counterfactual inference without a fully specified structural equation model.
- Applies the VAE-based counterfactual sampling to real EHR data for two clinical tasks: inpatient mortality and prolonged length of stay prediction.
- Employs a training procedure that optimizes for both predictive performance and satisfaction of the individual equalized counterfactual odds criterion.
- Relies on the VAE's latent space to generate plausible counterfactuals, assuming the model captures the underlying data-generating process well enough for fairness evaluation.
- Uses sensitivity analyses and simulation studies as a foundation for future validation of fairness claims under model uncertainty.
Experimental results
Research questions
- RQ1Can counterfactual reasoning be used to define fairness at the individual level in clinical risk prediction models?
- RQ2How can individual-level fairness be enforced when the true data-generating process is unknown?
- RQ3What trade-offs exist between predictive performance and fairness when applying counterfactual fairness criteria to EHR data?
- RQ4To what extent can a variational autoencoder reliably generate counterfactuals for fairness evaluation in the absence of a known structural causal model?
- RQ5How do fairness and performance trade-offs differ across clinical tasks such as mortality prediction versus length of stay prediction?
Key findings
- The proposed method successfully produces fair clinical risk prediction models with respect to individual equalized counterfactual odds using counterfactuals sampled from a VAE.
- Significant trade-offs between fairness and predictive performance are observed, particularly for inpatient mortality prediction, where fairness constraints reduce model performance more substantially.
- The VAE-based approach enables counterfactual inference in the absence of a known structural equation model, though fairness is only well-defined within the context of the generative model.
- The method demonstrates that fairness can be improved at the individual level while maintaining reasonable predictive accuracy, especially for prolonged length of stay prediction.
- The approach is sensitive to the quality of the VAE’s generative modeling; if the VAE does not accurately reflect the true data-generating process, fairness claims may not hold in reality.
- Further research is needed to validate fairness under model uncertainty and to explore sensitivity analyses for robustness.
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.