通过基于加速度的CBF-QP约束执行实现强化学习策略在真实机器人部署中的安全运行 Safe Execution of RL Policies Via Acceleration-Based CBF-QP Constraint Enforcement for Real-World Robotic Deployments 预印本
原文摘要
查看英文原文摘要
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] 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] E. Altman, Constrained Markov decision processes. Routledge, 2021.
- [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] 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] 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] 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] J. Terven, “Deep reinforcement learning: A chronological overview and methods,” AI, vol. 6, no. 3, 2025.
- [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] 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] 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] 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] M. Zanon and S. Gros, Reinforcement Learning with Guarantees, pp. 191–224. Cham: Springer Nature Switzerland, 2025.
- [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] 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] 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] K. P. Wabersich and M. N. Zeilinger, “A predictive safety filter for learning-based control of constrained nonlinear dynamical systems,” 2021.
- [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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] L. Le Lay, “Kinova gen3 rl & sim2real toolkit,” July 2025.
- [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.