Introduction
Alzheimer’s Disease and Related Dementias (ADRD) represent a growing public health crisis, yet a significant portion of affected individuals remain undiagnosed. While Electronic Health Records (EHRs) contain a wealth of longitudinal patient data, critical indicators of cognitive decline are often buried within unstructured clinical notes. Traditional automated methods, such as keyword-based Natural Language Processing (NLP), frequently fail to capture the nuanced and evolving nature of cognitive impairment (CI). Conversely, manual chart review by experts—the current gold standard—is too resource-intensive for large-scale population screening. This study presents a scalable, high-accuracy framework leveraging the GPT-4o large language model (LLM) to automate the staging of cognitive impairment from clinical narratives.
Methodology
The core of the proposed system is a hierarchical summarization and classification pipeline designed to process years of patient history without exceeding model token limits.
The GPT-4o Framework
The framework follows a multi-stage process:
- Data Aggregation and Chunking: Clinical notes are collected, ordered chronologically, and segmented into manageable chunks.
- Hierarchical Summarization: GPT-4o generates summaries for each chunk, which are then synthesized into a comprehensive "summary of summaries."
- Classification and Reasoning: The final summary is used by a GPT-4o classifier to determine the patient's CI stage (Cognitively Unimpaired, Mild Cognitive Impairment, or Dementia). The model provides a clinical rationale and a self-reported confidence score for each assignment.
Comparative Benchmarking
To evaluate performance, the GPT-4o framework was compared against three alternative approaches:
- USE Framework: Utilizes keyword extraction followed by Universal Sentence Encoder (USE) embeddings and an XGBoost classifier.
- DementiaBERT: A domain-specific BERT model fine-tuned on clinical language related to dementia.
- Hybrid Framework: Combines GPT-4o-generated summaries with DementiaBERT embeddings and an XGBoost classifier.
Results
The framework was validated using two datasets from the Mass General Brigham (MGB) system: a CI Staging dataset (814 patients) and a CDR Scoring dataset (769 patients).
Performance in CI Staging
The GPT-4o framework achieved a weighted Cohen’s kappa of 0.95 and a Spearman correlation of 0.93, significantly outperforming the BERT-based models (kappa 0.82–0.85). Notably, the model identified cognitive impairment in 22.3% of patients who lacked a formal dementia-related ICD-10 diagnosis code in their records, demonstrating its utility in uncovering hidden cases.
Clinical Dementia Rating (CDR) Scoring
On the independent memory clinic dataset, the framework achieved a kappa of 0.83 for assigning global CDR scores. The inclusion of Retrieval-Augmented Generation (RAG) to provide official staging guidelines did not significantly improve performance, suggesting that GPT-4o already possessed sufficient internal knowledge of these clinical instruments.
Discussion
A key finding was the "MCI Gap"—Mild Cognitive Impairment proved the most difficult stage to classify for both the model and human experts, reflecting the inherent ambiguity of early-stage decline. Interestingly, GPT-4o’s confidence scores aligned closely with human adjudicator confidence, flagging the same complex cases as "uncertain."
While the model showed no gender bias, the study's primary limitation is the lack of demographic diversity, as the dataset was 93.1% non-Hispanic White. Future efforts will focus on validating the framework in more diverse populations and implementing "clinician-in-the-loop" workflows to support real-world diagnostic decision-making.
Summary updated