Parametric Return Density Estimation for Reinforcement Learning

Tetsuro Morimura · OpenReview

TL;DR

This paper introduces a novel parametric approach to estimate the probability density of returns in reinforcement learning (RL). By extending the Bellman equation to handle densities and employing natural gradient descent, the authors enable RL agents to optimize for risk-sensitive criteria beyond just maximizing expected returns, leading to more robust and safer decision-making.

What Problem Does This Paper Address?

Traditional Reinforcement Learning (RL) algorithms primarily focus on maximizing the expected cumulative reward. While effective for many tasks, this objective can be insufficient when dealing with risk management, especially in domains like finance. Maximizing expected returns doesn't guarantee avoidance of rare but catastrophic negative outcomes. For instance, a strategy might have a high average return but still carry a significant risk of a large loss. This paper addresses the need for RL agents to consider risk-sensitive criteria, such as value-at-risk or expected shortfall, by moving beyond simple expectation-based objectives. The core challenge is how to incorporate the full distribution of potential returns into the RL decision-making process, rather than just its average.

Methods

The paper proposes a two-pronged approach:

  1. Distributional Bellman Equation: The authors extend the standard Bellman equation, which recursively defines the expected value function, to a recursive formula for the probability density of the return. This "distributional Bellman equation" provides a theoretical framework for learning return densities.
  2. Parametric Density Estimation with Natural Gradients: Directly solving the distributional Bellman equation is challenging due to its functional nature. To overcome this, the paper introduces a parametric approach. They model the return density using well-known distributions (Gaussian, Laplace, skewed Laplace) and estimate the parameters of these distributions. Crucially, they employ a natural gradient (NG) descent method, which is more stable and efficient than standard gradient descent for optimizing parameters on a manifold (like the space of probability distributions). This NG method is derived using the Fisher Information Matrix as the Riemannian metric. The learning process is then adapted for stochastic environments using a sample-based approach, similar to TD learning.

Datasets

The paper does not introduce new datasets. Instead, it uses a standard grid world task (cliff walk) for evaluation. This benchmark is chosen because it presents a scenario where optimizing for expected return and risk-sensitive criteria (like low quantiles) lead to different optimal policies, allowing for a clear demonstration of the proposed method's effectiveness.

Key Insights and Ideas

  • Unified Framework for Risk-Sensitive RL: By estimating the return density, the paper provides a unified way to handle various risk-sensitive and robust criteria (e.g., value-at-risk, expected shortfall) within a single RL framework.
  • Natural Gradients for Stability: The use of natural gradients is crucial for stable and efficient learning of density parameters, especially when dealing with complex probability distributions and the inherent challenges of RL.
  • Laplace Distribution for Robustness: The Laplace distribution, with its fat tails, proves particularly effective for robust RL, showing stability even with noisy rewards, as demonstrated in the experiments.
  • Gaussian Extension of TD-Learning: The proposed algorithm with a Gaussian density model naturally extends conventional TD learning for expected returns, providing a familiar baseline.

Key Results

  • The proposed algorithms, particularly those using the Laplace and skewed Laplace distributions, successfully learned policies that significantly reduced the risk of large losses (e.g., avoiding the cliff in the cliff walk task) compared to standard Q-learning.
  • For the cliff walk task with a gamma-distributed penalty, the skewed Laplace model showed the best performance in maximizing low quantiles of returns.
  • When the cliff penalty was drawn from a Student's t-distribution (with infinite variance), the Laplace model demonstrated superior robustness and stability.
  • The paper highlights that the natural gradient approach leads to significantly more stable learning processes compared to using ordinary gradients.

Limitations and Future Work

  • Model Selection: The authors acknowledge that the choice of parametric density model (Gaussian, Laplace, skewed Laplace) can impact performance, suggesting that model selection or combining models might be necessary for optimal results.
  • Convergence Analysis: Further theoretical analysis is needed to fully understand the convergence properties and efficiency of the proposed algorithms.
  • Non-parametric Comparison: A comparison with non-parametric approaches to return density estimation is suggested for future work.
  • Stationary Policies: The current work focuses on suboptimal policies within the stationary policy class for q-quantile criteria. Extending this to non-stationary policies is a potential future direction.

Summary updated

BibTeX
@misc{morimura2012parametric,
  author = {Tetsuro Morimura},
  title = {{Parametric Return Density Estimation for Reinforcement Learning}},
  year = {2012},
  eprint = {1203.3497},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1203.3497},
}
Figure