Abstract
Dementia screening is critical for early intervention, yet traditional methods like the Clock Drawing Test (CDT) require clinical supervision. This paper presents an automated, mobile-based CDT system that utilizes a hybrid AI engine combining spatio-temporal stroke analysis with deep learning-based image recognition. By integrating DBSCAN-based clustering and Mask R-CNN segmentation, the system achieves a 0.763 Pearson correlation with expert human scorers. This approach enables low-cost, frequent self-monitoring for at-risk populations using standard smartphones and tablets.
Introduction
Dementia currently affects millions of individuals worldwide, with a new diagnosis occurring every three seconds. While no cure exists, early detection is paramount for symptom management and reducing long-term care burdens. The Clock Drawing Test (CDT) is a gold-standard clinical tool for cognitive assessment due to its cross-cultural applicability and speed. However, manual scoring is labor-intensive and requires specialized training, limiting its use in large-scale or frequent screenings.
Previous attempts to automate the CDT often relied on expensive hardware, such as digitizer pens. This research addresses the challenge of implementing a robust CDT on standard mobile devices, which must handle the inherent "messiness" of finger-drawn input on touchscreens.
Methodology: The Hybrid AI Engine
The proposed system employs a dual-module architecture to process hand-drawn clocks, balancing the strengths of temporal process data and spatial image data.
1. Spatio-temporal Module (DBSCAN + CNN)
This module analyzes the user’s drawing process in real-time. It utilizes the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm to group individual touch points into coherent strokes representing digits or clock hands. These components are then classified by a CNN ensemble trained on an augmented MNIST dataset to recognize numbers 1 through 12.
2. Image-based Module (Mask R-CNN)
To provide robustness against overlapping strokes or noisy input where temporal clustering might fail, the system incorporates a Mask R-CNN with a ResNet50 backbone. This module treats the final drawing as a static image, performing instance segmentation to identify the clock face, hands, and digits.
3. Heuristic Integration and Scoring
The system intelligently switches between modules based on input quality. If DBSCAN produces excessive noise, the system defaults to the Mask R-CNN output. The final scoring is performed by a rule-based module following established clinical criteria (e.g., Mendez and Royall scales). It calculates hand angles via cross-products and evaluates digit sequences using Levenshtein distance to detect omissions or ordering errors.
Data Strategy
A significant challenge in medical AI is the scarcity of labeled clinical data. The authors addressed this through a two-pronged approach:
- Synthetic Data Generation: A massive training set was created by sampling clock outlines from Google’s "Quick Draw" dataset and algorithmically populating them with digits and hands. This "clock generator" simulated various cognitive errors (e.g., incorrect times, missing numbers) to bootstrap the models.
- Human Validation: The system was validated using 100 real-world drawings collected from subjects aged 21 to 55 to ensure real-world applicability.
Results and Discussion
The automated system demonstrated high clinical alignment, achieving a Pearson correlation of 0.763 with scores from expert human raters. The hybrid approach proved essential; while temporal data helps disentangle complex strokes, spatial deep learning provides a necessary "safety net" for noisy mobile inputs.
Furthermore, the system provides granular feedback based on specific cognitive deficits rather than a simple binary classification. This transparency is vital for clinical utility, allowing healthcare providers to understand why a particular score was assigned.
Limitations and Future Work
While promising, the current validation cohort (ages 21–55) does not fully represent the primary at-risk demographic for dementia. Future research will focus on validating the tool with elderly populations, accounting for age-related factors such as physical tremors. Additionally, the team plans to conduct clinical trials in hospitals to evaluate performance in real-world diagnostic settings.
Summary updated