English

Safe Reinforcement Learning in a Simulated Robotic Arm

Robotics 2024-03-01 v2 Artificial Intelligence Machine Learning

Abstract

Reinforcement learning (RL) agents need to explore their environments in order to learn optimal policies. In many environments and tasks, safety is of critical importance. The widespread use of simulators offers a number of advantages, including safe exploration which will be inevitable in cases when RL systems need to be trained directly in the physical environment (e.g. in human-robot interaction). The popular Safety Gym library offers three mobile agent types that can learn goal-directed tasks while considering various safety constraints. In this paper, we extend the applicability of safe RL algorithms by creating a customized environment with Panda robotic arm where Safety Gym algorithms can be tested. We performed pilot experiments with the popular PPO algorithm comparing the baseline with the constrained version and show that the constrained version is able to learn the equally good policy while better complying with safety constraints and taking longer training time as expected.

Keywords

Cite

@article{arxiv.2312.09468,
  title  = {Safe Reinforcement Learning in a Simulated Robotic Arm},
  author = {Luka Kovač and Igor Farkaš},
  journal= {arXiv preprint arXiv:2312.09468},
  year   = {2024}
}

Comments

4 pages, 2 figures. Appeared in 2023 International Conference on Artificial Neural Networks (ICANN) proceedings. Published version copyrighted by Springer. This work was funded by the Horizon Europe Twinning project TERAIS, G.A. number 101079338 and in part by the national project APVV-21-0105. Link to the code: https://zenodo.org/doi/10.5281/zenodo.10694747

R2 v1 2026-06-28T13:51:50.828Z