Entropic Risk Constrained Soft-Robust Policy Optimization

Reazul Hasan Russel, Bahram Behzadian, Marek PetrikarXiv 2020

Abstract

Having a perfect model to compute the optimal policy is often infeasible in reinforcement learning. It is important in high-stakes domains to quantify and manage risk induced by model uncertainties. Entropic risk measure is an exponential utility-based convex risk measure that satisfies many reasonable properties. In this paper, we propose an entropic risk constrained policy gradient and actor-critic algorithms that are risk-averse to the model uncertainty. We demonstrate the usefulness of our algorithms on several problem domains.

Introduction

In high-stakes environments like autonomous driving or robotic surgery, building a "perfect" model of the world is impossible. Standard Reinforcement Learning (RL) agents often overfit to specific transition dynamics encountered during training. When deployed in the real world, where true dynamics differ slightly from training data—a phenomenon known as epistemic uncertainty—these agents can fail catastrophically.

Existing solutions typically fall into two categories:

  1. Robust Optimization: These methods optimize for the absolute worst-case scenario. While safe, they are often overly conservative, leading to "paralyzed" agents that avoid beneficial actions due to extreme pessimism.
  2. Risk-Averse MDPs: These focus on aleatoric uncertainty (inherent randomness, like a coin flip) rather than the uncertainty of the model itself.

This paper bridges this gap by proposing a soft-robust approach. The goal is a policy that performs well on average across many possible models while guaranteeing that performance remains above a "risk" threshold across a distribution of potential models.

Methodology: Entropic Risk Constraints

The core innovation is applying the Entropic Risk Measure to model uncertainty. Unlike measures like Value-at-Risk (VaR), entropic risk is mathematically well-behaved—it is convex and time-consistent, facilitating optimization in sequential decision-making.

Technical Approach

  • The Objective: The authors formulate a constrained optimization problem: maximize expected return while ensuring the entropic risk (calculated over a Bayesian posterior of possible models) stays above a specific budget ($\beta$).
  • Lagrange Relaxation: This constrained problem is converted into an unconstrained one using a Lagrange multiplier ($\lambda$), creating a "saddle-point" problem.
  • Algorithms: Two main algorithms are introduced:
  • Policy Gradient (PG): A trajectory-based method updating parameters based on sampled MDPs from a Bayesian posterior.
  • Actor-Critic (AC): Uses a critic (value function approximation) to stabilize updates and reduce the high variance associated with PG.

Experimental Evaluation

The algorithms were evaluated on three distinct domains:

  1. Asset Management: A financial problem involving three assets with different return distributions (Normal and Pareto).
  2. Inventory Management: A supply chain problem with stochastic demand, involving both aleatoric and epistemic uncertainty.
  3. Cart-Pole: A standard benchmark where model parameters (e.g., pole length) are unknown, representing pure epistemic uncertainty.
Return distributions for the three assets in the management problem.

Key Results and Insights

The soft-robust approach demonstrates a "cautiously optimistic" behavior. By sampling models from a Bayesian posterior, the algorithm incorporates the learner's confidence. As more data is collected, the posterior narrows, allowing for more aggressive optimization.

Performance Highlights

  • Asset Management: The soft-robust agent successfully avoids the riskiest assets. While a risk-neutral agent chases the highest mean return (suffering high variance), the soft-robust agent shifts its allocation to safer assets as it gathers data.
  • Inventory Management: The soft-robust Actor-Critic achieved higher mean returns and lower variance than standard risk-averse versions, proving its effectiveness in handling mixed uncertainties.
  • Cart-Pole: In this deterministic environment with model uncertainty, the soft-robust method reduced return variance by more than a factor of 2 compared to risk-neutral methods while maintaining high expected returns.
Comparison of policy evolution and return distributions between risk-neutral and soft-robust methods.

Conclusion

This work introduces a framework for RL that accounts for model uncertainty using entropic risk constraints. By avoiding the extreme pessimism of traditional robust methods, the soft-robust approach provides a safety buffer without sacrificing performance. Future work includes formal theoretical convergence analysis and developing "unified" algorithms that simultaneously address both aleatoric and epistemic risks.

Summary updated

BibTeX
@misc{russel2020entropic,
  author = {Reazul Hasan Russel and Bahram Behzadian and Marek Petrik},
  title = {{Entropic Risk Constrained Soft-Robust Policy Optimization}},
  year = {2020},
  eprint = {2006.11679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.11679},
}
Figure