Skip to main content
QUICK REVIEW

[Paper Review] Learning from Trajectories via Subgoal Discovery

Sujoy Paul, Jeroen Vanbaar|arXiv (Cornell University)|Nov 3, 2019
Reinforcement Learning in RoboticsComputer Science9 citations
TL;DR

This paper proposes a method that discovers sub-goals from expert trajectories to create a discrete, extrinsic reward function, enabling efficient learning in complex, sparse-reward tasks. By combining imitation learning with reinforcement learning and using a one-class classification-based sub-goal modulator, the approach outperforms state-of-the-art RL, IL, and hybrid methods on MuJoCo tasks where they fail, even when using sub-optimal experts.

ABSTRACT

Learning to solve complex goal-oriented tasks with sparse terminal-only rewards often requires an enormous number of samples. In such cases, using a set of expert trajectories could help to learn faster. However, Imitation Learning (IL) via supervised pre-training with these trajectories may not perform as well and generally requires additional finetuning with expert-in-the-loop. In this paper, we propose an approach which uses the expert trajectories and learns to decompose the complex main task into smaller sub-goals. We learn a function which partitions the state-space into sub-goals, which can then be used to design an extrinsic reward function. We follow a strategy where the agent first learns from the trajectories using IL and then switches to Reinforcement Learning (RL) using the identified sub-goals, to alleviate the errors in the IL step. To deal with states which are under-represented by the trajectory set, we also learn a function to modulate the sub-goal predictions. We show that our method is able to solve complex goal-oriented tasks, which other RL, IL or their combinations in literature are not able to solve.

Motivation & Objective

  • To address the challenge of learning complex goal-oriented tasks under sparse terminal-only rewards, which require excessive environment interactions.
  • To improve imitation learning by leveraging expert trajectories not only for policy pre-training but also for sub-goal discovery to shape the reward function.
  • To reduce dependency on expert quality and coverage by learning a sub-goal predictor that generalizes to under-represented states via one-class classification.
  • To enable faster and more reliable reinforcement learning by transforming continuous, potentially erroneous value functions into discrete, structured sub-goal rewards.

Proposed method

  • The method first performs supervised pre-training on expert trajectories to initialize a policy via imitation learning.
  • It then discovers sub-goals by partitioning the state space based on temporal ordering in expert trajectories, using a learned function $ u_{\psi} $ to identify waypoints.
  • A discrete extrinsic reward function is constructed using these sub-goals, providing structured, non-sparse reward signals during RL fine-tuning.
  • To handle out-of-distribution states not covered by expert trajectories, a one-class classification module modulates sub-goal predictions, improving generalization.
  • The agent transitions from IL to RL, using the sub-goal-based reward to alleviate errors from the initial imitation phase.
  • The reward function is formalized in Eqn. 5 using $ u_{\psi} $, which enhances learning stability and performance in sparse-reward environments.

Experimental results

Research questions

  • RQ1Can sub-goal discovery from expert trajectories improve sample efficiency and performance in complex, sparse-reward tasks?
  • RQ2How does sub-goal-based discrete reward shaping compare to continuous value-based reward shaping in terms of learning stability and convergence?
  • RQ3Can the method generalize to states not covered by expert trajectories, and how does the one-class classification module improve robustness?
  • RQ4Does the method outperform state-of-the-art RL, IL, and hybrid approaches on challenging MuJoCo tasks with sparse rewards?

Key findings

  • The method successfully solves three complex MuJoCo tasks—BiMGame, AntTarget, and AntMaze—where state-of-the-art RL, IL, and hybrid methods fail to learn consistently.
  • Using the sub-goal modulator $ u_{\psi} $, the method achieves superior performance on AntMaze and BiMGame, especially in avoiding local optima caused by sparse expert coverage.
  • Even with sub-optimal expert trajectories, the method outperforms the experts themselves, demonstrating robustness to expert quality.
  • The sub-goal discovery mechanism effectively identifies bottleneck regions (e.g., in BiMGame) and evenly partitions paths (e.g., in AntTarget and AntMaze), showing adaptability to different task structures.
  • The use of discrete sub-goal rewards significantly improves learning over continuous value-based rewards, particularly when expert trajectories are limited or long-horizon.

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.