Abstract
Dementia-related cognitive impairment (CI) is a neurodegenerative disorder affecting over 55 million people worldwide, with a new case appearing every three seconds. Globally, 75% of cases go undiagnosed, leading to an estimated annual cost of USD 1.3 trillion. While electronic health records (EHR) contain vital clues for early detection, manual review is tedious and error-prone. This paper proposes NeuraHealth, a novel framework to identify patients with undiagnosed CI. By fine-tuning a bi-directional attention-based deep learning model (ClinicalBERT) on patient EHRs from the Mass General Brigham BioBank, the system classifies sequences to generate features for a patient-level regularized logistic regression model. NeuraHealth outperforms existing state-of-the-art computational and clinical methods, providing a scalable, high-speed discovery tool for medical facilities.
Introduction
Dementia-related cognitive impairment is a global health crisis where up to 75% of cases remain undiagnosed. Clinicians often record observations in unstructured "clinical notes," but these clues frequently fail to trigger formal diagnoses or structured ICD codes. The sheer volume and complexity of EHR data make manual review impossible for overstretched primary care physicians. Previous computational attempts often relied on simple keyword matching or basic machine learning (like TF-IDF), which fail to understand linguistic context—for instance, failing to distinguish between a patient having a symptom and a patient being a caregiver for someone else with that symptom. NeuraHealth bridges this gap with a context-aware, scalable screening tool.
Methodology
The NeuraHealth framework utilizes a two-step automated pipeline designed to mimic a clinician's diagnostic workflow.
- Sequence Classification: The system first fine-tunes ClinicalBERT, a transformer-based model pre-trained on clinical text. Unlike traditional models, ClinicalBERT uses bidirectional attention to understand the relationship between words in a sequence, allowing it to handle complex linguistic structures like negation and subject-object relationships.
- Patient Classification: Predictions from the sequence classifier are aggregated into structured features (e.g., the frequency of positive CI indicators). These features are then processed by an L1 Regularized Logistic Regression model to determine a final patient-level probability of cognitive impairment.
Data Acquisition and Preprocessing
The study utilized data from the Mass General Brigham BioBank, encompassing approximately 40,000 patients and 10 million EHRs. To reduce computational load and noise, the pipeline extracts 800-character sequences centered around 18 specific dementia-related keywords.
A filtered cohort of 16,428 unique patients was established. For ground truth validation, a "gold-standard" dataset of 921 patients was manually reviewed by expert clinicians, ensuring the model's performance was measured against high-confidence clinical labels.
Results and Benchmarking
NeuraHealth demonstrated significant improvements over both traditional computational methods and current clinical standards:
- Sequence Level: ClinicalBERT achieved an AUC of 0.98 and 93% accuracy, outperforming the TF-IDF baseline (AUC 0.94).
- Patient Level: The integrated framework achieved 88% accuracy and an AUC of 0.92.
- Clinical Comparison: NeuraHealth was found to be 11% more accurate than CT scans (77%) and 8% more accurate than standard Neuropsychological Tests (80%) for early detection of cognitive impairment.
Discussion and Future Directions
The success of NeuraHealth highlights the necessity of deep learning for medical NLP, where context is paramount. The system is integrated into a web application capable of processing a patient's entire history in under 5 seconds, making it a viable tool for real-world clinical screening.
Future work will focus on addressing label scarcity through active learning loops, using entropy scores to identify uncertain cases for expert review. While currently focused on dementia, this two-step framework could potentially be adapted to detect other chronic conditions hidden within unstructured clinical notes, such as cardiovascular issues or sleep apnea.
Summary updated