Search papers, labs, and topics across Lattice.
This paper introduces BERT-LER, a BERT-style model designed for clinical prediction tasks using structured electronic health records (EHRs), which encodes laboratory test results as discrete tokens while maintaining graded information through percentile-based binning. The model was pretrained and fine-tuned on a dataset of 75 million patients and evaluated on the EHRShot benchmark suite and a real-world asthma severity progression study, achieving competitive predictive performance. Notably, BERT-LER not only excels in prediction but also provides clinically relevant token-level attributions that align with known risk factors, addressing a critical gap in EHR modeling by combining interpretability with quantitative analysis.
BERT-LER not only outperforms existing models on laboratory-related tasks but also delivers explainable predictions that align with clinical risk factors.
Predictive models over structured electronic health records (EHRs) remain central to machine learning for healthcare, but few have jointly emphasized quantitative laboratory information and interpretability with respect to input medical events. We present BERT-LER, a BERT-style model for coded EHR timelines pretrained and fine-tuned from a de-identified EHR dataset of 75 million patients, that encodes laboratory test results as discrete tokens while retaining graded information through percentile-based binning, paired with Integrated Gradients for token-level attributions grounded in the input EHR sequence. We benchmark our approach on the public EHRShot benchmark suite and on an asthma severity progression study based on real-world data. This addresses a methodological gap in EHR foundation-style modeling by unifying laboratory value representation and explainability in a single framework, while assessing whether both predictive performance and explanations generalize beyond standard clinical prediction tasks. Across EHRShot and asthma tasks, BERT-LER achieves predictive performance that is competitive with, and on laboratory-related tasks often exceeds, publicly available benchmark models, and provides attributions that align with clinically known risk factors. Our architecture and explainability approach can be applied to many therapeutic areas and prediction tasks using language models trained on structured EHRs.