Table of Contents
Fetching ...

Efficient Policy Evaluation with Safety Constraint for Reinforcement Learning

Claire Chen, Shuze Daniel Liu, Shangtong Zhang

TL;DR

The paper tackles high variance in off-policy policy evaluation while enforcing execution safety in RL. It introduces a constrained variance-minimization framework that designs a behavior policy under safety thresholds, yielding unbiased PDIS estimates with reduced variance. Extending to sequential RL, it defines an extended reward tilde{r} and proves convex, feasible optimization problems that guarantee both variance reduction and safety; the SCOPE algorithm learns tilde{r} offline and computes the optimal safe policy mu^* via convex optimization. Empirically, SCOPE achieves substantial variance reduction at lower cost than baselines across Gridworld and MuJoCo, demonstrating the practicality of safe, offline-informed policy evaluation.

Abstract

In reinforcement learning, classic on-policy evaluation methods often suffer from high variance and require massive online data to attain the desired accuracy. Previous studies attempt to reduce evaluation variance by searching for or designing proper behavior policies to collect data. However, these approaches ignore the safety of such behavior policies -- the designed behavior policies have no safety guarantee and may lead to severe damage during online executions. In this paper, to address the challenge of reducing variance while ensuring safety simultaneously, we propose an optimal variance-minimizing behavior policy under safety constraints. Theoretically, while ensuring safety constraints, our evaluation method is unbiased and has lower variance than on-policy evaluation. Empirically, our method is the only existing method to achieve both substantial variance reduction and safety constraint satisfaction. Furthermore, we show our method is even superior to previous methods in both variance reduction and execution safety.

Efficient Policy Evaluation with Safety Constraint for Reinforcement Learning

TL;DR

The paper tackles high variance in off-policy policy evaluation while enforcing execution safety in RL. It introduces a constrained variance-minimization framework that designs a behavior policy under safety thresholds, yielding unbiased PDIS estimates with reduced variance. Extending to sequential RL, it defines an extended reward tilde{r} and proves convex, feasible optimization problems that guarantee both variance reduction and safety; the SCOPE algorithm learns tilde{r} offline and computes the optimal safe policy mu^* via convex optimization. Empirically, SCOPE achieves substantial variance reduction at lower cost than baselines across Gridworld and MuJoCo, demonstrating the practicality of safe, offline-informed policy evaluation.

Abstract

In reinforcement learning, classic on-policy evaluation methods often suffer from high variance and require massive online data to attain the desired accuracy. Previous studies attempt to reduce evaluation variance by searching for or designing proper behavior policies to collect data. However, these approaches ignore the safety of such behavior policies -- the designed behavior policies have no safety guarantee and may lead to severe damage during online executions. In this paper, to address the challenge of reducing variance while ensuring safety simultaneously, we propose an optimal variance-minimizing behavior policy under safety constraints. Theoretically, while ensuring safety constraints, our evaluation method is unbiased and has lower variance than on-policy evaluation. Empirically, our method is the only existing method to achieve both substantial variance reduction and safety constraint satisfaction. Furthermore, we show our method is even superior to previous methods in both variance reduction and execution safety.
Paper Structure (19 sections, 10 theorems, 70 equations, 5 figures, 6 tables, 1 algorithm)

This paper contains 19 sections, 10 theorems, 70 equations, 5 figures, 6 tables, 1 algorithm.

Key Result

Lemma 1

$\forall \mu \in \Lambda$, $\forall s$,

Figures (5)

  • Figure 1: Results on Gridworld with episodes as x-axis. Each curve is averaged over 900 runs (30 target policies, each having 30 independent runs). Shaded regions denote standard errors and are invisible for some curves as they are too small.
  • Figure 2: Results on Gridworld with cost budget as x-axis. Cost budget is the total cost of execution. Each curve is averaged over 900 runs (30 target policies, each having 30 independent runs). Shaded regions denote standard errors.
  • Figure 3: Results on MuJoCo. Cost budget on the x-axis is the total cost of execution. Each curve is averaged over 900 runs (30 of target policies, each having 30 independent runs). Shaded regions denote standard errors and are invisible for some curves because they are too small. Results with a larger x-axis range are in the appendix.
  • Figure 4: MuJoCo robot simulation tasks todorov2012mujoco. Pictures are adapted from liu2024efficient. Environments from the left to the right are Ant, Hopper, InvertedDoublePendulum, InvertedPendulum, and Walker.
  • Figure 5: Results on MuJoCo with log-scale y-axis to show the error does not converge. Each curve is averaged over 900 runs (30 target policies, each having 30 independent runs). Shaded regions denote standard errors and are invisible for some curves because they are too small.

Theorems & Definitions (18)

  • Lemma 1
  • Lemma 2
  • Lemma 3
  • proof
  • Lemma 4
  • Theorem 1
  • Theorem 2
  • Theorem 3
  • Lemma 5
  • proof
  • ...and 8 more