Variance Adjusted Actor Critic Algorithms

Aviv Tamar, Shie Mannor

Introduction

In standard Reinforcement Learning (RL), the primary objective is typically the maximization of the expected return. While this risk-neutral approach is effective for many simulated environments, it often fails in real-world applications where volatility and uncertainty carry significant costs. In domains such as high-frequency trading, autonomous surgery, or power grid management, an agent that achieves a high average return but exhibits extreme variance may be deemed unacceptable.

This paper by Aviv Tamar and Shie Mannor addresses this gap by introducing a mathematically rigorous framework for risk-sensitive RL. By integrating a variance-penalized objective directly into the Actor-Critic architecture, the authors provide a method for agents to balance reward and risk while maintaining the benefits of function approximation.

The Variance-Penalized Objective

To incorporate risk sensitivity, the authors propose optimizing for a variance-adjusted return rather than the expected return alone. The objective function is defined as:

$$\eta(\theta) = J(\theta) - \mu V(\theta)$$

Where:

  • $J(\theta)$ is the expected reward.
  • $V(\theta)$ is the variance of the reward.
  • $\mu$ is a risk-aversion parameter that dictates the trade-off between performance and stability.

Historically, solving this objective presented three major hurdles: scalability to large state spaces, bias introduced by function approximation, and data inefficiency (often requiring multiple trajectories to estimate a single gradient). This research provides a solution that overcomes all three.

Methodology

The Dual-Task Critic

In a standard Actor-Critic setup, the Critic estimates the value function (expected reward-to-go). To handle variance, the authors expand the Critic’s role. The Critic now learns two distinct values: the expected reward-to-go ($J$) and the second moment of the reward ($M$). Since variance is defined as $V = M - J^2$, tracking these two components allows the agent to derive the variance and its gradient without needing to store the entire history of rewards.

Compatible Features for Variance

The core theoretical contribution of the paper is the extension of compatible features to the variance-adjusted setting. In standard RL, compatible features ensure that the approximation error of the Critic does not bias the Actor's policy gradient. The authors prove that a similar set of features can be derived for the variance and second-moment gradients. This ensures that even when using linear function approximation to represent massive state spaces, the algorithm is guaranteed to converge to a local optimum of the true objective function.

Two-Time-Scale Learning

The algorithm employs a two-time-scale stochastic approximation scheme:

  1. The Critic (Fast Scale): Continuously updates its estimates of the first and second moments of the reward based on the current policy.
  2. The Actor (Slow Scale): Updates the policy parameters $\theta$ using the gradient of the variance-adjusted objective, once the Critic's estimates have sufficiently stabilized.

This separation of concerns allows for stable learning and ensures that the policy updates are based on reliable estimates of risk.

Key Results and Convergence

The primary result of the paper is encapsulated in Theorem 10, which provides a formal convergence guarantee. The authors demonstrate that:

  • Single Trajectory Estimation: The gradient of the variance can be estimated from a single sample trajectory, eliminating the need for environment resets or multiple parallel simulations.
  • Local Optimality: Under the condition of "proper" policies (those that reach a terminal state with probability 1), the algorithm converges almost surely to a local optimum where $\nabla \eta(\theta) = 0$.
  • Unbiased Approximation: By utilizing the proposed compatible features, the error introduced by linear function approximation is orthogonal to the policy gradient, preventing the approximation from leading the agent toward sub-optimal directions.

Discussion and Limitations

While this paper provides a robust theoretical foundation for risk-aware RL, it focuses primarily on the mathematical proofs of convergence and consistency. The current framework relies on linear function approximation. While linear features are powerful, modern deep RL often utilizes non-linear neural networks; extending the concept of "compatibility" to deep architectures remains an open area for research.

Furthermore, as a policy gradient method, the algorithm is designed to find local optima. In highly complex reward landscapes, the agent may settle into a risk-averse policy that is locally stable but globally inferior. Finally, the authors suggest that while their incremental gradient updates are mathematically sound, future implementations might benefit from more computationally efficient techniques, such as Least-Squares Temporal Difference (LSTD) methods, to accelerate the Critic's learning phase.

Conclusion

By extending the Actor-Critic framework to include variance through compatible features, Tamar and Mannor have provided a scalable, efficient, and theoretically grounded approach to risk-sensitive reinforcement learning. This work moves RL closer to real-world deployment in safety-critical and high-stakes environments where the cost of volatility is just as important as the pursuit of reward.

Summary updated

BibTeX
@misc{tamar2013variance,
  author = {Aviv Tamar and Shie Mannor},
  title = {{Variance Adjusted Actor Critic Algorithms}},
  year = {2013},
  eprint = {1310.3697},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1310.3697},
}
Figure