Soft-Robust Algorithms for Handling Model Misspecification

Elita A. Lobo, Mohammad Ghavamzadeh, Marek PetrikarXiv 2020

Abstract

In reinforcement learning, robust policies for high-stakes decision-making problems with limited data are usually computed by optimizing the percentile criterion, which minimizes the probability of a catastrophic failure. Unfortunately, such policies are typically overly conservative as the percentile criterion is non-convex, difficult to optimize, and ignores the mean performance. To overcome these shortcomings, we study the soft-robust criterion, which uses risk measures to balance the mean and percentile criterion better. In this paper, we establish the soft-robust criterion's fundamental properties, show that it is NP-hard to optimize, and propose and analyze two algorithms to approximately optimize it. Our theoretical analyses and empirical evaluations demonstrate that our algorithms compute much less conservative solutions than the existing approximate methods for optimizing the percentile-criterion.

Introduction

Batch or offline Reinforcement Learning (RL) presents a significant challenge: agents must learn optimal policies from a fixed dataset without the opportunity for further exploration. In such scenarios, the transition models estimated from limited data are inevitably imprecise. A common pitfall is the optimizer's curse, where a policy optimized against a mean estimated model performs well in simulation but fails in real-world deployment because it exploits inaccuracies in the model.

Traditional approaches to this problem often rely on the percentile criterion, which seeks to maximize a specific quantile of expected returns. While this offers a layer of safety, it suffers from excessive pessimism by ignoring average performance, neglects the "fat tail" of extreme failures below the chosen quantile, and is computationally difficult to optimize due to its non-convex nature.

The Soft-Robust Framework

To address these limitations, we introduce a "soft-robust" framework. This approach balances average-case performance with worst-case risk using the Conditional Value at Risk (CVaR).

The Soft-Robust Objective

The core of our method is the static soft-robust criterion, defined as a convex combination of the mean return and CVaR: $$\rho^S(\pi) = (1 - \lambda) \cdot \text{Mean Return} + \lambda \cdot \text{CVaR}_\alpha(\text{Return})$$ The risk factor $\lambda$ serves as a tunable parameter, allowing decision-makers to precisely calibrate the trade-off between average reward and risk mitigation. Unlike dynamic models that assume environment transitions fluctuate at every step, our static model assumes the environment is fixed but unknown, leading to more realistic and less conservative policies.

Algorithmic Solutions

We propose two primary algorithms to optimize this criterion:

  1. SR-MILP (Mixed-Integer Linear Program): This formulation identifies the optimal deterministic policy. It is particularly suited for high-stakes domains like healthcare, where transparency and determinism are paramount.
  2. SRVI (Soft-Robust Value Iteration): A scalable approximation algorithm that leverages a Robust MDP (RMDP) framework and linear value function approximation to handle larger state spaces.

Key Insights: Curing the Optimizer's Curse

A significant theoretical contribution of this work is the proof that the static soft-robust formulation is immune to the optimizer's curse regarding mean returns. While empirical methods are often biased toward over-optimism, our static approach provides unbiased estimates of the true return.

Comparison of post-decision surprise. The static formulation (blue) eliminates the negative bias (over-optimism) seen in empirical and dynamic methods.

By utilizing CVaR, the soft-robust objective remains convex. This property not only simplifies theoretical analysis but also ensures more stable optimization compared to the non-convex percentile criterion.

Empirical Evaluation and Results

We evaluated our algorithms across several domains, including Integrated Pest Control, a Cancer Growth Simulator, and Inventory Management.

The Pareto Front of Risk and Return

Our results demonstrate that soft-robust methods successfully map the trade-off between average and robust returns. As shown in the Pareto front analysis, SRVI and SR-MILP consistently outperform earlier methods, providing a clear frontier for decision-making.

The trade-off between average and robust returns. Soft-robust algorithms outperform earlier methods and provide a clear Pareto front as risk tolerance varies.

Performance in High-Stakes Simulators

In the Cancer Growth Simulator, SRVI outperformed specialized robust baselines such as Robust SAC in both mean and robust performance metrics. In the Pest Control domain, the SR-MILP policy achieved a safer distribution of returns, avoiding the catastrophic losses associated with "Nominal" policies that optimize only for the mean.

Conclusion and Future Work

The soft-robust framework provides a flexible and theoretically grounded alternative to traditional robust RL. While optimizing the static objective is NP-hard, our proposed algorithms offer effective approximations that significantly reduce pessimism without sacrificing safety.

Future research will focus on improving the computational efficiency of these methods for large-scale problems and tightening the approximation bounds for the RMDP framework. Additionally, integrating soft-robustness with advanced out-of-distribution generalization techniques remains a promising avenue for ensuring reliability in complex, real-world environments.

Summary updated

BibTeX
@misc{lobo2020soft,
  author = {Elita A. Lobo and Mohammad Ghavamzadeh and Marek Petrik},
  title = {{Soft-Robust Algorithms for Handling Model Misspecification}},
  year = {2020},
  eprint = {2011.14495},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.14495},
}
Figure