通过基于加速度的CBF-QP约束执行实现强化学习策略在真实机器人部署中的安全运行 Safe Execution of RL Policies Via Acceleration-Based CBF-QP Constraint Enforcement for Real-World Robotic Deployments 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-16
👁️ 预览文献
💡 AI 中文简介
强化学习能让机器人学会复杂动作,但缺乏安全保障,直接上硬件容易出事故。本文提出Acc-CBF-QP,一种基于加速度的二次规划安全过滤器,利用控制屏障函数在运行时把任意强化学习策略的输出约束在安全范围内,无需重新训练。方法统一处理关节位置、速度、力矩和碰撞约束,并在7自由度Kinova Gen3机械臂和19自由度Unitree H1人形机器人上验证。真实H1上违规从每秒10.04次降到0.80次,减少92%;Kinova上完全消除违规,且不影响正常任务性能。
领域机器人学 / 强化学习安全控制
适合谁读需要一定专业背景(强化学习、优化控制、机器人学基础)
核心贡献1. 提出Acc-CBF-QP,一种基于加速度的QP安全过滤器,可在运行时将任意预训练RL策略约束到安全集,无需修改训练;2. 提出TorqueTask和Forward Dynamics Task两种RL+QP任务形式,在约束即将被违反时最小化力矩或加速度偏差,实现对安全-性能权衡的原则性控制。
关键数据真实H1硬件上,单独Safe-RL策略每秒违规10.04次,加入Acc-CBF-QP后降至0.80次/秒,减少92%;Kinova Gen3上完全消除违规;无违规时保持RL标称任务性能;激进速度指令下防止约束导致的关机,延长存活时间。
推荐理由如果你关心强化学习策略怎么安全落地到真实机器人,这篇给出了即插即用、无需重训的过滤器,还在人形和机械臂上实测有效,值得一读。
关键词["强化学习", "控制屏障函数", "二次规划", "安全过滤器", "机器人控制", "人形机器人"]

原文摘要

查看英文原文摘要

Reinforcement Learning (RL) has demonstrated remarkable capabilities for solving complex robotic control problems, but its lack of safety guarantees severely limits deployment on hardware. In particular, as legged robots and manipulators often operate near safety-critical boundaries, out-of-distribution states can lead to failure upon deployment. To address this, we introduce Acc-CBF-QP, an acceleration-based Quadratic Program (QP) safety filter using Control Barrier Functions (CBFs) that constrains any RL policy onto a safe set at runtime without modifying training. The method applies to unconstrained and Safe-RL policies, and enforces joint position, velocity, torque, and collision constraints within a unified optimization framework. A key contribution is the formulation of RL+QP tasks that regulate deviation from the RL command when constraints would otherwise be violated. We introduce a TorqueTask, minimizing torque deviation, and a Forward Dynamics Task, minimizing induced acceleration deviation, thus providing principled control over safety-performance trade-offs. Experiments on a 7-DoF Kinova Gen3 manipulator and a 19-DoF Unitree H1 humanoid, both in simulation and on hardware, highlight substantial reductions in constraint violations. On the real H1 hardware, a Safe-RL policy alone yielded 10.04 violations/s, which were reduced by 92% to 0.80 violations/s when augmented with Acc-CBF-QP. On the Kinova Gen3, Acc-CBF-QP fully eliminated violations. Nominal task performance of the RL objective is preserved in violation-free regimes. Under aggressive velocity commands on H1, Acc-CBF-QP improves execution by preventing constraint-induced shutdowns, yielding longer survival times. The full pipeline is open-source.

📚 参考文献 (32 条)

