Percentile Criterion Optimization in Offline Reinforcement Learning

Elita A. Lobo, Cyrus Cousins, Yair Zick, Marek Petrik

Introduction

Offline reinforcement learning (RL) faces a fundamental challenge: training agents on fixed datasets without live interaction. Limited data leads to noisy estimates of environment transitions. If an agent over-relies on these estimates, it may adopt policies that appear optimal in training but fail in real-world deployment. To mitigate this, researchers often employ the percentile criterion, seeking policies that guarantee a minimum return with high confidence.

Traditionally, this is addressed via Robust MDPs, which utilize "ambiguity sets"—regions of possible models likely to contain the true environment. Agents then optimize for the worst-case scenario within these sets. However, standard ambiguity sets, such as Bayesian Credible Regions (BCRs), are often overly conservative because they are designed to be safe for any policy. This "conservatism tax" leads to timid agents that sacrifice significant potential reward for excessive safety.

Methodology: Implicit Robustness via VaR

This paper proposes a shift from explicit to implicit robustness by introducing a specialized Value-at-Risk (VaR) Bellman operator. Instead of calculating the expected future value, the update computes the Value-at-Risk:

$$(T_{VaR\alpha} v)_s = \max_{a} VaR_{\alpha} [\tilde{p}_{s,a}^T (r_{s,a} + \gamma v)]$$

This operator is mathematically equivalent to using a "half-space" ambiguity set tailored specifically to the agent's current value function. By making the safety region dependent on the value function, the algorithm focuses only on model errors that impact the current policy's performance.

Comparison of Bayesian Credible Regions (BCR) and Value-at-Risk (VaR) regions in a probability simplex.

The authors provide Generalized VaR Value Iteration (Algorithm 3.1), which uses posterior samples to estimate these values. For scenarios where uncertainty is approximately normal, they derive VaRN, a closed-form Gaussian approximation that significantly accelerates computation.

Key Insights

Overcoming the "Curse of Dimensionality"

A critical finding is that standard BCRs scale poorly with problem size. As the number of states ($S$) increases, the size of the BCR required to maintain a specific confidence level grows. This makes standard robust RL increasingly conservative and less effective in complex environments. In contrast, the VaR framework's implicit sets maintain an asymptotic radius that is independent of the number of states.

The ratio of asymptotic radii for standard ambiguity sets increases significantly with the number of states (S), whereas the VaR approach remains stable.

Theoretical Soundness

The authors prove that the VaR Bellman operator is a valid contraction mapping. This ensures that the value iteration algorithm converges to a unique, stable solution, providing a solid theoretical foundation for the framework.

Experimental Results

The framework was evaluated on three benchmarks: Riverswim, Population Growth (pest control), and Inventory Management. The VaR approach consistently outperformed seven state-of-the-art baselines:

  • Higher Robust Returns: In the Population-Small domain, VaR achieved a robust return of approximately -3102, compared to -5614 for the standard BCR approach (higher is better).
  • Reduced Conservatism: VaR policies were less timid than traditional Robust MDPs while upholding the same 95% confidence guarantees.
  • Distributional Robustness: The Gaussian-based VaRN variant performed well even when transition uncertainty was non-normal, demonstrating the method's practical flexibility.

Conclusion and Future Directions

While the VaR framework offers a tighter bound on the percentile criterion, it currently assumes "SA-rectangularity," treating state-action uncertainties as independent. Future work could explore correlations between transitions to further reduce conservatism. Additionally, extending this framework to continuous state spaces via deep learning architectures like "VaR-DQN" represents a promising avenue for scaling these safety guarantees to even more complex real-world tasks.

Summary updated

Abstract

In reinforcement learning, robust policies for high-stakes decision-making problems with limited data are usually computed by optimizing the \emph{percentile criterion}. The percentile criterion is approximately solved by constructing an \emph{ambiguity set} that contains the true model with high probability and optimizing the policy for the worst model in the set. Since the percentile criterion is non-convex, constructing ambiguity sets is often challenging. Existing work uses \emph{Bayesian credible regions} as ambiguity sets, but they are often unnecessarily large and result in learning overly conservative policies. To overcome these shortcomings, we propose a novel Value-at-Risk based dynamic programming algorithm to optimize the percentile criterion without explicitly constructing any ambiguity sets. Our theoretical and empirical results show that our algorithm implicitly constructs much smaller ambiguity sets and learns less conservative robust policies.
BibTeX
@inproceedings{lobo2023percentile,
  author = {Elita A. Lobo and Cyrus Cousins and Yair Zick and Marek Petrik},
  title = {{Percentile Criterion Optimization in Offline Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=OjlZqQzw51},
}
Figure