Introduction
Epilepsy is a chronic neurological disorder affecting over 50 million people worldwide. Continuous monitoring is critical for managing the condition and preventing Sudden Unexpected Death in Epilepsy (SUDEP). However, current monitoring solutions face a significant "usability vs. accuracy" trade-off. While Electroencephalogram (EEG) monitoring remains the gold standard for accuracy, it requires bulky, stigmatizing head caps that are impractical for daily use. Conversely, single-signal wearables like ECG chest straps are discreet but often lack the diagnostic precision of multi-modal clinical systems.
This paper addresses this gap by proposing a novel Many-to-One Knowledge Distillation (KD) framework. This approach allows a lightweight, single-signal wearable system to inherit the diagnostic power of a complex, multi-modal medical setup, enabling high-accuracy seizure detection on low-power Internet of Things (IoT) devices.
Methodology: Many-to-One Knowledge Distillation
The core of the proposed framework is the transfer of knowledge from a complex "Teacher" model to a lightweight "Student" model. The Teacher model is an ensemble of three Res1DCNN (1D Residual Convolutional Neural Networks) that processes synchronized multi-modal inputs: two EEG channels and one ECG channel. This setup simulates a high-fidelity wearable like "e-Glass."
In contrast, the Student model consists of a single Res1DCNN that takes only the ECG signal as input. During the distillation process, the student is not merely trained on binary labels (seizure vs. non-seizure). Instead, the authors employ a feature-based KD approach where the student’s internal feature maps are forced to mimic the teacher’s multi-modal feature maps using an L2 distance loss function. This allows the student to learn "hidden" correlations between the ECG signal and brain activity that are typically only visible through EEG.
Model Architecture: Res1DCNN
Both the teacher and student models utilize a Res1DCNN architecture designed for efficient temporal feature extraction. The network processes 3-second signal segments (768 samples at 256 Hz).
As shown in the architecture diagram, the model employs 1D convolutional layers with varying filter sizes (7 and 3) and residual connections to facilitate deeper learning without gradient degradation. The final layers include a dense layer and a softmax activation to produce the binary classification. For deployment on edge hardware, the models were implemented using 16-bit fixed-point arithmetic to accommodate the constraints of low-power microcontrollers.
Experimental Setup and Dataset
The study utilized the EPILEPSIAE dataset, a comprehensive clinical database containing data from 29 patients, totaling 4,603 hours of recordings and 277 seizures. To address the inherent class imbalance of seizure events, the researchers used undersampling to create a balanced training set. The models were evaluated on edge AI platforms, specifically the Kendryte K210 and Raspberry Pi Zero, to measure real-world performance and energy efficiency.
Key Results and Discussion
The experimental results highlight the effectiveness of the Many-to-One KD approach:
- Performance Retention: The distilled ECG-only Student model achieved a Geometric Mean (Gmean) of 89.87%, remarkably close to the multi-modal Teacher’s 91.22%. This represents a significant improvement over standard ECG models trained without distillation, which typically achieve around 80% Gmean.
- Computational Efficiency: The student model proved to be 2.9x faster than the teacher model when tested on a Raspberry Pi Zero.
- Power and Battery Life: The approach yielded a 37.65% reduction in energy consumption. On a standard 570 mAh wearable battery, the distilled model can operate for 16.29 hours on the Kendryte K210, compared to only 5.71 hours for the teacher model on a Pi Zero.
While the transition to 16-bit fixed-point quantization resulted in a minor accuracy drop (~0.9%), the gains in efficiency and battery life make the system highly viable for long-term wearable monitoring.
Conclusion
By leveraging Many-to-One Knowledge Distillation, the researchers have demonstrated that it is possible to achieve clinical-grade seizure detection using only a discreet ECG chest strap. This framework effectively bridges the gap between high-fidelity medical monitoring and the practical constraints of wearable IoT devices, offering a promising path toward reducing the stigma and improving the safety of individuals living with epilepsy.
Summary updated