A Neural Attention Model for Categorizing Patient Safety Events

Arman Cohan, Allan Fong, Nazli Goharian, Raj M. Ratwani

Introduction

Medical errors represent a critical challenge in healthcare, often cited as the third leading cause of death in the United States. To mitigate these risks, hospitals implement Patient Safety Event (PSE) reporting systems. These systems collect narratives from staff regarding adverse events or "near misses." However, the sheer volume of reports and the potential for human misclassification—where a nurse might record a "fall" that was fundamentally a "medication error"—hinder effective manual review and systemic improvement. Traditional NLP methods like Bag-of-Words often fail to capture the complex clinical context and long-term dependencies inherent in these narratives.

Methodology

The researchers propose a hybrid neural architecture, Att-CNN-BiRNN, designed to capture both local features and global context within clinical narratives. The model consists of four key stages:

  1. Embedding Layer: Utilizes Word2Vec pre-trained on Wikipedia and PubMed to grasp medical terminology.
  2. Convolutional Neural Network (CNN): Extracts local n-gram features (using filters of 2 to 6 words) to identify specific key phrases.
  3. Bidirectional RNN (LSTM): Captures long-range dependencies across the entire narrative sequence, processing text both forward and backward.
  4. Soft Attention Mechanism: This component dynamically weights the most relevant parts of the text. It allows the model to "attend" to specific sentences that define the event type, preventing the "forgetting" issue common in standard RNNs when processing long clinical notes.

Datasets

The model was rigorously tested on two large-scale real-world datasets. Dataset 1 contains over 82,000 reports across 20 categories, while Dataset 2 is significantly larger, comprising over 1.6 million reports from the Pennsylvania Patient Safety Authority categorized into 9 broad classes.

Table 1: Summary of the two datasets used for evaluation, including report counts and average lengths.

These datasets represent some of the most extensive applications of deep learning to patient safety text to date.

Key Results

The proposed Att-CNN-BiRNN model consistently outperformed traditional machine learning baselines (SVM, MNB, XGBoost) and standard deep learning models (CNN, RNN).

Table 3: Performance comparison (Accuracy and F1-score) across various models on Dataset 1 and Dataset 2.

On the larger Dataset 2, the proposed model achieved a test accuracy of 88.9% and an F1-score of 88.0%. These results represent a statistically significant improvement over traditional methods like SVM (84.7% accuracy) and even recent neural models like CNN-BiRNN without attention (86.8% accuracy). The improvements were verified using McNemar’s test, confirming the robustness of the gains.

Discussion and Insights

A key insight from the study is the model's ability to focus on the causal narrative rather than just the outcome. For instance, it can distinguish between a fall and the medication error that caused it. By combining CNNs for keyword detection and RNNs with attention for context, the model effectively filters "noise" in long, rambling reports.

Furthermore, the researchers observed a strong correlation between the number of training samples for a category and the model's performance. This suggests that as healthcare data continues to grow, the model's efficacy will likely improve further.

Limitations and Future Work

Despite its success, the model faces certain challenges:

  • The "Miscellaneous" Trap: The model often defaults to the "Miscellaneous" category for samples from under-represented classes, indicating a need for better handling of long-tail data.
  • Overlapping Categories: Distinguishing between highly similar categories, such as "Blood Bank" and "Lab/Specimen," remains difficult.
  • Future Directions: The authors suggest that incorporating hierarchical attention (sentence-level vs. word-level) could further enhance the understanding of exceptionally long clinical documents.

By automating the categorization of PSE reports with high accuracy, this neural attention model provides a scalable solution for identifying systemic medical errors, ultimately enhancing patient safety.

Summary updated

BibTeX
@inproceedings{cohan2017neural,
  author = {Arman Cohan and Allan Fong and Nazli Goharian and Raj M. Ratwani},
  title = {{A Neural Attention Model for Categorizing Patient Safety Events}},
  booktitle = {ECIR},
  year = {2017},
  doi = {10.1007/978-3-319-56608-5\_71},
}
Figure