A case study on generative artificial intelligence to extract the fundamental sleep parameters from polysomnography
Arash Maghsoudi1,2, Amir Sharafkhaneh2,3, Mehrnaz Azarian1,2
1Center for Innovations in Quality, Effectiveness, and Safety, Michael E. DeBakey Veterans Affairs Medical Center, Houston, Texas.
Summary
Generative artificial intelligence accurately extracts sleep parameters from medical notes. This AI technology shows promise for improving sleep medicine data analysis with minimal errors.
Area of Science:
- Artificial Intelligence
- Natural Language Processing
- Medical Informatics
Background:
- Generative artificial intelligence (AI) and transformer technology represent significant advancements in applied AI.
- This technology offers a novel approach for extracting unstructured data from clinical notes.
Purpose of the Study:
- To evaluate the capability of large language models (LLMs) in extracting fundamental sleep parameters from polysomnography (PSG) notes.
- To assess the accuracy and reliability of LLM-based extraction compared to human annotations.
Main Methods:
- Utilized the "SOLAR-10.7B-Instruct" LLM to process PSG notes from veterans within the Corporate Data Warehouse national database.
- Extracted key sleep parameters: total sleep time, sleep onset latency, and sleep efficiency.
- Validated the LLM's performance against 464 human-annotated notes.
Main Results:
- The LLM demonstrated high accuracy comparable to human extraction for total sleep time and sleep efficiency.
- Achieved a 7.6% improvement in sleep onset latency extraction accuracy compared to human annotation.
- Exhibited negligible hallucination rates (≤3.6%) and robust reasoning capabilities.
Conclusions:
- LLMs show significant potential for accurately extracting critical sleep parameters from unstructured PSG notes.
- This AI-driven approach can enhance the efficiency and precision of sleep data analysis in clinical practice.
- The "SOLAR-10.7B-Instruct" model proves effective in complex data extraction tasks within sleep medicine.
Related Concept Videos
Sleep-Wake Cycles
1.2K
Sleep is an essential physiological process vital to maintaining overall well-being. The reticular activating system (RAS), a network of neurons in the brainstem, regulates wakefulness and sleep. While it may seem passive, sleep consists of distinct cycles, each with its unique characteristics and functions. Two key sleep phases are non-rapid eye movement (NREM) and rapid eye movement (REM).
NREM Sleep
NREM sleep comprises four progressive stages that seamlessly merge:
NREM Sleep
NREM sleep comprises four progressive stages that seamlessly merge:
1.2K
Narcolepsy
85
Narcolepsy is a chronic sleep disorder characterized by pervasive, uncontrolled sleepiness and other sleep disturbances. One of its hallmark symptoms is an abrupt transition to REM sleep upon falling asleep, which causes symptoms typically associated with this phase to occur unexpectedly during wakefulness. These include the following symptoms, which typically last from a minute or two to half an hour.
85


