Reducing the Complexity of Deep Learning Models for EEG Analysis on Wearable Devices

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Internet of Things (IoT) & Connected Devices · Depth: Advanced, extended

Summary

Deploying deep neural networks (DNNs) for electroencephalogram (EEG) analysis on resource-constrained wearable devices, particularly for epileptic seizure detection, is investigated. The study explores parameter quantization and electrode reduction to balance accuracy and computational complexity. The ResNet-LSTM model, achieving 90.38% AUROC on the TUSZ dataset, was identified as optimal. Applying 8-bit quantization to LSTM and 16-bit to CNN reduced model size by 59% (from 15.75 MB to 6.4 MB) and execution time by 3.4x with minimal accuracy loss. Further, LQ-Net binarization (4-level) reduced the model to 2.3 MB and accelerated execution by 4.1x, but with a 5% accuracy drop (to 86.12% AUROC). Electrode reduction from 20 to 8 channels (10 electrodes) maintained accuracy while reducing input data by 60%. Combining all methods resulted in a 61% network size reduction, 80% input size reduction, 70% acceleration, and less than 1% AUROC decrease.

Key takeaway

For AI Hardware Engineers designing wearable EEG devices, you should prioritize a ResNet-LSTM architecture and implement mixed-precision quantization (e.g., 8-bit LSTM, 16-bit CNN) to achieve significant reductions in model size and execution time. Additionally, consider reducing EEG electrode count to 8 channels to simplify device design and improve user comfort, all while maintaining high accuracy for critical applications like epileptic seizure detection. This approach balances performance with tight resource constraints.

Key insights

DNNs for EEG analysis on wearables can be optimized for resource constraints through quantization and electrode reduction with minimal accuracy loss.

Principles

Method

The study used the TUSZ dataset, comparing DNNs, selecting ResNet-LSTM, then applying 8-bit LSTM/16-bit CNN quantization and reducing 20 EEG channels to 8 (10 electrodes) for epileptic seizure detection.

In practice

Topics

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, AI Hardware Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.