Skip to main content
QUICK REVIEW

[Paper Review] CEHR-BERT: Incorporating temporal information from structured EHR data to improve prediction tasks

Chao Pang, Xinzhuo Jiang|arXiv (Cornell University)|Nov 10, 2021
Machine Learning in HealthcareComputer Science13 references31 citations
TL;DR

CEHR-BERT integrates temporal information from structured EHR data into a BERT framework via artificial time tokens and temporal concept embeddings, plus a Visit Type Prediction objective, to improve multiple disease prediction tasks.

ABSTRACT

Embedding algorithms are increasingly used to represent clinical concepts in healthcare for improving machine learning tasks such as clinical phenotyping and disease prediction. Recent studies have adapted state-of-the-art bidirectional encoder representations from transformers (BERT) architecture to structured electronic health records (EHR) data for the generation of contextualized concept embeddings, yet do not fully incorporate temporal data across multiple clinical domains. Therefore we developed a new BERT adaptation, CEHR-BERT, to incorporate temporal information using a hybrid approach by augmenting the input to BERT using artificial time tokens, incorporating time, age, and concept embeddings, and introducing a new second learning objective for visit type. CEHR-BERT was trained on a subset of Columbia University Irving Medical Center-York Presbyterian Hospital's clinical data, which includes 2.4M patients, spanning over three decades, and tested using 4-fold cross-validation on the following prediction tasks: hospitalization, death, new heart failure (HF) diagnosis, and HF readmission. Our experiments show that CEHR-BERT outperformed existing state-of-the-art clinical BERT adaptations and baseline models across all 4 prediction tasks in both ROC-AUC and PR-AUC. CEHR-BERT also demonstrated strong transfer learning capability, as our model trained on only 5% of data outperformed comparison models trained on the entire data set. Ablation studies to better understand the contribution of each time component showed incremental gains with every element, suggesting that CEHR-BERT's incorporation of artificial time tokens, time and age embeddings with concept embeddings, and the addition of the second learning objective represents a promising approach for future BERT-based clinical embeddings.

Motivation & Objective

  • Motivate leveraging temporal structure in structured EHR data to improve downstream predictions.
  • Develop CEHR-BERT, a BERT-based model that encodes time via artificial time tokens and temporal embeddings.
  • Introduce a second pre-training objective (Visit Type Prediction) to boost predictive performance.
  • Evaluate CEHR-BERT on multiple clinical prediction tasks using a large CUIMC-NYP OMOP dataset.

Proposed method

  • Represent patient histories as visits with VS/VE tokens and artificial time tokens (ATT) between visits.
  • Concatenate concept embeddings with time and age embeddings to form temporal concept embeddings via a FC layer.
  • Pre-train with Masked Language Modeling (MLM) and a secondary Visit Type Prediction (VTP) objective.
  • Compare CEHR-BERT to BEHRT, MedBERT, and baselines using 4-fold evaluation across 4 prediction tasks.
  • Conduct ablations to assess the contribution of time tokens, time/age embeddings, and VTP.

Experimental results

Research questions

  • RQ1Can incorporating temporal information through artificial time tokens and temporal embeddings improve BERT-based representations for structured EHR data?
  • RQ2Does a visit-type prediction objective further boost downstream disease prediction performance?
  • RQ3How does CEHR-BERT compare to existing EHR-BERT adaptations (BEHRT, MedBERT) and traditional baselines on multiple prediction tasks?
  • RQ4Is CEHR-BERT effective in few-shot learning scenarios with limited labeled data?

Key findings

  • CEHR-BERT outperformed BEHRT, MedBERT, and baselines on all four prediction tasks (t2dm HF, HF hospitalization, discharge to home, death).
  • On t2dm HF, CEHR-BERT achieved AUC 80.7% and PR-AUC 32.3%.
  • On HF readmission, CEHR-BERT achieved AUC 66.3% and PR-AUC 38.6%.
  • On discharge to home with death outcome, CEHR-BERT achieved AUC 94.6% and PR-AUC 52.7%.
  • On hospitalization prediction, CEHR-BERT achieved AUC 75.9% and PR-AUC 31.1%.
  • In few-shot learning, CEHR-BERT with 5% of training data outperformed competitors trained on full data (e.g., AUC ~0.78, PR-AUC ~0.29 for t2dm HF).
  • Ablation showed incremental gains from time tokens, time/age embeddings, and the VTP objective, indicating their additive value.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.