Exploring Generative Pre-Trained Transformer-4-Vision for Nystagmus Classification: Development and Validation of a Pupil-Tracking Process
Open Access
- 6 June 2025
- journal article
- research article
- Published by JMIR Publications Inc. in JMIR Formative Research
- Vol. 9 (1) , e70070
Abstract
Background: Conventional nystagmus classification methods often rely on subjective observation by specialists, which is time-consuming and variable among clinicians. Recently, deep learning techniques have been used to automate nystagmus classification using convolutional and recurrent neural networks. These networks can accurately classify nystagmus patterns using video data. However, associated challenges including the need for large datasets when creating models, limited applicability to address specific image conditions, and the complexity associated with using these models. Objective: This study aimed to evaluate a novel approach for nystagmus classification that used the Generative Pre-trained Transformer 4 Vision (GPT-4V) model, which is a state-of-the-art large-scale language model with powerful image recognition capabilities. Methods: We developed a pupil-tracking process using a nystagmus-recording video and verified the optimization model’s accuracy using GPT-4V classification and nystagmus recording. We tested whether the created optimization model could be evaluated in six categories of nystagmus: right horizontal, left horizontal, upward, downward, right torsional, and left torsional. The traced trajectory was input as two-dimensional coordinate data or an image, and multiple in-context learning methods were evaluated. Results: The developed model showed an overall classification accuracy of 37% when using pupil-traced images and a maximum accuracy of 24.6% when pupil coordinates were used as input. Regarding orientation, we achieved a maximum accuracy of 69% for the classification of horizontal nystagmus patterns but a lower accuracy for the vertical and torsional components. Conclusions: We demonstrated the potential of versatile vertigo management in a generative artificial intelligence model that improves the accuracy and efficiency of nystagmus classification. We also highlighted areas for further improvement, such as expanding the dataset size and enhancing input modalities, to improve classification performance across all nystagmus types. The GPT-4V model validated only for recognizing still images can be linked to video classification and proposed as a novel method.Keywords
This publication has 25 references indexed in Scilit:
- Adequacy of prostate cancer prevention and screening recommendations provided by an artificial intelligence-powered large language modelInternational Urology and Nephrology, 2024
- A comprehensive evaluation of large Language models on benchmark biomedical text processing tasksComputers in Biology and Medicine, 2024
- A nystagmus extraction system using artificial intelligence for video-nystagmographyScientific Reports, 2023
- Evaluating GPT as an Adjunct for Radiologic Decision Making: GPT-4 Versus GPT-3.5 in a Breast Imaging PilotJournal of the American College of Radiology, 2023
- Deep learning based torsional nystagmus detection for dizziness and vertigo diagnosisBiomedical Signal Processing and Control, 2021
- NystagmusJAMA, 2021
- DeepVOG: Open-source pupil segmentation and gaze estimation in neuroscience using deep learningJournal of Neuroscience Methods, 2019
- Unobtrusive and pervasive video-based eye-gaze trackingImage and Vision Computing, 2018
- Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep LearningCell, 2018
- Long-term outcome and health-related quality of life in benign paroxysmal positional vertigoEuropean Archives of Oto-Rhino-Laryngology, 2004