[Paper Review] The Medical Deconfounder: Assessing Treatment Effects with Electronic Health Records
The medical deconfounder is a machine learning method that estimates treatment effects from electronic health records (EHRs) by constructing a substitute confounder from multi-medication prescribing patterns to adjust for unobserved confounders. It improves causal inference accuracy, identifying medications with treatment effects more consistent with medical literature than classical methods.
The treatment effects of medications play a key role in guiding medical prescriptions. They are usually assessed with randomized controlled trials (RCTs), which are expensive. Recently, large-scale electronic health records (EHRs) have become available, opening up new opportunities for more cost-effective assessments. However, assessing a treatment effect from EHRs is challenging: it is biased by unobserved confounders, unmeasured variables that affect both patients' medical prescription and their outcome, e.g. the patients' social economic status. To adjust for unobserved confounders, we develop the medical deconfounder, a machine learning algorithm that unbiasedly estimates treatment effects from EHRs. The medical deconfounder first constructs a substitute confounder by modeling which medications were prescribed to each patient; this substitute confounder is guaranteed to capture all multi-medication confounders, observed or unobserved (arXiv:1805.06826). It then uses this substitute confounder to adjust for the confounding bias in the analysis. We validate the medical deconfounder on two simulated and two real medical data sets. Compared to classical approaches, the medical deconfounder produces closer-to-truth treatment effect estimates; it also identifies effective medications that are more consistent with the findings in the medical literature.
Motivation & Objective
- To address bias in treatment effect estimation from EHRs caused by unobserved confounders such as socioeconomic status.
- To develop a scalable machine learning method that adjusts for multi-medication confounders without requiring explicit measurement of confounders.
- To improve the accuracy of treatment effect estimates in real-world observational EHR data compared to classical causal inference methods.
- To identify medications with causal effects on clinical outcomes, such as HbA1c levels in diabetic patients, that align with established medical literature.
Proposed method
- The method models patients' medication records using a probabilistic factor model to infer a substitute confounder that captures all multi-medication confounders, both observed and unobserved.
- The substitute confounder is constructed from joint medication prescribing patterns, leveraging the fact that correlated medication use reflects underlying unmeasured confounders.
- A multivariate outcome model is then fitted to estimate treatment effects, conditioning on both the prescribed medications and the substitute confounder to adjust for confounding bias.
- The approach is grounded in the theoretical guarantee that the substitute confounder captures all confounding effects from multi-medication use, as established in prior work (Wang and Blei, 2018).
- The method is validated using both simulated datasets and real EHR data from a cohort of type 2 diabetes patients, with outcome measured as HbA1c levels.
Experimental results
Research questions
- RQ1Can a machine learning method effectively estimate treatment effects from EHRs when unobserved confounders—such as socioeconomic status—bias standard comparisons?
- RQ2Does modeling joint medication prescribing patterns yield a substitute confounder that captures unobserved confounding more effectively than traditional adjustment methods?
- RQ3How do treatment effect estimates from the medical deconfounder compare to those from unadjusted models and classical causal inference methods in real-world EHR data?
- RQ4Are the medications identified as causal by the medical deconfounder consistent with findings in the medical literature?
Key findings
- The medical deconfounder produced treatment effect estimates closer to the truth in two simulated datasets compared to classical methods, demonstrating reduced bias from unobserved confounders.
- In a real EHR dataset of type 2 diabetes patients, the medical deconfounder identified three causal medications—tacrolimus, amlodipine, and hydrochlorothiazide—with positive effects on HbA1c, consistent with known adverse effects of these drugs on glucose metabolism.
- Two medications—acetaminophen and atorvastatin—were falsely identified as causal by the unadjusted model but were correctly deemed non-causal by the medical deconfounder, indicating improved specificity.
- The medical deconfounder estimated a more positive treatment effect for atorvastatin after deconfounding, aligning with its known potential to increase blood glucose, suggesting reduced bias in effect estimation.
- The method successfully identified insulin and metformin as causal medications with negative effects on HbA1c, consistent with their established role in lowering blood glucose in diabetes.
- The method identified isopropyl alcohol and oxycodone as having potential associations with HbA1c, suggesting novel findings requiring further investigation.
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.