b12a5020adceab71.tex
1: \begin{abstract}
2: An important problem in reinforcement learning is designing agents that learn to solve tasks safely in an environment. A common solution is for a human expert to define either a penalty in the reward function or a cost to be minimised when reaching unsafe states. However, this is non-trivial, since too small a penalty may lead to agents that reach unsafe states, while too large a penalty increases the time to convergence. Additionally, the difficulty in designing reward or cost functions can increase with the complexity of the problem. Hence, for a given environment with a set of unsafe states, we are interested in finding the smallest penalty whose optimal policy minimises the probability of reaching unsafe states, irrespective of task rewards. We refer to this specific penalty as the \textit{Minmax penalty}, and show that it can be obtained by taking into account both the controllability and diameter of an environment. We provide a simple practical algorithm for an agent to learn this Minmax penalty while learning the task policy, and demonstrate that this leads to agents that learn safe policies in high-dimensional continuous control environments.
3: \end{abstract}
4: