Xie Tian, Ma Ning
Philosophy and Social Science Laboratory of Reading and Development in Children and Adolescents (South China Normal University), Ministry of Education; Center for Sleep Research, Center for Studies of Psychological Application, Guangdong Key Laboratory of Mental Health & Cognitive Science, School of Psychology, South China Normal University, Guangzhou, China.
Sleep. 2025 Feb 10;48(2). doi: 10.1093/sleep/zsae199.
Heart rate variability (HRV)-based machine learning models hold promise for real-world vigilance evaluation, yet their real-time applicability is limited by lengthy feature extraction times and reliance on subjective benchmarks. This study aimed to improve the objectivity and efficiency of HRV-based vigilance evaluation by associating HRV and behavior metrics through a sliding window approach.
Forty-four healthy adults underwent psychomotor vigilance tasks under both well-rested and sleep-deprived conditions, with simultaneous electrocardiogram recording. A sliding-window approach (30 seconds length, 10 seconds step) was used for HRV feature extraction and behavior assessment. Repeated-measures ANOVA was used to examine how HRV related to objective vigilance levels. Stability selection technique was applied for feature selection, and the vigilance ground truth-high (fastest 40%), intermediate (middle 20%), and low (slowest 40%)-was determined based on each participant's range of performance. Four machine-learning classifiers-k-nearest neighbors, support vector machine (SVM), AdaBoost, and random forest-were trained and tested using cross-validation.
Fluctuated vigilance performance indicated pronounced state instability, particularly after sleep deprivation. Temporary decrements in performance were associated with a decrease in heart rate and an increase in time-domain heart rate variability. SVM achieved the best performance, with a cross-validated accuracy of 89% for binary classification of high versus low vigilance epochs. Overall accuracy dropped to 72% for three-class classification in leave-one-participant-out cross-validation, but SVM maintained a precision of 84% in identifying low-vigilance epochs.
Sliding-window-based HRV metrics would effectively capture the fluctuations in vigilance during task execution, enabling more timely and accurate detection of performance decrement.
基于心率变异性(HRV)的机器学习模型有望用于现实世界中的警觉性评估,但其实时适用性受到冗长的特征提取时间和对主观基准的依赖的限制。本研究旨在通过滑动窗口方法将HRV与行为指标相关联,以提高基于HRV的警觉性评估的客观性和效率。
44名健康成年人在充分休息和睡眠剥夺两种条件下进行心理运动警觉任务,同时记录心电图。采用滑动窗口方法(长度30秒,步长10秒)进行HRV特征提取和行为评估。重复测量方差分析用于检验HRV与客观警觉水平的关系。应用稳定性选择技术进行特征选择,并根据每个参与者的表现范围确定警觉性的真实情况——高(最快40%)、中(中间20%)和低(最慢40%)。使用交叉验证对四种机器学习分类器——k近邻、支持向量机(SVM)、AdaBoost和随机森林——进行训练和测试。
波动的警觉表现表明状态明显不稳定,尤其是在睡眠剥夺后。表现的暂时下降与心率降低和时域心率变异性增加有关。SVM表现最佳,在高警觉期与低警觉期的二元分类中,交叉验证准确率为89%。在留一参与者交叉验证中的三类分类中,总体准确率降至72%,但SVM在识别低警觉期时保持了84%的精度。
基于滑动窗口的HRV指标将有效捕捉任务执行过程中警觉性的波动,从而更及时、准确地检测表现下降。