A case study on generative artificial intelligence to extract the fundamental sleep parameters from polysomnography notes.

Journal: Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine
Published Date:

Abstract

UNLABELLED: Generative artificial intelligence utilizing transformer technology is widely seen as a groundbreaking advancement in applied artificial intelligence. The technology creates a unique opportunity to extract unstructured data from medical notes. In the current experiments, we extracted fundamental sleep parameters from polysomnography notes of veterans in the Corporate Data Warehouse national database using large language models. The "SOLAR-10.7B-Instruct" model extracted values associated with total sleep time, sleep onset latency, and sleep efficiency from the polysomnography notes. The model's performance was evaluated using 464 human annotated notes. The analysis showed close accuracy for the large language model compared to the human total sleep time and sleep efficiency extraction, and a considerable accuracy improvement (7.6%) in extracting sleep onset latency for the machine compared to human annotation. The large language model shows negligible hallucination (no more than 3.6%), and it has the capability to perform complicated reasoning to extract the desired sleep parameter.

Authors

  • Arash Maghsoudi
    Department of Biomedical Engineering, Science and Research Branch, Islamic Azad University, Tehran, Iran.
  • Amir Sharafkhaneh
    Section of Pulmonary and Critical Care Medicine, Department of Medicine, Baylor College of Medicine, Houston, TX, 77030, USA; Pulmonary, Critical Care and Sleep Medicine Section, Michael E. DeBakey VA Medical Center, Houston, TX, 77030, USA. Electronic address: amirs@bcm.edu.
  • Mehrnaz Azarian
    Center for Innovations in Quality, Effectiveness, and Safety, Michael E. DeBakey Veterans Affairs Medical Center, Houston, Texas.
  • Amin Ramezani
    Department of Medicine (HSRD), Baylor College of Medicine, Houston, TX, USA. Electronic address: Amin.Ramezani@bcm.edu.
  • Max Hirshkowitz
    Center for Innovations in Quality, Effectiveness, and Safety, Michael E. DeBakey Veterans Affairs Medical Center, Houston, Texas.
  • Javad Razjouyan
    Center for Innovations in Quality, Effectiveness, and Safety, Michael E. DeBakey VA Medical Center, Houston, TX, USA.