Postprediction Inference for Clinical Characteristics Extracted With Machine Learning on Electronic Health Records

Arjun Sondhi, Alexander S. Rich, Siruo Wang, Jeffery T. Leek

Research output: Contribution to journalArticlepeer-review

Abstract

PURPOSE: Real-world data (RWD) derived from electronic health records (EHRs) are often used to understand population-level relationships between patient characteristics and cancer outcomes. Machine learning (ML) methods enable researchers to extract characteristics from unstructured clinical notes, and represent a more cost-effective and scalable approach than manual expert abstraction. These extracted data are then used in epidemiologic or statistical models as if they were abstracted observations. Analytical results derived from extracted data in this way may differ from those given by abstracted data, and the magnitude of this difference is not directly informed by standard ML performance metrics. METHODS: In this paper, we define the task of postprediction inference, which is to recover similar estimation and inference from an ML-extracted variable that would be obtained from abstracting the variable. We consider fitting a Cox proportional hazards model that uses a binary ML-extracted variable as a covariate and evaluate four approaches for postprediction inference in this setting. The first two approaches only require the ML-predicted probability, while the latter two additionally require a labeled (human abstracted) validation data set. RESULTS: Our results for both simulated data and EHR-derived RWD from a national cohort demonstrate that we can improve inference from ML-extracted variables by leveraging a limited amount of labeled data. CONCLUSION: We describe and evaluate methods for fitting statistical models using ML-extracted variables subject to model error. We show that estimation and inference is generally valid when using extracted data from high-performing ML models. More complex methods that incorporate auxiliary labeled data provide further improvements.

Original languageEnglish (US)
Pages (from-to)e2200174
JournalJCO Clinical Cancer Informatics
Volume7
DOIs
StatePublished - May 1 2023

ASJC Scopus subject areas

  • General Medicine

Fingerprint

Dive into the research topics of 'Postprediction Inference for Clinical Characteristics Extracted With Machine Learning on Electronic Health Records'. Together they form a unique fingerprint.

Cite this