Conceptualizing Machine Learning for Dynamic Information Retrieval of Electronic Health Record Notes

Sharon Jiang, Shannon Shen, Monica Agrawal, Barbara D. Lam, Nicholas Kurtzman, Steven Horng, David R. Karger, David A. Sontag · DOI

Electronic Health Records (EHRs) are a double-edged sword in modern medicine. While they centralize patient data, the sheer volume of unstructured text—often referred to as "chart bloat"—has become a primary driver of clinician burnout. In high-pressure environments like the Emergency Department (ED), the challenge is particularly acute. Clinicians must rapidly synthesize a patient’s history from dozens of previous notes to make time-sensitive decisions. This paper, presented at the 2023 Machine Learning for Healthcare (MLHC) conference, proposes a shift from static search to proactive, dynamic information retrieval (IR).

Reframing Retrieval as a Dynamic Task

The authors argue that a clinician's information needs are not static; they evolve throughout a patient encounter. What a doctor needs to know when first assessing a patient differs significantly from the specific details required while drafting a discharge summary. To address this, the researchers developed a framework that predicts which historical notes a clinician will need to access based on their current writing context. By treating retrieval as a proactive assistant rather than a passive search tool, the system aims to automate the "search and sift" process that currently consumes a significant portion of a clinician's shift.

The ED Writing Audit Logs (EWAL) Dataset

A key contribution of this work is the introduction of the ED Writing Audit Logs (EWAL) dataset. Collected from a large urban academic medical center, EWAL comprises 48,192 note versions across 6,514 patient visits. Unlike standard clinical datasets that only provide final documents, EWAL captures "snapshots" of notes as they are being written.

Crucially, these snapshots are paired with EHR audit logs—the digital "breadcrumbs" left when a clinician views a previous note. These logs provide a "silver" supervision signal, allowing the model to learn from actual clinician behavior. If a clinician opened a note during a specific writing window, that note is labeled as relevant context for that moment in time.

Methodology and Feature Engineering

The retrieval task is framed as a binary classification problem: given the current documentation context, should a specific past document be retrieved? The authors utilized a Logistic Regression model, prioritizing interpretability to understand the clinical drivers of retrieval. The model incorporates three feature categories:

  1. Patient/Clinician Context: Including the chief complaint (one-hot encoded) and the clinician’s level of training.
  2. Metadata: Document recency, document type, and "read repetition" (how many times the note was viewed previously).
  3. Textual Features: Bag-of-Words (BoW) representations of both the source document and the note currently under production.

Key Findings and Model Performance

The model demonstrated high predictive accuracy, achieving an AUC of 0.963. In a simulated retrieval environment, it reached a Precision@10 of 0.720, suggesting that 7 out of 10 recommended notes would be relevant to the clinician's current task.

Beyond raw metrics, the study revealed several clinical insights:

  • The Copy-Forwarding Signal: There is a significant (52% ROUGE-1) unigram overlap between the notes clinicians read and the notes they write. This confirms that retrieval is a core part of the synthesis and documentation process; clinicians are actively extracting information from the notes they retrieve.
  • Beyond Recency: While the most recent notes are often the most relevant, the model maintained a high AUC (0.916) even when the five most recent notes were excluded. This indicates the model learns semantic relevance rather than relying on a simple chronological heuristic.
  • Information Phenotypes: Qualitative analysis showed that retrieval needs vary by specialty. For instance, an ED resident might focus on the most recent specialist note, whereas a specialist might delve deeper into months of primary care history to build a complete picture.

Expert Validation and Limitations

To verify clinical utility, two board-certified physicians reviewed the model’s top-ranked suggestions. They found that the system often identified critical notes—such as post-operative checks from several days prior—that might otherwise be overlooked in a manual search.

However, the authors note several limitations. The use of audit logs introduces "label noise," as a clinician might open a note only to find it irrelevant. Additionally, the current Bag-of-Words approach, while interpretable, may lack the semantic depth of Transformer-based models like ClinicalBERT. The study was also limited to the Emergency Department, and retrieval patterns likely differ in outpatient oncology or long-term inpatient care.

Conclusion

This research provides a foundational framework for proactive information retrieval in the EHR. By leveraging existing audit logs, the authors demonstrate that machine learning can effectively anticipate clinician needs, potentially reducing the cognitive load of documentation. The next step for this work is a pilot deployment to determine if these proactive suggestions can save time and improve decision-making in real-world clinical encounters.

Summary updated

BibTeX
@inproceedings{jiang2023conceptualizing,
  author = {Sharon Jiang and Shannon Shen and Monica Agrawal and Barbara D. Lam and Nicholas Kurtzman and Steven Horng and David R. Karger and David A. Sontag},
  title = {{Conceptualizing Machine Learning for Dynamic Information Retrieval of Electronic Health Record Notes}},
  booktitle = {MLHC},
  year = {2023},
  url = {https://openreview.net/forum?id=ZqdhrtPDlHw},
}
Figure