Abstract
Patients with mental illnesses, particularly psychosis and obsessive-compulsive disorder (OCD), frequently exhibit deficits in executive function and visuospatial memory. Traditional assessments, such as the Rey‒Osterrieth Complex Figure Test (RCFT), performed in clinical settings require time and effort. This study aimed to develop a deep learning model using the RCFT based on eye tracking to detect impaired executive function during visuospatial memory encoding in patients with mental illnesses. In 96 patients with first-episode psychosis, 49 with clinical high risk for psychosis, 104 with OCD, and 159 healthy controls, eye movements were recorded during a 3-minute RCFT figure memorization, and organization and immediate recall scores were obtained. These scores, along with the fixation points indicating eye-focused locations in the figure, were used to train a Long Short-Term Memory + Attention model for detecting impaired executive function and visuospatial memory. The model distinguished between normal and impaired executive function with an F<sub>1</sub> score of 83.5% and identified visuospatial memory deficits with an F<sub>1</sub> score of 80.7%, regardless of psychiatric diagnosis. These findings suggested that this eye-tracking-based deep learning model can directly and rapidly identify impaired executive function during visuospatial memory encoding, with potential applications in various psychiatric and neurological disorders.
Introduction: The Challenge of Cognitive Assessment
In clinical psychiatry, assessing executive function—the suite of mental skills used for planning, focus, and organization—is a critical yet challenging task. The gold standard for evaluating these functions, alongside visuospatial memory, is the Rey-Osterrieth Complex Figure Test (RCFT). In this test, patients are asked to copy a complex geometric figure and later redraw it from memory.
Despite its widespread use, the RCFT faces significant clinical bottlenecks. Scoring is often subjective and labor-intensive, relying on manual evaluation by clinicians. Furthermore, performance can be confounded by motor skill deficits, such as hand tremors, which may mask a patient's true cognitive capacity. To address these issues, this study proposes a novel approach: bypassing the drawing phase and analyzing the "encoding" phase—how a patient’s eyes move while they first attempt to memorize the figure.
Methodology: Gaze as a Digital Biomarker
The researchers developed an integrated system combining high-speed eye-tracking (1,000-Hz sampling rate) with a deep learning architecture. Participants were given three minutes to memorize the RCFT figure while their gaze fixations were recorded.
The core of the system is a Long Short-Term Memory (LSTM) network enhanced with an Attention mechanism. LSTMs are uniquely suited for processing time-series data, allowing the model to interpret the sequence of a participant's gaze. The Attention layer further refines this by identifying the most informative fixations within the sequence. To train the model, participants were categorized into "normal" or "impaired" groups using the Boston Qualitative Scoring System (BQSS). To address the relative scarcity of "impaired" samples, the team employed the Synthetic Minority Over-sampling Technique (SMOTE) to ensure a balanced and robust training process.
Study Population and Clinical Characteristics
The study analyzed a diverse dataset of 408 participants to evaluate the model's transdiagnostic applicability. This cohort included individuals with first-episode psychosis (FEP), those at clinical high risk (CHR) for psychosis, patients with obsessive-compulsive disorder (OCD), and healthy controls (HC).
As shown in the clinical data, significant differences were observed across groups in terms of age, IQ, and symptom severity (PANSS and SIPS scores), providing a rich variety of cognitive profiles for model training.
Results: High Accuracy Across Diagnoses
The LSTM+Attention model demonstrated high accuracy in identifying cognitive deficits. It achieved an $F_1$ score of 83.5% for detecting executive function (organization) impairment and 80.7% for visuospatial memory (recall) deficits.
Statistical analysis of the RCFT scores revealed that healthy controls significantly outperformed patient groups in both organization and recall. The model's success suggests that eye movements serve as a direct proxy for mental strategy. While healthy participants exhibited structured exploration of the figure, impaired patients often showed disorganized gaze patterns, such as narrow horizontal movements or neglect of critical details. Crucially, the model's performance was independent of specific psychiatric diagnoses, suggesting that executive dysfunction is a shared trait across these disorders.
Discussion and Future Outlook
By focusing on the 3-minute memorization phase, this eye-tracking system provides a rapid, objective, and motor-independent assessment of cognitive function. However, several areas for future work remain. The reliance on synthetic data (SMOTE) due to the small size of the impaired group highlights the need for larger validation studies. Additionally, future iterations could move beyond binary classification to provide a gradient "severity scale" and incorporate "Explainable AI" techniques to better understand the specific gaze features driving the model's decisions. Despite these limitations, the system represents a significant step toward automated, high-throughput cognitive screening in clinical settings.
Summary updated