Risk-Aware Active Inverse Reinforcement Learning

Daniel S. Brown, Yuchen Cui, Scott Niekum

Abstract

Active learning from demonstration allows a robot to query a human for specific types of input to achieve efficient learning. Existing work has explored a variety of active query strategies; however, they often focus on reward uncertainty rather than performance risk. This paper introduces ActiveVaR, the first active Inverse Reinforcement Learning (IRL) algorithm that selects queries based on performance risk. By focusing on states where the robot’s current policy has the highest potential for "worst-case" generalization error, the system learns more efficiently and provides a mathematically grounded stopping criterion to know when it has learned enough to perform a task safely.

Introduction

In Learning from Demonstration (LfD), robots learn tasks by observing human behavior. However, human demonstrations are often ambiguous. For instance, if a person places a vase in the center of a table, it is unclear whether the center is the specific goal or if any spot on the table would suffice.

Standard Active IRL attempts to resolve this ambiguity by querying the human in areas of high "uncertainty." However, most existing methods define uncertainty statistically (e.g., reward uncertainty). They fail to account for risk: a robot might be uncertain about reward values in two different states, but if both lead to the same safe behavior, that uncertainty is inconsequential. Conversely, even minor uncertainty in a high-stakes area (like near a cliff) is dangerous. This paper addresses the gap by directly minimizing the performance loss of the learned policy.

Methods: The ActiveVaR Framework

The authors propose ActiveVaR, which leverages the $α$-Value-at-Risk ($α$-VaR) metric to guide querying.

  1. Bayesian IRL: The robot maintains a distribution of possible reward functions $P(R|D)$ using Markov Chain Monte Carlo (MCMC) sampling based on observed demonstrations.
  2. Measuring Risk via EVD: For any state, the robot calculates the Expected Value Difference (EVD)—the gap between the optimal policy and its current best guess across the distribution of likely rewards.
  3. The $α$-VaR Metric: Instead of average error, the robot evaluates the $α$-quantile worst-case outcome. This provides a high-confidence upper bound on potential performance loss.
  4. Active Querying: The algorithm identifies the state with the highest $α$-VaR and asks the human for an action or a critique.
Comparison of VaR and Entropy metrics for active querying. ActiveVaR focuses on states with high performance risk, whereas entropy-based methods focus on statistical uncertainty.
  1. Stopping Criterion: ActiveVaR stops once the maximum $α$-VaR falls below a user-defined safety threshold ($ε$), answering the critical question: "Do I know enough to perform this task safely?"

Experimental Evaluation

The researchers evaluated ActiveVaR in three domains:

  • 8x8 Gridworlds: Comparing against baselines like Active Sampling (entropy-based) and ARC (information-gain based) using 48 random continuous features.
  • 2D Highway Driving Simulator: Testing the ability to handle non-deterministic transitions and identify "corner cases" in traffic.
  • Robot Table Setting Task: Learning preferences for item placement on a cluttered table using Radial Basis Function (RBF) rewards.

Key Results

ActiveVaR demonstrates significant improvements in both learning speed and safety.

  • Faster Learning: In gridworld experiments, ActiveVaR reduced policy loss significantly faster than random querying or entropy-based active learning.
  • Computational Efficiency: ActiveVaR is roughly three orders of magnitude faster than information-theoretic approaches like ARC (0.01s vs 865s per iteration) because it only evaluates the robot's potential for error rather than simulating all possible human responses.
Policy loss comparison across different querying strategies. ActiveVaR significantly outperforms random and entropy-based (AS) sampling.
  • Safety Bounds: In the table-setting task, the 0.95-VaR bound successfully acted as a true upper bound on the actual maximum placement error, providing a reliable safety envelope for the robot's performance.

Discussion and Limitations

A key insight of this work is that uncertainty does not equal risk. By ignoring "safe" uncertainty and focusing on "dangerous" uncertainty, ActiveVaR achieves superior generalization.

However, limitations remain. The method relies on MCMC sampling, which may struggle to scale to extremely high-dimensional feature spaces (e.g., raw pixels). Additionally, it assumes a "softmax" human model; highly suboptimal or adversarial human input could compromise the risk bounds. Future work may explore "risk-sensitive" IRL, where the robot actively chooses policies that minimize risk under reward uncertainty.

Summary updated

BibTeX
@inproceedings{brown2018risk,
  author = {Daniel S. Brown and Yuchen Cui and Scott Niekum},
  title = {{Risk-Aware Active Inverse Reinforcement Learning}},
  booktitle = {Conference on Robot Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=2N6AHqDepew},
}
Figure