针对缺勤预测中极端类别不平衡问题,提出时序分类框架实现真正前瞻性预测。
A time-series classification framework for individual-level absenteeism prediction under severe class imbalance

- 分离历史出勤序列与未来缺勤标签,实现真正前瞻性预测
- 在严重类别不平衡下,平衡准确率达88.8%,特异度0.813
- LSTM-FCN模型表现最优,适合高需求行业个体缺勤预警
员工缺勤在医疗、应急服务、肉类加工、建筑及快递配送等高需求工作环境中带来巨大运营成本,而可靠的个体级缺勤预测对主动排班至关重要。现有回归与分类方法存在结构缺陷:将时间t的特征映射到同一时间t的标签,复现已发生结果而非预测未来事件,并忽略个体出勤历史中的时序行为结构。本文提出一种时序分类(TSC)框架,将历史出勤序列与未来缺勤标签分离,实现真正的前瞻性预测。由于缺乏公开的纵向出勤数据,我们构建了一个可复现的模拟数据集,校准自UCI数据集。在严重类别不平衡条件下,仅用不平衡比ρ分析二值焦点损失(BFL)与几何均值(G-Mean)损失。BFL的初始梯度比为ρα/(1−α),建议平衡权重α=1/(1+ρ)≈0.023。实验表明性能主要由α决定,BFL取得特异度0.813和平衡准确率0.888,与G-Mean相当;而G-Mean无需参数调优即可自动适应。在三种深度模型(LSTM、CNN、LSTM-FCN)中,LSTM-FCN表现最佳,具备高精度与高特异度。批量大小≥64、窗口大小40–80天时,测试集平衡准确率稳定在约80%。
原文摘要 · Abstract (English)
Staff absenteeism imposes substantial operational costs in high-demand work environments such as healthcare, emergency services, meat processing, construction, and courier and delivery services, where proactive workforce planning depends on reliable individual-level absence prediction. Existing regression and classification approaches share a structural limitation; they map features observed at time t to labels at the same time t, reproducing already-realised outcomes rather than predicting future events, and discard the sequential behavioural structure inherent in individual attendance histories. We propose a Time Series Classification (TSC) framework that separates historical attendance sequences from future absence labels, enabling genuinely proactive prediction. Due to the lack of public longitudinal attendance data, we construct a reproducible simulated dataset calibrated to the UCI dataset. We analyse Binary Focal Loss (BFL) and Geometric Mean (G-Mean) loss under severe class imbalance using only the imbalance ratio $ρ$. For BFL, the initial gradient ratio is $ρα/(1-α)$, implying the balanced weight $α= 1/(1+ρ) \approx 0.023$. Experiments show that performance is governed mainly by $α$, with BFL achieving specificity 0.813 and balanced accuracy 0.888, comparable to G-Mean. Unlike BFL, G-Mean adapts automatically without parameter calibration. Among three deep learning architectures evaluated, Long Short-Term Memory (LSTM), Convolutional Neural Network (CNN), and the hybrid LSTM-Fully Convolutional Network (LSTM-FCN), the LSTM-FCN delivers strong precision and specificity. Stable performance is obtained with batch sizes >= 64 and window sizes between 40-80 days, yielding balanced accuracy of approximately 80% on held-out test data.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。