A post-training quantization framework for EEG-based sleep stage classification

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.

Authors

Institutions

Publication Details

Journal
Journal of Neural Engineering
Published
2026-11-23
DOI
https://doi.org/10.1088/1741-2552/aec592
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A post-training quantization framework for EEG-based sleep stage classification

Feng Wan, Yuanguo Wang, Rencheng Song, Chang Li et al.
Journal of Neural Engineering
Advanced Neural Network Applications
article

A post-training quantization framework for EEG-based sleep stage classification

Feng Wan, Yuanguo Wang, Rencheng Song, Chang Li, Xun Chen, Yu Wang
article en

Abstract

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.

Journal of Neural Engineering
University of Science and Technology of China (CN), Hefei University of Technology (CN), University of Macau (MO)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
A post-training quantization framework for EEG-based sleep stage classification — Feng Wan, Yuanguo Wang, et al. · Journal of Neural Engineering (2026) | TGRS Research Map | TGRS