Likelihood ratio-based policy gradient methods for distorted risk measures: A non-asymptotic analysis

Nithia Vijayan, Prashanth L. A.arXiv 2021

Introduction

In classical Reinforcement Learning (RL), agents are typically trained to maximize the expected cumulative reward. While this risk-neutral approach works for many tasks, it is often inadequate for high-stakes domains such as finance, healthcare, or autonomous driving, where catastrophic tail events must be avoided. To address this, risk-sensitive RL incorporates risk measures into the optimization objective. However, common measures like Value-at-Risk (VaR) and Conditional VaR (CVaR) have limitations regarding mathematical coherence or the utilization of distributional information.

Distortion Risk Measures (DRMs)

Distortion Risk Measures (DRMs) provide a mathematically coherent framework for risk-sensitive optimization. A DRM is defined by applying a distortion function $g(s)$ to the cumulative distribution function of rewards. This allows for fine-grained control over how different parts of the reward distribution are weighted, enabling practitioners to emphasize tail risks or other specific distributional features.

Visualization of various distortion functions $g(s)$ used to define DRMs, illustrating how they deviate from the risk-neutral identity function.

The choice of distortion function determines the agent's risk profile. Common examples include dual-power, quadratic, exponential, and logarithmic functions, as detailed in the table below. These functions allow for a "plug-and-play" approach to risk aversion.

Mathematical definitions and parameter constraints for common distortion functions.

Methodology

Optimizing DRMs is challenging because their gradients cannot be estimated using simple sample means. This paper derives a novel Policy Gradient Theorem specifically for DRMs and proposes a Likelihood Ratio (LR)-based estimation scheme. Instead of relying on true distributions, the method approximates the DRM using the Empirical Distribution Function (EDF) of cumulative rewards gathered from sampled episodes.

The authors introduce two algorithms:

  1. DRM-OnP-LR: For on-policy RL settings.
  2. DRM-OffP-LR: For off-policy RL settings utilizing importance sampling.

Unlike previous methods that required complex nested optimization or parallel trajectories, the proposed LR-based approach utilizes single trajectories and leverages order statistics (sorted sampled rewards) to compute gradients directly and efficiently.

Experimental Evaluation

The algorithms were evaluated on a modified Frozen Lake environment from OpenAI Gym. The task involves navigating a 6x9 grid to reach a goal while avoiding hazardous holes. The environment's stochasticity makes the shortest path high-risk, necessitating a risk-aware strategy that prioritizes safety over raw speed.

Results and Discussion

The paper provides rigorous non-asymptotic convergence guarantees. Both algorithms are proven to converge to an $\epsilon$-stationary point at a rate of $\mathcal{O}(1/\sqrt{N})$, with a sample complexity of $\mathcal{O}(\sqrt{N})$ episodes per iteration. This represents a significant improvement over prior Smooth Functional (SF)-based methods.

Empirically, the DRM agent using a logarithmic distortion function outperformed risk-neutral (identity) and quadratic DRM agents. The logarithmic agent learned a safer, albeit slightly longer, path that consistently avoided holes, resulting in higher stability and average returns in test runs.

Conclusion

This work advances risk-sensitive RL by providing efficient policy gradient methods for DRMs with strong theoretical foundations and practical single-trajectory efficiency. Future research will focus on extending this framework to continuous state spaces using function approximation and developing actor-critic variants for broader applicability.

Summary updated

BibTeX
@misc{vijayan2021likelihood,
  author = {Nithia Vijayan and Prashanth L. A.},
  title = {{Likelihood ratio-based policy gradient methods for distorted risk measures: A non-asymptotic analysis}},
  year = {2021},
  eprint = {2107.04422},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.04422},
}
Figure