[Paper Review] Intrinsic Reward Driven Imitation Learning via Generative Model
This paper proposes Generative Intrinsic Reward Driven Imitation Learning (GIRIL), a novel method that uses a conditional variational autoencoder (VAE) to learn intrinsic rewards from a single-life demonstration in Atari games. By modeling forward state transitions and backward action encoding, the generative model enables self-supervised exploration, allowing agents to exceed expert performance—achieving up to 5× the reward of the demonstrator.
Imitation learning in a high-dimensional environment is challenging. Most inverse reinforcement learning (IRL) methods fail to outperform the demonstrator in such a high-dimensional environment, e.g., Atari domain. To address this challenge, we propose a novel reward learning module to generate intrinsic reward signals via a generative model. Our generative method can perform better forward state transition and backward action encoding, which improves the module's dynamics modeling ability in the environment. Thus, our module provides the imitation agent both the intrinsic intention of the demonstrator and a better exploration ability, which is critical for the agent to outperform the demonstrator. Empirical results show that our method outperforms state-of-the-art IRL methods on multiple Atari games, even with one-life demonstration. Remarkably, our method achieves performance that is up to 5 times the performance of the demonstration.
Motivation & Objective
- Address the challenge of achieving expert-level and better-than-expert performance in high-dimensional environments like Atari with only one-life demonstration.
- Overcome the limitations of traditional inverse reinforcement learning (IRL) and behavioral cloning (BC), which often fail to match demonstrator performance due to data scarcity and reward bias.
- Enable effective exploration and policy optimization in low-data regimes by generating a family of intrinsic rewards through a generative model.
- Improve dynamics modeling by jointly learning forward state transitions and backward action encoding using a conditional VAE.
- Achieve superior imitation performance compared to state-of-the-art IRL and curiosity-based methods, even with minimal demonstration data.
Proposed method
- Propose a conditional VAE-based generative intrinsic reward learning (GIRL) module that models forward dynamics as a conditional decoder and backward action encoding as a conditional encoder.
- Use the VAE to generate diverse future states from current states and actions, and to reconstruct actions from future states, improving dynamics modeling accuracy.
- Generate a family of intrinsic rewards based on reconstruction error and transition likelihood, enabling sampling-based self-supervised exploration.
- Train the policy using Proximal Policy Optimization (PPO) on the intrinsic reward function to maximize cumulative returns.
- Normalize states and predicted states to [-1, 1] before computing rewards using the reconstruction loss in Eq. (6).
- Optimize the reward learning module with a learning rate of 3e-4 and standard PPO hyperparameters, including GAE with γ=0.95 and entropy coefficient of 0.0.
Experimental results
Research questions
- RQ1Can a generative model learn intrinsic reward signals that enable imitation agents to outperform the demonstrator in high-dimensional environments with only one-life demonstration?
- RQ2Does joint modeling of forward state transitions and backward action encoding improve dynamics modeling and thus enable better exploration and policy learning?
- RQ3How does the proposed GIRIL method compare to state-of-the-art IRL and curiosity-based methods in terms of imitation performance and sample efficiency?
- RQ4Can intrinsic rewards generated via a VAE-based generative model support self-supervised exploration that leads to superhuman performance in Atari games?
- RQ5To what extent does the quality of dynamics modeling via conditional VAEs impact the final policy performance in low-data imitation learning settings?
Key findings
- GIRIL outperforms state-of-the-art IRL methods, including GAIL and VAIL, on both continuous control tasks and Atari games, achieving the highest average return in all evaluated settings.
- On the InvertedPendulum and InvertedDoublePendulum tasks, GIRIL achieved average returns of 990.2 and 9,164.9, respectively, outperforming CDIL (979.7 and 7,114.7) and GAIL (113.6 and 725.2).
- In Atari games, GIRIL exceeded the expert performance by up to 5 times, even when trained on a single-life demonstration.
- With increasing numbers of full-episode demonstrations, GIRIL consistently achieved the highest performance across all evaluated games and tasks.
- The ablation study confirmed that the joint modeling of forward dynamics and backward action encoding significantly improves performance compared to baselines.
- The method demonstrated robustness and scalability, maintaining superior performance across multiple random seeds and diverse environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.