Answers are grounded in this paper and cite their sources.
Objective. Sleep classification models play a crucial role in assessing sleep quality. Although the classification performance of these models has continuously improved in recent years, significant accuracy degradation is commonly observed when quantizing and deploying them on edge devices with limited memory and computational resources. Approach. To address this challenge, we propose a posttraining quantization framework for EEG-based sleep stage classification. Specifically, we first identify convolutional and linear layers within the model, then compute layerwise sensitivities based on each layer’s input. We dynamically adjust the threshold for each layer based on its sensitivity, using this threshold to detect abnormal weights causing excessive quantization error in that layer. To ensure quantization accuracy, we preserve these abnormal weights at their original precision while compressing the remaining weights to 4 bits. After quantizing each layer, we employ dynamic low-rank compensation to correct quantization errors and further enhance accuracy, addressing information loss during quantization. Main results. Experiments on the Sleep-EDF-20, Sleep-EDF-78 and SHHS datasets demonstrate that our method achieves near-lossless compression: the accuracy of the vast majority of sleep classification models drops by less than 1%, while reducing model size by nearly 8 times. Significance. This work provides the first general framework for post-training quantization of sleep classification models, offering a new approach for the practical deployment of these models on edge devices.
No takes yet. Share an insight, caveat, or question.
Wang et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: