A Convex Programming Approach to Data-Driven Risk-Averse Reinforcement Learning

Yuzhen Han, Majid Mazouchi, Subramanya Nageshrao, Hamidreza ModaresarXiv 2021

Abstract

Standard Reinforcement Learning (RL) typically focuses on maximizing expected rewards, which can lead to suboptimal performance in safety-critical environments where aleatory uncertainty (inherent randomness) is high. This paper introduces a novel, model-free framework for risk-averse RL that utilizes convex programming. By reformulating the risk-averse Bellman equation into a set of convex constraints, the authors develop stable, data-driven algorithms capable of learning from both offline datasets and active interactions. The approach is validated through simulations of a Linear Quadratic Gaussian (LQG) system, demonstrating significant variance reduction and guaranteed convergence.

Introduction

In many real-world applications of Reinforcement Learning (RL), such as autonomous driving or power grid management, optimizing for the "average" outcome is insufficient. These systems require "risk-averse" policies that account for worst-case scenarios and stochastic disturbances. However, traditional risk-averse objectives often result in non-linear and non-convex optimization problems, which are difficult to solve without precise system models.

Problem Formulation: Epistemic vs. Aleatory Uncertainty

The paper distinguishes between two primary types of uncertainty:

  1. Epistemic Uncertainty: Arises from a lack of knowledge about the system dynamics, which can be mitigated by collecting more data.
  2. Aleatory Uncertainty: Inherent randomness in the environment (e.g., sensor noise), which persists regardless of data volume.

While standard RL handles epistemic uncertainty through exploration, it often ignores aleatory uncertainty, leading to "risk-neutral" policies that may exhibit high variance. The goal of this work is to develop a model-free approach that explicitly penalizes this variance.

Methodology

The authors utilize the Log-Expected-Exponential (LEE) cost function. A key insight is that minimizing this objective is approximately equivalent to minimizing a weighted sum of the mean and variance: $\text{Mean} + \frac{\alpha}{2} \times \text{Variance}$, where $\alpha$ is a user-defined risk factor.

Convex Reformulation

The core innovation lies in transforming the risk-averse Bellman equation into a Bellman Inequality. The authors prove that the optimal risk-averse value function can be found by solving a maximization problem subject to convex constraints. This allows the use of robust convex optimization tools.

Algorithmic Frameworks

Three distinct algorithmic approaches are proposed:

  1. One-Shot Convex Program: A batch-RL method that solves a single large optimization problem using a fixed dataset, ideal for scenarios where online exploration is risky.
  2. Iterative Value Iteration (VI): An efficient method that solves a Linear Program (LP) at each iteration.
  3. Iterative Policy Iteration (PI): A step-by-step policy update method that includes probabilistic stability guarantees during the learning process.

All three methods are model-free, utilizing Q-functions to learn directly from state-action-reward tuples without requiring knowledge of the underlying physics.

Experimental Evaluation

The framework was tested on a simulated 1D Linear Quadratic Gaussian (LQG) system. To better reflect real-world conditions, the researchers used a truncated normal distribution for disturbances rather than standard Gaussian noise. Value functions were approximated using Fourier basis functions.

Key Results

  • Convergence: Mathematical proofs and simulations confirm that the finite-dimensional approximations converge to the true optimal risk-averse value function as the number of sampled constraints increases (typically between $10^4$ and $10^5$).
  • Variance Reduction: In simulations, the risk-averse controller ($\alpha=5$) significantly reduced state trajectory fluctuations compared to a risk-neutral controller, demonstrating a more aggressive response to noise to maintain system stability.

Discussion and Limitations

While the proposed method offers a powerful tool for risk-averse RL, several challenges remain:

  • Scalability: The use of Fourier basis functions may not scale well to high-dimensional state spaces (the "curse of dimensionality").
  • Sample Complexity: While convergence is proven, a formal analysis of the exact number of samples required for specific error bounds is still needed.
  • Stability: The stability guarantees for the Policy Iteration algorithm are probabilistic, meaning extreme "black swan" events could still pose risks.

Conclusion

This research provides a mathematically rigorous and practical framework for incorporating risk-aversion into RL. By leveraging convex optimization, the authors bridge the gap between theoretical risk-averse control and data-driven reinforcement learning, offering a promising path for safer autonomous systems.

Summary updated

BibTeX
@misc{han2021convex,
  author = {Yuzhen Han and Majid Mazouchi and Subramanya Nageshrao and Hamidreza Modares},
  title = {{A Convex Programming Approach to Data-Driven Risk-Averse Reinforcement Learning}},
  year = {2021},
  eprint = {2103.14606},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.14606},
}
Figure