Automated Identification of Eviction Status from Electronic Health Record Notes

Zonghai Yao, Jack Tsai, Weisong Liu, David A. Levy, Emily Druhl, Joel I Reisman, Hong YuJ. Am. Medical Informatics Assoc 2022

Abstract

Eviction is a critical social determinant of health (SBDH) linked to adverse clinical outcomes, yet it lacks structured coding in electronic health records (EHRs). This paper presents KIRESH-Prompt, an NLP system that identifies eviction status from unstructured clinician notes. By incorporating knowledge of related SBDH "ripple effects" and utilizing a multi-task prompting strategy, the model achieves superior performance over standard clinical language models. Results demonstrate that KIRESH-Prompt significantly improves detection accuracy and model calibration, offering a scalable solution for tracking housing instability in patient populations.

Introduction

Social Determinants of Health (SBDH)—the conditions in which people live and work—have a profound impact on clinical outcomes. Eviction is a particularly devastating SBDH, often triggering a "cascade of negative events" like job loss, homelessness, and severe mental health crises.

However, eviction is notoriously difficult to track. Unlike homelessness, which has a specific ICD-10 code (Z59.0), there is no structured medical code for eviction. Information about a patient’s eviction status is usually buried in unstructured clinician notes, such as social work reports or mental health evaluations. Manually reviewing these millions of notes is infeasible, and standard keyword searches often fail to capture the nuance of whether an eviction is current, historical, or merely a future risk.

Examples of eviction status categories and associated clinical note snippets.

Methodology

The researchers developed a three-pronged approach to move beyond simple text classification:

  1. KIRESH (Knowledge Injection based on Ripple Effects of SBDH): Recognizing that social factors are intertwined, the authors used an auxiliary NLP system to identify 13 other SBDH (e.g., food insecurity, unemployment). This "ancillary knowledge" is injected into the model, helping it recognize that a patient facing financial or housing instability is statistically more likely to be facing eviction.
  2. Multi-task Prompt Design: Instead of treating "Presence" (Is there an eviction?) and "Period" (When is it happening?) as separate problems, the model uses a natural language prompt: "The eviction presence is [MASK]. The eviction period is [MASK]." This forces the model to "self-reason" about the intrinsic connection between the two labels during training.
  3. Temperature Scaling for Calibration: Clinical models must be trustworthy. Because the dataset is highly imbalanced, models tend to become over-confident. The authors applied Temperature Scaling to calibrate the model’s probability outputs, ensuring that confidence scores accurately reflect the likelihood of correctness.

Experimental Setup

The primary dataset consisted of 5,000 gold-standard annotated notes from the Veterans Health Administration (VHA), focusing on Homeless Program, Social Work, and Mental Health notes from 2016–2021. To prove generalizability, the KIRESH method was also validated on the public MIMIC-SBDH benchmark dataset.

Key Results

The KIRESH-Prompt model, built on top of Bio_ClinicalBERT, emerged as the top performer across multiple metrics.

Performance comparison of KIRESH-Prompt against baseline models across various training data sizes.
  • Predictive Accuracy: The model achieved a 0.746 MCC for eviction period and a 0.668 MCC for eviction presence when trained on the full dataset.
  • Data Efficiency: While performance was lower with very small datasets, the model began to significantly outperform baselines once training data reached 30% (~1,000 notes), suggesting the "Ripple Effect" requires a baseline of data to learn effectively.
  • Calibration Success: Temperature scaling effectively reduced the Expected Calibration Error (ECE) from approximately 16% to 5%, making the model's predictions far more reliable for clinical deployment.

Conclusion

The KIRESH-Prompt model demonstrates that SBDH are a network of variables rather than isolated factors. By leveraging these "ripple effects" and using prompting to capture logical dependencies, researchers have created a tool capable of identifying eviction risk with high accuracy and reliability. Future work will focus on improving performance for ambiguous "Uncertain" cases and incorporating longitudinal patient history to track housing stability over time.

Summary updated

BibTeX
@article{yao2022automated,
  author = {Zonghai Yao and Jack Tsai and Weisong Liu and David A. Levy and Emily Druhl and Joel I Reisman and Hong Yu},
  title = {{Automated Identification of Eviction Status from Electronic Health Record Notes}},
  journal = {J. Am. Medical Informatics Assoc},
  year = {2022},
  url = {https://openreview.net/forum?id=-GAXNA8OSW},
}
Figure