Wearable sensor-based eye-rubbing monitoring: a hybrid CNN-attentionrub architecture for keratoconus prevention
摘要
Eye rubbing constitutes a primary modifiable risk factor for keratoconus progression and post-refractive surgery ectasia. Current automated detection systems using single-paradigm architectures exhibit suboptimal performance in capturing complex spatiotemporal motion signatures, while facing significant computational constraints on resource-limited wearable devices. In this paper, we propose a hybrid CNN-Transformer architecture for eye-rubbing detection using inertial measurement unit sensor data from consumer smartwatches, addressing the critical challenge of real-time processing on edge devices with limited computational resources. We developed a smartwatch-based application that evaluates multiple deep learning architectures, including gated recurrent units, long-short-term memory networks, convolutional neural networks (CNNs), Transformers, and hybrid models, to analyze time-series sensor data, while optimizing for computational efficiency and real-time performance. Our approach uses signal segmentation to divide data into fixed-length segments, processed through a one-dimensional (1D) CNN with Transformer-based self-attention to extract temporal and spatial features. The proposed CNN-Transformer architecture achieved 99.92% accuracy, 99.93% sensitivity, and 99.97% specificity, while maintaining real-time inference latency below 50ms on resource-constrained smartwatches, outperforming existing methods that report 90.3–97% accuracy with significantly higher computational overhead. Statistical analysis confirmed significant improvements (