Safe reinforcement learning with online filtering for fatigue-predictive human-robot task planning and allocation in production
Organizations: CI3 Lab, Department of Civil Engineering, The University of Hong Kong, Hong Kong SAR
Abstract
Human-robot collaborative manufacturing, a core aspect of Industry 5.0, emphasizes ergonomics to enhance worker well-being. This paper addresses the dynamic human-robot task planning and allocation (HRTPA) problem, which involves determining when to perform tasks and who should execute them to maximize efficiency while ensuring workers' physical fatigue remains within safe limits. The inclusion of fatigue constraints, combined with production dynamics, significantly increases the complexity of the HRTPA problem. Traditional fatigue-recovery models in HRTPA often rely on static, predefined hyperparameters. However, in practice, human fatigue sensitivity varies daily due to factors such as changed work conditions and insufficient sleep. To better capture this uncertainty, we treat fatigue-related parameters as inaccurate and estimate them online based on observed fatigue progression during production. To address these challenges, we propose PF-CD3Q, a safe reinforcement learning (safe RL) approach that integrates the particle filter with constrained dueling double deep Q-learning for real-time fatigue-predictive HRTPA. Specifically, we first develop PF-based estimators to track human fatigue and update fatigue model parameters in real-time. These estimators are then integrated into CD3Q by making task-level fatigue predictions during decision-making and excluding tasks that exceed fatigue limits, thereby constraining the action space and formulating the problem as a constrained Markov decision process (CMDP).
Figures & tables
| 1. (Static) –Fatigue of subtask | Value |
| Put flange into cage | 0.12 |
| Put bend duct into cage | 0.18 |
| Put flange on side storage | 0.12 |
| Put bend duct on side storage | 0.18 |
| Loading flange on welding station 1 | 0.36 |
| Loading flange on welding station 2 | 0.36 |
| Algorithm | H1,R1 | H1,R2 | H1,R3 | H2,R1 | H2,R2 | H2,R3 | H3,R1 | H3,R2 | H3,R3 | Mean |
| Makespan | ||||||||||
| DQN | 1764.60 | 1490.50 | 1587.98 | 1240.20 | 1172.34 | 1163.80 | 1180.70 | 1121.18 | 1126.90 | 1316.47 |
| PPO | 1615.76 | 1734.76 | 1738.04 | 1217.74 | 1215.42 | 1286.34 | 1149.90 | 1143.76 | 1141.80 | 1360.39 |
| D3QN | 1635.94 | 1506.26 | 1511.24 | 1193.52 | 1168.44 | 1174.56 | 1084.46 | 1129.10 | 1133.18 | 1281.86 |
| PPO-Lag | 1656.24 | 1451.18 | 1469.60 | 1401.06 | 1174.70 | 1170.62 | 1393.86 | 1118.38 | 1125.54 | 1329.02 |
| PF-DQN | 1767.10 | 1644.94 | 1641.90 | 1161.74 | 1173.22 | 1194.26 | 1174.22 | 1113.86 | 1124.62 | 1332.87 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Settings | DQN PF-DQN | D3QN PF-CD3Q | PPO PF-PPO | PPO-Lag PF-PPO-Lag |
| Network capacity | 8.9M | 9.4M | 12.8M | 16.1M |
| Replay setting | buffer size = 5e5 | buffer size = 5e5 | buffer size = 1e4 | buffer size = 1e4 |
| Optimizer | Adam lr | Adam lr | Adam lr | Adam lr |
| Warmup steps | 5e4 | 5e4 | 1e3 | 1e3 |
| Batch size | 512 | 512 | 512 | 512 |
| Q-func update | per 400 steps | per 400 steps | nan | nan |