Human-Interactive Subgoal Supervision for Efficient Inverse Reinforcement Learning

Xinlei Pan, Yilin ShenAAMAS 2018

Abstract

Humans are able to understand and perform complex tasks by strategically structuring the tasks into incremental steps or subgoals. For a robot attempting to learn to perform a sequential task with critical subgoal states, such states can provide a natural opportunity for interaction with a human expert. This paper analyzes the benefit of incorporating a notion of subgoals into Inverse Reinforcement Learning (IRL) with a Human-In-The-Loop (HITL) framework. The proposed Human Interactive IRL (HI-IRL) framework is evaluated on several discrete path-planning tasks, demonstrating that subgoal-based interactive structuring results in significantly more efficient learning, requiring only a fraction of the demonstration data needed for baseline models.

Introduction

Inverse Reinforcement Learning (IRL) is a powerful paradigm for teaching agents tasks through expert demonstrations. However, traditional IRL methods face significant challenges: data sparsity, where experts skip tricky parts; high human burden from constant supervision; and data redundancy, where simple task segments are demonstrated repeatedly. This research addresses these issues by asking how human intuition can be used to structure the learning process so that experts only intervene where it matters most.

Methodology: The HI-IRL Framework

The authors introduce Human-Interactive Inverse Reinforcement Learning (HI-IRL), which utilizes a three-step interactive loop to refine the agent's understanding of the reward function:

  1. Subgoal Specification: A human expert provides initial full demonstrations and identifies subgoals—critical bottleneck states essential for task completion.
  2. The "Struggle" Metric: The agent attempts subtasks defined by these subgoals. If the agent cannot reach a subgoal within a set number of steps (minimum steps plus a small exploration threshold), it is deemed to be "struggling."
  3. Targeted Intervention: When the agent struggles, the human provides a partial demonstration specifically for that subtask, rather than a full task demonstration.
  4. Learning from Failure (IRLFF): The framework employs a Deep IRL approach that treats the agent's failed attempts as negative examples, maximizing the difference between expert paths and agent failures to refine the reward function.
The HI-IRL interactive loop: Human demonstrations and agent failures are used to iteratively learn the reward function.

Experimental Setup

The HI-IRL framework was evaluated across two primary discrete path-planning environments:

  • Grid-worlds: Various layouts (12x12 to 32x32) with obstacles to test scalability and navigation.
  • Car Parking Environment: A complex simulation with approximately 5,000 states where an agent must maneuver a car into a narrow garage slot, requiring precise orientation.
Evaluation environments showing grid-worlds and car parking tasks with human-specified subgoals marked by red stars.

Key Insights and Results

Efficiency through Interaction

By exposing the human's "mental map" of subgoals, the search space for the reward function is drastically reduced. The agent acts as a filter, only requesting human effort when it has not yet mastered a specific subtask. In a 32x32 grid-world, HI-IRL reached near-optimal performance with only 1/3 to 1/4 of the demonstration steps required by the baseline MaxEnt IRL.

The Value of Failure and Strategic Subgoals

Unlike many IRL algorithms that ignore failed trajectories, HI-IRL uses them to teach the agent what not to do. Furthermore, experiments confirmed that strategically selected subgoals (human-picked bottlenecks) performed significantly better than randomly selected ones, proving that human intuition is a critical training signal. The authors also note that subgoals act as high-reward anchors; by focusing demonstrations around these states, the agent learns the most important features of the reward landscape first.

Conclusion and Future Work

HI-IRL demonstrates that structured human interaction can make IRL significantly more data-efficient. While the current work focuses on discrete state spaces and manual subgoal selection, future directions include automating subgoal discovery and extending the framework to continuous, high-dimensional real-world robotics. Additionally, further study is needed on the sensitivity of the algorithm to sub-optimal subgoals provided by non-experts.

Summary updated

BibTeX
@inproceedings{pan2018human,
  author = {Xinlei Pan and Yilin Shen},
  title = {{Human-Interactive Subgoal Supervision for Efficient Inverse Reinforcement Learning}},
  booktitle = {AAMAS},
  year = {2018},
  url = {https://openreview.net/forum?id=HWgwwNoCAj},
}
Figure