中国安全科学学报 ›› 2026, Vol. 36 ›› Issue (3): 229-237.doi: 10.16265/j.cnki.issn1003-3033.2026.03.0432

• 职业健康 • 上一篇    下一篇

融合注意力机制的LSTM职工心理压力状态评价方法*

曹海青1(), 姚志英2,**(), 吕淑然1, 姚翠友1   

  1. 1 首都经济贸易大学 管理工程学院, 北京 100071
    2 北京物资学院 智能工程与供应链创新学院, 北京 101149
  • 收稿日期:2025-11-14 修回日期:2026-01-15 出版日期:2026-03-31
  • 通信作者:
    ** 姚志英(1977—),女,江苏淮安人,博士,副教授,主要从事应急物资管理、公共安全和供应链安全等方面的研究。E-mail:
  • 作者简介:

    曹海青 (1976—),男,山西吕梁人,博士,副教授,主要从事公共安全、数据化决策和智能算法方面的研究。E-mail:

    吕淑然,教授。

    姚翠友,教授。

Evaluation of employee's psychological stress status using LSTM with attention mechanism

CAO Haiqing1(), YAO Zhiying2,**(), LYU Shuran1, YAO Cuiyou1   

  1. 1 School of Management and Engineering, Capital University of Economics and Business, Beijing 100071, China
    2 School of Intelligent Engineering and Supply Chain Innovation, Beijing Wuzi University, Beijing 101149, China
  • Received:2025-11-14 Revised:2026-01-15 Published:2026-03-31

摘要:

为确保职工身心健康,提升心理压力评价方法的准确性与可解释性,以多模态生理时间序列数据为研究对象,提出一种融合注意力机制(AM)的长短期记忆(LSTM)网络方法(LSTMA),实现职工心理压力状态的准确评价。首先,以数据集WESAD中多模态生理时间序列数据(血容量脉搏(BVP)、心电图(ECG)、皮肤电活动(EDA)、肌电图(EMG)、呼吸(RESP)、体温(TEMP)和三轴加速度(ACC))为研究对象,通过分模态LSTM模块的门控记忆机制,精准捕获跨时间步时序依赖特征,有效保留与心理状态强相关的关键生理特征,并过滤短期随机噪声,确保生理特征数据能真实表征职工心理状态的动态演化;然后,在特征融合后引入AM,基于各模态、各时间步生理数据的特征重要性自适应分配注意力权重系数,强化对心理压力状态敏感的关键特征与微小响应特征,同时抑制冗余信息干扰;最后,通过全连接神经网络完成心理压力状态准确评价。结果表明:LSTMA在中性、压力、愉悦、冥想4分类任务中,心理压力状态评价准确率达94.56%;经留一法交叉验证后,准确率提升至98.08%;消融试验验证了分模态LSTM与AM的协同增强效应,模型解释性分析进一步佐证LSTMA方法设计的科学性与合理性。

关键词: 注意力机制(AM), 长短时记忆(LSTM)网络, 心理压力, 状态评价, 生理时间序列数据, 多模态

Abstract:

To safeguard employees' psychological health and improve the accuracy and interpretability of psychological stress evaluation methods, taking multimodal physiological time-series data as the research object, a LSTM with AM(LSTMA) method was proposed to accurately evaluate employees' psychological stress states in the paper. Firstly, using the multimodal physiological time-series data (Blood Volume Pulse (BVP), Electrocardiogram (ECG), Electrodermal Activity (EDA), Electromyogram (EMG), Respiration (RESP), Body Temperature (TEMP), and three-axis Acceleration (ACC)) from the WESAD dataset were adopted as the research carrier, the gating memory mechanism of the modal-specific LSTM modules was utilized to accurately capture cross-time-step temporal dependency features, effectively retain key physiological features strongly associated with psychological states, and filter out short-term random noise, thereby ensuring that the physiological feature data could truly characterize the dynamic evolution of employees' psychological states. Secondly, after feature fusion, the attention mechanism was introduced to adaptively assign attention weight coefficients based on the feature importance of physiological data across different modalities and time steps, enhancing key features and micro-response features sensitive to psychological stress states while suppressing the interference of redundant information. Finally, the accurate evaluation of psychological stress states was accomplished through a fully connected neural network. Experimental results show that the LSTMA method achieves an evaluation accuracy of 94.56% for the four-classification task (neutral, stress, pleasure, and meditation) of psychological stress states. After Leave-One-Out Cross-Validation (LOOCV), the accuracy is improved to 98.08%. Ablation experiments verify the synergistic enhancement effect of the modal-specific LSTM and the attention mechanism, and model interpretability analysis further confirms the scientificity and rationality of LSTMA.

Key words: attention mechanism (AM), long short-term memory (LSTM) network, psychological stress, status evaluation, physiological time-series data, multimodal

中图分类号: