Abstract
In many sequential decision-making problems, managing risk by minimizing reward variability is as critical as maximizing expected returns. Variance-related risk measures are common in finance and operations research, yet optimizing them is notoriously difficult. This paper presents a novel framework for risk-sensitive reinforcement learning (RL) in both discounted and average reward Markov Decision Processes (MDPs). We define variability measures for policies and derive gradient formulas for optimization. Our approach utilizes a three-timescale actor-critic architecture: a TD critic on the fastest timescale, a policy gradient actor on the intermediate timescale, and dual ascent for Lagrange multipliers on the slowest timescale. We address the challenges of gradient estimation in discounted settings using simultaneous perturbation methods and leverage compatible features in the average reward setting. We prove the convergence of these algorithms to locally risk-sensitive optimal policies and demonstrate their efficacy in a traffic signal control application.
Introduction
Standard Reinforcement Learning (RL) is typically risk-neutral, aiming to maximize the expected sum of rewards. However, in high-stakes domains such as finance, healthcare, or infrastructure management, the variability of outcomes is often as important as the average performance. A policy that yields a high average return but carries a risk of catastrophic failure is frequently unacceptable in practice.
The primary challenge in risk-sensitive RL is that variance-related criteria are mathematically difficult to optimize. Unlike standard expected rewards, variance does not satisfy the "monotonicity" property required for traditional dynamic programming. This paper tackles the problem of finding a policy that maximizes performance subject to a hard constraint on the variance of the return.
Problem Formulation
We formulate the risk-sensitive task as a constrained optimization problem: maximize the mean return $J(\theta)$ such that the variance $V(\theta)$ remains below a user-defined threshold $\alpha$. To solve this, we employ the method of Lagrange multipliers, converting the constrained problem into a saddle-point problem:
$$\min_{\lambda \ge 0} \max_{\theta} [ J(\theta) - \lambda(V(\theta) - \alpha) ]$$
where $\lambda$ is the Lagrange multiplier that penalizes violations of the variance constraint.
The Three-Timescale Actor-Critic Architecture
The core of the proposed approach is a multi-timescale stochastic approximation architecture that ensures stability and convergence:
- Fastest Timescale (Critic): A Temporal Difference (TD) critic estimates both the standard value function (expectation of the return) and a "square-value function" (expectation of the square of the return). The latter is essential for calculating variance.
- Intermediate Timescale (Actor): The policy parameters $\theta$ are updated in the direction of the gradient of the Lagrangian. This update relies on the estimates provided by the critic.
- Slowest Timescale (Dual Ascent): The Lagrange multiplier $\lambda$ is updated. By moving on the slowest timescale, $\lambda$ only "sees" the system after the actor and critic have reached a quasi-equilibrium for the current penalty level.
Technical Innovations in Gradient Estimation
Discounted Reward Setting
Estimating the gradient of the variance in discounted MDPs is difficult because it requires the gradient of the value function at every state. The authors bypass this by using Simultaneous Perturbation Stochastic Approximation (SPSA) and Smoothed Functional (SF) methods. These techniques estimate high-dimensional gradients using only two sample trajectories, making the gradient estimation computationally feasible without requiring explicit model knowledge.
Average Reward Setting
In the average reward case, the authors demonstrate that one can use compatible features to obtain unbiased gradient estimates. This allows for a more direct actor update that avoids the complexities of simultaneous perturbations used in the discounted setting.
Second-Order Methods
To accelerate convergence, the paper proposes Newton-style variants (RS-SPSA-N and RS-SF-N). These algorithms estimate the Hessian (the matrix of second-order derivatives) to adjust the step size and direction, leading to more accurate policy searches at the cost of increased computation per iteration.
Experimental Evaluation: Traffic Signal Control
The algorithms were evaluated using the Green Light District (GLD) simulator, a benchmark for traffic signal control. The scenario involved a 2x2 grid network of signaled intersections. The objective was to minimize the total number of vehicles in the system (a proxy for delay) while strictly limiting the variance of that delay to ensure a predictable experience for commuters.
Key Results: * Risk-Performance Trade-off: The risk-sensitive (RS) algorithms successfully identified policies that traded a marginal amount of average performance for a significant reduction in variance. * Convergence: Rigorous proofs using the Ordinary Differential Equation (ODE) approach confirmed that the algorithms converge to locally risk-sensitive optimal policies. * Efficiency: Second-order methods demonstrated faster convergence in the policy search phase compared to first-order gradient methods.
Conclusion
This work provides a robust framework for incorporating risk constraints into actor-critic methods. By defining a "square-value function" and employing a three-timescale update rule, the authors enable RL agents to operate safely in environments where variability is a primary concern. Future work includes extending this framework to other risk measures, such as Conditional Value-at-Risk (CVaR), and improving sample complexity for single-trajectory gradient estimation.
Summary updated