Skip to main content
QUICK REVIEW

[Paper Review] Learning Human Objectives by Evaluating Hypothetical Behavior

Siddharth Reddy, Anca D. Dragan|arXiv (Cornell University)|Dec 5, 2019
Reinforcement Learning in RoboticsComputer Science39 references9 citations
TL;DR

ReQueST is a novel active learning method that synthesizes informative hypothetical agent behaviors using trajectory optimization to efficiently learn human reward functions in complex, high-dimensional environments. By querying users on these synthesized behaviors—targeting uncertainty, reward extremes, safety, and novelty—it achieves superior reward model transfer and safety detection with fewer queries than prior methods.

ABSTRACT

We seek to align agent behavior with a user's objectives in a reinforcement learning setting with unknown dynamics, an unknown reward function, and unknown unsafe states. The user knows the rewards and unsafe states, but querying the user is expensive. To address this challenge, we propose an algorithm that safely and interactively learns a model of the user's reward function. We start with a generative model of initial states and a forward dynamics model trained on off-policy data. Our method uses these models to synthesize hypothetical behaviors, asks the user to label the behaviors with rewards, and trains a neural network to predict the rewards. The key idea is to actively synthesize the hypothetical behaviors from scratch by maximizing tractable proxies for the value of information, without interacting with the environment. We call this method reward query synthesis via trajectory optimization (ReQueST). We evaluate ReQueST with simulated users on a state-based 2D navigation task and the image-based Car Racing video game. The results show that ReQueST significantly outperforms prior methods in learning reward models that transfer to new environments with different initial state distributions. Moreover, ReQueST safely trains the reward model to detect unsafe states, and corrects reward hacking before deploying the agent.

Motivation & Objective

  • To address the challenge of learning human reward functions in environments with unknown dynamics, reward functions, and unsafe states, where direct user querying is expensive.
  • To develop a safe, interactive method that minimizes real environment interactions while efficiently learning a reward model through user feedback on hypothetical behaviors.
  • To improve reward model generalization and transferability to new initial state distributions, especially in complex, continuous-state environments.
  • To detect and correct reward hacking early and identify unsafe states without deploying the agent in risky scenarios.
  • To reduce the number of user queries required by actively selecting the most informative hypothetical behaviors for labeling.

Proposed method

  • ReQueST uses a generative model of initial states and a forward dynamics model trained on off-policy data to synthesize hypothetical agent trajectories.
  • It employs four acquisition functions to generate informative trajectories: uncertainty maximization, reward maximization, reward minimization, and trajectory novelty maximization.
  • The method uses trajectory optimization to generate behaviors that maximize tractable proxies for value of information, avoiding intractable full VOI computation.
  • User feedback on these synthesized behaviors is used to train a neural network reward model, which is iteratively refined until convergence.
  • The reward model is then used to train a model-based RL agent that optimizes the learned reward function.
  • The approach ensures comprehensibility and realism of queries by regularizing trajectories through the dynamics and initial state models.

Experimental results

Research questions

  • RQ1Can hypothetical behavior synthesis via trajectory optimization significantly reduce the number of user queries needed to learn an accurate reward model?
  • RQ2How well does ReQueST transfer to new environments with different initial state distributions compared to baseline methods?
  • RQ3Can ReQueST detect and correct reward hacking before agent deployment, without relying on real environment interactions?
  • RQ4To what extent does ReQueST safely learn to identify and avoid unsafe states in complex environments?
  • RQ5How do different acquisition functions (uncertainty, reward max/min, novelty) contribute to model performance across varying data regimes and domains?

Key findings

  • ReQueST achieved at least 2x better final performance than adapted baselines in transfer settings on 2D navigation and Car Racing, demonstrating superior generalization.
  • In the 2D navigation task, ReQueST correctly classified 100% of unsafe states as unsafe and deployed agents with zero failures, while baselines failed in 75% of cases.
  • The method successfully detected reward hacking by identifying and correcting high-reward behaviors that deviated from intended objectives, even before deployment.
  • Uncertainty-maximizing queries clustered at boundaries of goal and trap regions, improving model precision in defining these regions.
  • Reward-maximizing queries initially extrapolated beyond the goal region due to reward model bias, but corrected after user labeling of high-reward, off-policy behaviors.
  • Novelty-maximizing queries explored underrepresented areas like map corners, helping the model learn the spatial extent of goal and trap regions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.