Skip to main content
QUICK REVIEW

[Paper Review] Self-Imitation Learning via Trajectory-Conditioned Policy for Hard-Exploration Tasks

Yijie Guo, Jongwook Choi|arXiv (Cornell University)|Sep 25, 2019
Reinforcement Learning in RoboticsComputer Science65 references13 citations
TL;DR

This paper proposes a trajectory-conditioned policy for self-imitation learning that enables agents to imitate diverse past trajectories, improving exploration in hard-exploration tasks without expert demonstrations. By learning from a variety of successful behaviors instead of focusing on isolated high-reward episodes, the method avoids myopic behavior and achieves a new SOTA score of over 20,000 points in Montezuma’s Revenge.

ABSTRACT

Imitation learning from human-expert demonstrations has been shown to be greatly helpful for challenging reinforcement learning problems with sparse environment rewards. However, it is very difficult to achieve similar success without relying on expert demonstrations. Recent works on self-imitation learning showed that imitating the agent's own past good experience could indirectly drive exploration in some environments, but these methods often lead to sub-optimal and myopic behavior. To address this issue, we argue that exploration in diverse directions by imitating diverse trajectories, instead of focusing on limited good trajectories, is more desirable for the hard-exploration tasks. We propose a new method of learning a trajectory-conditioned policy to imitate diverse trajectories from the agent's own past experience and show that such self-imitation helps avoid myopic behavior and increases the chance of finding a globally optimal solution for hard-exploration tasks, especially when there are misleading rewards. Our method significantly outperforms existing self-imitation learning and count-based exploration methods on various hard-exploration tasks with local optima. In particular, we report a state-of-the-art score of more than 20,000 points on Montezuma's Revenge without using expert demonstrations or resetting to arbitrary states.

Motivation & Objective

  • To address the challenge of sparse-reward, hard-exploration environments where traditional self-imitation leads to sub-optimal, myopic behavior.
  • To improve exploration diversity by enabling agents to imitate multiple past trajectories instead of just the best-performing ones.
  • To reduce reliance on expert demonstrations or environment resets in dense exploration scenarios.
  • To enhance the likelihood of discovering globally optimal policies in environments with misleading or local rewards.

Proposed method

  • The method trains a trajectory-conditioned policy that conditions its behavior on a specific past trajectory, enabling imitation of diverse successful behaviors.
  • It selects and stores diverse high-return trajectories from the agent’s experience buffer for later imitation.
  • The policy is trained using imitation loss to mimic the behavior demonstrated in each selected trajectory.
  • Exploration is enhanced by periodically fine-tuning the policy on these diverse trajectories, promoting broader state-space coverage.
  • The approach avoids overfitting to local optima by preventing the agent from repeatedly relearning the same narrow path.
  • The method does not require expert demonstrations or environment resets, relying solely on the agent’s own experience.

Experimental results

Research questions

  • RQ1Can self-imitation learning be improved by imitating diverse trajectories instead of only the best-performing ones?
  • RQ2Does trajectory-conditioned imitation reduce myopic behavior in sparse-reward environments with local optima?
  • RQ3Can this method achieve state-of-the-art performance on hard-exploration tasks like Montezuma’s Revenge without expert data?
  • RQ4How does the proposed method compare to count-based exploration and standard self-imitation baselines in terms of sample efficiency and final performance?

Key findings

  • The proposed method significantly outperforms standard self-imitation learning and count-based exploration methods on hard-exploration tasks with local optima.
  • It achieves a new state-of-the-art score of over 20,000 points in Montezuma’s Revenge without using expert demonstrations or environment resets.
  • The method reduces myopic behavior by encouraging exploration across diverse trajectories rather than converging on a single high-reward path.
  • The use of trajectory-conditioned policies enables more effective and stable learning in environments with misleading rewards.
  • The approach demonstrates superior sample efficiency and robustness in sparse-reward environments compared to baseline methods.

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.