Skip to main content
QUICK REVIEW

[Paper Review] Learning to Understand Goal Specifications by Modelling Reward

Dzmitry Bahdanau, Felix Hill|arXiv (Cornell University)|Jun 5, 2018
Reinforcement Learning in RoboticsComputer Science69 citations
TL;DR

AGILE trains instruction-conditional RL agents using rewards from a learned reward model jointly trained on expert goal-states and agent experiences, enabling instruction understanding without hard-coded environment rewards and generalizing to new environments.

ABSTRACT

Recent work has shown that deep reinforcement-learning agents can learn to follow language-like instructions from infrequent environment rewards. However, this places on environment designers the onus of designing language-conditional reward functions which may not be easily or tractably implemented as the complexity of the environment and the language scales. To overcome this limitation, we present a framework within which instruction-conditional RL agents are trained using rewards obtained not from the environment, but from reward models which are jointly trained from expert examples. As reward models improve, they learn to accurately reward agents for completing tasks for environment configurations---and for instructions---not present amongst the expert data. This framework effectively separates the representation of what instructions require from how they can be executed. In a simple grid world, it enables an agent to learn a range of commands requiring interaction with blocks and understanding of spatial relations and underspecified abstract arrangements. We further show the method allows our agent to adapt to changes in the environment without requiring new expert examples.

Motivation & Objective

  • Motivate reducing reliance on engineered language-conditioned rewards by learning rewards from examples of goal-states.
  • Propose a framework that jointly learns an instruction-conditioned reward model and a policy.
  • Enable adaptation to new environments without requiring new expert demonstrations.
  • Demonstrate that learned rewards can guide agents as effectively as true environment rewards in simple grid-world tasks.

Proposed method

  • Introduce Adversarial Goal-Induced Learning from Examples (AGILE) where a discriminator D_phi learns to predict whether a state s is a goal for instruction c.
  • Train the policy pi_theta to maximize expected discounted reward using the modelled reward hat{r}_t = [D_phi(c, s_t) > 0.5].
  • Update the reward model by discriminating between expert (c, s) goal-state examples from dataset D and agent-originated (c, s) pairs from a replay buffer B, via a cross-entropy objective L_D(phi).
  • Handle false negatives with a sampling heuristic that discards the top 1-ρ percent of low-reward states from B when updating D_phi, where ρ is the anticipated negative rate.
  • Compare AGILE-trained policies (AGILE-A3C) to policies trained with true environment rewards and to auxiliary reward-prediction baselines (RP).
  • Explore two model architectures (FiLM-NMN and FiLM-LSTM) to encode instructions and ground them in visual state representations.

Experimental results

Research questions

  • RQ1Can a learned reward model, conditioned on instructions, effectively supervise RL policies without environment-based rewards?
  • RQ2Does AGILE enable faster learning and comparable performance to environment-reward baselines across instruction types?
  • RQ3How well does the reward model generalize to unseen instructions and environment changes?
  • RQ4Is the reward model reusable for training or fine-tuning policies in new configurations?

Key findings

  • AGILE-A3C learns the GridLU-Relations task more easily than standard A3C with environment rewards.
  • Using an auxiliary reward prediction objective further boosts A3C performance, approaching AGILE performance.
  • The reward model can achieve high accuracy (around 99%+) and provide a useful curriculum via early false positives.
  • AGILE with structure-agnostic FiLM-LSTM achieves high success rates, indicating language grounding does not strictly require NMN structure.
  • The reward model demonstrates generalization by adapting policy performance when environment dynamics change, with fine-tuning aiding recovery.
  • GridLU-Arrangements shows AGILE can scale to larger goal-state spaces, achieving meaningful success with limited expert-goal data (100,000 examples) and human-evaluated final states.

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.