A Natural Language Processing Algorithm for Classifying Suicidal Behaviors in Alzheimer’s Disease and Related Dementia Patients: Development and Validation Using Electronic Health Records Data

Kimia Zandbiglari, Hamid Reza Hasanzadeh, Pareeta Kotecha, Ruba Sajdeya, Amie Goodin, Tianze Jiao, Farzana Islam Adiba, Mamoun Mardini, Jiang Bian, Masoud RouhizadehmedRxiv 2023

Abstract

This study aimed to develop a natural language processing algorithm (NLP) using machine learning (ML) and Deep Learning (DL) techniques to identify and classify documentation of suicidal behaviors in patients with Alzheimer's disease and related dementia (ADRD). We utilized MIMIC-III and MIMIC-IV datasets and identified ADRD patients and subsequently those with suicide ideation using relevant International Classification of Diseases (ICD) codes. We used cosine similarity with ScAN (Suicide Attempt and Ideation Events Dataset) to calculate semantic similarity scores of ScAN with extracted notes from MIMIC for the clinical notes. The notes were sorted based on these scores, and manual review and categorization into eight suicidal behavior categories were performed. The data were further analyzed using conventional ML and DL models, with manual annotation as a reference. The tested classifiers achieved classification results close to human performance with up to 98% precision and 98% recall of suicidal ideation in the ADRD patient population. Our NLP model effectively reproduced human annotation of suicidal ideation within the MIMIC dataset. These results establish a foundation for identifying and categorizing documentation related to suicidal ideation within ADRD population, contributing to the advancement of NLP techniques in healthcare for extracting and classifying clinical concepts, particularly focusing on suicidal ideation among patients with ADRD. Our study showcased the capability of a robust NLP algorithm to accurately identify and classify documentation of suicidal behaviors in ADRD patients.

Introduction

Suicide represents a critical public health challenge, particularly among older adults. For patients diagnosed with Alzheimer’s Disease and Related Dementias (ADRD), the risk is significantly elevated. Research indicates a 54% increase in suicide rates compared to the general population, with the risk peaking at a 243% increase within the first 90 days following diagnosis. As illustrated in Figure 1, crude suicide rates tend to increase with age, with a dramatic spike in the 75+ age group, particularly among males, highlighting the vulnerability of the demographic most affected by ADRD.

Crude suicide rates per 100,000 by age and gender, highlighting the increased risk in older populations.

While electronic health records (EHR) contain vital clues about a patient's mental state, extracting this information is a massive bottleneck. Manual "chart scrubbing" is slow, expensive, and highly subjective. There is an urgent need for objective, automated tools that can parse unstructured clinical narratives to identify suicidal ideation and behavior specifically within the ADRD population.

Methodology

The researchers developed a multi-label classification pipeline designed to handle the nuance of clinical language. Their approach followed several key stages:

  1. Cohort Selection: ICD-9 and ICD-10 codes were used to identify ADRD patients with suicide-related entries in the MIMIC-III and MIMIC-IV databases.
  2. Snippet Extraction via Semantic Similarity: To find relevant text within thousands of notes, the team used cosine similarity. They compared MIMIC notes against the ScAN (Suicide Attempt and Ideation Events) dataset, extracting snippets that were semantically similar to known suicidal documentation.
  3. Expert Annotation: A team of experts labeled 4,364 snippets across eight categories, including active/passive ideation, suicide attempts, and non-suicidal self-injury (NSSI). The definitions for these labels are provided in Figure 2.
Definitions of the eight suicidal behavior categories used for expert annotation and model training.
  1. Model Benchmarking: The team compared conventional machine learning (Logistic Regression, SVM, Random Forest) against transformer-based deep learning models (BERT, RoBERTa, and ClinicalBERT).
  2. Multi-label Strategy: Since a single clinical note might mention both a "mental disorder" and "suicidal ideation," they used a Binary Relevance approach, treating each label as an independent classification task.

Key Results

The deep learning models were the clear winners, nearly matching human-level annotation accuracy.

  • ClinicalBERT Performance: Achieved a 98% Micro F1-score, with 98% precision and 98% recall. This suggests the model is incredibly robust at both finding relevant cases and avoiding false alarms.
  • Conventional ML: The best non-deep-learning model was the Linear Support Vector Machine (L-SVM), which reached a Micro F1-score of 79%. While respectable, it fell far short of the transformer models in capturing the context required to distinguish between different types of suicidal behavior.
  • Specific Categories: The model was particularly effective at identifying "Suicide attempts" and "Active suicidal ideation," which are the most critical categories for immediate clinical intervention.

Discussion and Limitations

The study highlights that domain specificity matters. ClinicalBERT significantly outperformed standard BERT and RoBERTa, emphasizing that "understanding" medical jargon and the specific structure of clinical shorthand is crucial for high-stakes healthcare NLP. Furthermore, using cosine similarity with the ScAN dataset to pre-filter notes solved a major efficiency problem, focusing human expertise on the most relevant snippets.

However, the authors identify two primary hurdles for future implementation:

  1. The Temporal Gap: The current model identifies if a behavior is documented but doesn't always distinguish when. Distinguishing between historical and current risk is vital for clinical triage.
  2. Intent in Overdoses: Categorizing overdoses remains difficult. Without explicit context, it is hard for an algorithm (or even a human) to determine if an overdose was a deliberate suicide attempt or an accidental misuse of medication—a common issue in dementia patients.

Future iterations should incorporate "period assertion" to better understand the timing of events and undergo validation on larger, more diverse datasets to ensure cross-institutional reliability.

Summary updated

BibTeX
@misc{zandbiglari2023natural,
  author = {Kimia Zandbiglari and Hamid Reza Hasanzadeh and Pareeta Kotecha and Ruba Sajdeya and Amie Goodin and Tianze Jiao and Farzana Islam Adiba and Mamoun Mardini and Jiang Bian and Masoud Rouhizadeh},
  title = {{A Natural Language Processing Algorithm for Classifying Suicidal Behaviors in Alzheimer’s Disease and Related Dementia Patients: Development and Validation Using Electronic Health Records Data}},
  year = {2023},
  doi = {10.1101/2023.07.21.23292976},
  howpublished = {medRxiv},
}
Figure