查看全部 32 条
  1. [1] W. Zhao, T. He, R. Chen, T. Wei, and C. Liu, “State-wise safe reinforcement learning: a survey,” in Proceedings of the Thirty-Second International Joint Conf. on Artificial Intelligence, IJCAI ’23, 2023.
  2. [2] E. Altman, Constrained Markov decision processes. Routledge, 2021.
  3. [3] W. Hung, S.-H. Sun, and P.-C. Hsieh, “Efficient action-constrained re- inforcement learning via acceptance-rejection method and augmented MDPs,” in The Thirteenth International Conf. on Learning Represen- tations, 2025.
  4. [4] A. D. Ames, S. Coogan, M. Egerstedt, G. Notomista, K. Sreenath, and P. Tabuada, “Control barrier functions: Theory and applications,” in 2019 18th European Control Conf. (ECC), pp. 3420–3431, 2019.
  5. [5] Y. Emam, G. Notomista, P. Glotfelter, Z. Kira, and M. Egerstedt, “Safe reinforcement learning using robust control barrier functions,” IEEE Robotics and Automation Letters, vol. 10, no. 3, pp. 2886–2893, 2025.
  6. [6] Z. Chen, Z. Zhao, T. He, B. Chen, X. Zhao, L. Gong, and C. Liu, “Safe reinforcement learning via hierarchical adaptive chance-constraint safeguards,” in 2024 IEEE/RSJ International Conf. on Intelligent Robots and Systems (IROS), pp. 12378–12385, 2024.
  7. [7] J. Terven, “Deep reinforcement learning: A chronological overview and methods,” AI, vol. 6, no. 3, 2025.
  8. [8] M. Charbonneau, V. Modugno, F. Nori, G. Oriolo, D. Pucci, and S. Ivaldi, “Learning robust task priorities of qp-based whole-body torque-controllers,” in 2018 IEEE-RAS 18th International Conf. on Humanoid Robots (Humanoids), pp. 1–9, 2018.
  9. [9] B. Muraccioli, M. Celerier, M. Benallegue, and G. Venture, “Demon- strating a Control Framework for Physical Human-Robot Interaction Toward Industrial Applications,” in Proceedings of Robotics: Science and Systems, (LosAngeles, CA, USA), June 2025.
  10. [10] E. Chane-Sane, P.-A. Leziart, T. Flayols, O. Stasse, P. Sou`eres, and N. Mansard, “Cat: Constraints as terminations for legged locomotion reinforcement learning,” in 2024 IEEE/RSJ International Conf. on Intelligent Robots and Systems (IROS), pp. 13303–13310, IEEE, 2024.
  11. [11] J. Achiam, D. Held, A. Tamar, and P. Abbeel, “Constrained policy optimization,” in Proceedings of the 34th International Conf. on Machine Learning (D. Precup and Y. W. Teh, eds.), vol. 70 of Proceedings of Machine Learning Research, pp. 22–31, PMLR, 06–11 Aug 2017.
  12. [12] M. Zanon and S. Gros, Reinforcement Learning with Guarantees, pp. 191–224. Cham: Springer Nature Switzerland, 2025.
  13. [13] G. Torre, O. Y. Nieto, A. A. Simoes, J. I. Giribet, and L. J. Colombo, “Learning cost functions for reinforced learned controllers in a quadrupedal robot,” IFAC-PapersOnLine, vol. 58, no. 6, pp. 42–47, 2024. 8th IFAC Workshop on Lagrangian and Hamiltonian Methods for Nonlinear Control LHMNC 2024.
  14. [14] P. Liu, H. Bou Ammar, J. Peters, and D. Tateo, “Safe reinforcement learning on the constraint manifold: Theory and applications,” IEEE Transactions on Robotics, vol. PP, pp. 1–20, 01 2025.
  15. [15] K. Ohnishi, M. Shibata, and T. Murakami, “Motion control for advanced mechatronics,” IEEE/ASME Transactions on Mechatronics, vol. 1, no. 1, pp. 56–67, 1996.
  16. [16] K. P. Wabersich and M. N. Zeilinger, “A predictive safety filter for learning-based control of constrained nonlinear dynamical systems,” 2021.
  17. [17] J. Choi, F. Casta˜neda, C. J. Tomlin, and K. Sreenath, “Reinforcement learning for safety-critical control under model uncertainty, using con- trol lyapunov functions and control barrier functions,” in Proceedings of Robotics: Science and Systems (RSS), 2020.
  18. [18] L. Yang, B. Werner, R. K. Cosner, D. Fridovich-Keil, P. Culbertson, and A. D. Ames, “Shield: Safety on humanoids via cbfs in expectation on learned dynamics,” in 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 203–210, 2025.
  19. [19] L. Sentis and O. Khatib, “Control of free-floating humanoid robots through task prioritization,” in Proceedings of the 2005 IEEE Inter- national Conf. on Robotics and Automation, pp. 1718–1723, IEEE, 2005.
  20. [20] K. Bouyarmane, K. Chappellet, J. Vaillant, and A. Kheddar, “Quadratic programming for multirobot and task-space force control,” IEEE Transactions on Robotics, vol. 35, no. 1, pp. 64–77, 2018.
  21. [21] R. Cisneros, M. Benallegue, A. Benallegue, M. Morisawa, H. Audren, P. Gergondet, A. Escande, A. Kheddar, and F. Kanehiro, “Robust humanoid control using a qp solver with integral gains,” in IEEE/RSJ IROS, IEEE, 2018.
  22. [22] Q. Nguyen and K. Sreenath, “Exponential control barrier functions for enforcing high relative-degree safety-critical constraints,” in 2016 American Control Conf. (ACC), pp. 322–328, 2016.
  23. [23] R. Grandia, A. J. Taylor, A. D. Ames, and M. Hutter, “Multi-layered safety for legged robots via control barrier functions and model predictive control,” in 2021 IEEE International Conf. on Robotics and Automation (ICRA), pp. 8352–8358, 2021.
  24. [24] F. Kanehiro, M. Morisawa, W. Suleiman, K. Kaneko, and E. Yoshida, “Integrating geometric constraints into reactive leg motion generation,” in 2010 IEEE/RSJ International Conf. on Intelligent Robots and Systems, pp. 4069–4076, 2010.
  25. [25] J. Vaillant, A. Kheddar, H. Audren, F. Keith, S. Brossette, A. Escande, K. Bouyarmane, K. Kaneko, M. Morisawa, P. Gergondet, et al., “Multi-contact vertical ladder climbing with an hrp-2 humanoid,” Autonomous Robots, 2016.
  26. [26] A. De Luca, A. Albu-Schaffer, S. Haddadin, and G. Hirzinger, “Colli- sion detection and safe reaction with the dlr-iii lightweight manipulator arm,” in IEEE/RSJ IROS, IEEE, 2006.
  27. [27] M. Celerier, B. Muraccioli, M. Benallegue, Y. Hu, R. C. Lim´on, H. Kaminaga, and G. Venture, “Explicit compliance and safety on torque controlled robots for physical interaction.”.
  28. [28] M. Benallegue, A. Benallegue, and Y. Chitour, “Tilt estimator for 3d non-rigid pendulum based on a tri-axial accelerometer and gyrometer,” in 2017 IEEE-RAS 17th International Conf. on Humanoid Robotics (Humanoids), pp. 830–835, 2017.
  29. [29] S. Kolathaya and A. D. Ames, “Input-to-state safety with control barrier functions,” IEEE Control Systems Letters, vol. 3, no. 1, pp. 108–113, 2019.
  30. [30] Y. Narang, K. Storey, I. Akinola, M. Macklin, P. Reist, L. Wawrzyniak, Y. Guo, A. Moravanszky, G. State, M. Lu, A. Handa, and D. Fox, “Factory: Fast contact for robotic assembly,” 06 2022.
  31. [31] L. Le Lay, “Kinova gen3 rl & sim2real toolkit,” July 2025.
  32. [32] R. P. Singh, P. Gergondet, and F. Kanehiro, “Mc-mujoco: Simulating articulated robots with fsm controllers in mujoco,” in 2023 IEEE/SICE International Symposium on System Integration (SII), pp. 1–5, 2023.