Skip to main content
QUICK REVIEW

[Paper Review] ELLA: Exploration through Learned Language Abstraction

Suvir Mirchandani, Siddharth Karamcheti|arXiv (Cornell University)|Mar 10, 2021
Reinforcement Learning in RoboticsComputer Science46 references8 citations
TL;DR

ELLA is a reward shaping method that improves sample efficiency in sparse-reward, language-based reinforcement learning by learning to identify relevant low-level subtasks through online relevance classification and offline termination classification. It boosts performance on complex BabyAI tasks by providing auxiliary rewards for completing useful subtasks without requiring predefined hierarchical instruction decomposition.

ABSTRACT

Building agents capable of understanding language instructions is critical to effective and robust human-AI collaboration. Recent work focuses on training these agents via reinforcement learning in environments with synthetic language; however, instructions often define long-horizon, sparse-reward tasks, and learning policies requires many episodes of experience. We introduce ELLA: Exploration through Learned Language Abstraction, a reward shaping approach geared towards boosting sample efficiency in sparse reward environments by correlating high-level instructions with simpler low-level constituents. ELLA has two key elements: 1) A termination classifier that identifies when agents complete low-level instructions, and 2) A relevance classifier that correlates low-level instructions with success on high-level tasks. We learn the termination classifier offline from pairs of instructions and terminal states. Notably, in departure from prior work in language and abstraction, we learn the relevance classifier online, without relying on an explicit decomposition of high-level instructions to low-level instructions. On a suite of complex BabyAI environments with varying instruction complexities and reward sparsity, ELLA shows gains in sample efficiency relative to language-based shaping and traditional RL methods.

Motivation & Objective

  • Improve sample efficiency in sparse-reward, long-horizon language instruction tasks for embodied agents.
  • Enable efficient exploration by identifying and rewarding relevant low-level behaviors during policy learning.
  • Avoid reliance on strict, pre-defined hierarchical decompositions of high-level instructions.
  • Learn relevance between low-level actions and high-level tasks online, without requiring expert-provided subtask sequences.
  • Enhance generalization and robustness in complex, compositional instruction environments.

Proposed method

  • Train a termination classifier offline using labeled pairs of low-level instructions and terminal states to detect completion of subtasks.
  • Learn a relevance classifier online to identify which low-level subtasks are predictive of success on high-level tasks.
  • Use the relevance classifier to dynamically assign auxiliary rewards during policy training based on subtask completion.
  • Formulate the reward shaping loss with a hyperparameter λ to balance intrinsic and shaped rewards, ensuring policy invariance.
  • Collect online experience from successful trajectories to train the relevance classifier on-the-fly, using deduplication to reduce noise.
  • Integrate the relevance classifier with a standard RL algorithm (e.g., PPO) to shape rewards based on subtask relevance.

Experimental results

Research questions

  • RQ1Can online learning of subtask relevance improve sample efficiency in sparse-reward language instruction tasks?
  • RQ2How does ELLA’s approach compare to traditional RL and language-based shaping baselines in terms of learning speed and final performance?
  • RQ3To what extent does ELLA generalize across diverse, compositional language instructions in complex environments?
  • RQ4How sensitive is ELLA’s performance to the choice of the shaping hyperparameter λ?
  • RQ5Can ELLA learn meaningful abstractions without requiring explicit hierarchical decomposition of high-level instructions?

Key findings

  • ELLA achieves substantial gains in sample efficiency across multiple BabyAI environments, including PutNext, Unlock, Combo, Open&Pick, and Sequence tasks.
  • On PutNext-Maze and Sequence-Maze, ELLA reduces the number of subtasks per high-level instruction over time, indicating improved decomposition estimation.
  • The relevance classifier achieves high validation accuracy on PutNext-Maze, demonstrating effective learning of task-relevant abstractions.
  • The method shows stable learning with λ = 0.25 for PutNext, Unlock, and Combo, and λ = 0.5 for longer-horizon tasks like Open&Pick and Sequence.
  • Performance gains are most pronounced in environments with moderate instruction complexity, while highly diverse and compositional instructions (e.g., Sequence-Maze) remain challenging due to data sparsity.
  • Ablation studies show that the termination classifier requires ~15K positive and negative pairs per low-level task for effective performance, and data efficiency remains a limitation in low-data regimes.

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.