[Paper Review] Random Expert Distillation: Imitation Learning via Expert Policy Support Estimation
This paper proposes Random Expert Distillation (RED), a novel imitation learning framework that estimates the support of expert policies to generate a fixed, intrinsic reward function, enabling stable imitation learning without dynamic reward updates. By adapting ideas from Random Network Distillation and autoencoders, RED achieves performance on par with or better than state-of-the-art methods like GAIL and GMMIL across discrete and continuous control tasks, including autonomous driving.
We consider the problem of imitation learning from a finite set of expert trajectories, without access to reinforcement signals. The classical approach of extracting the expert's reward function via inverse reinforcement learning, followed by reinforcement learning is indirect and may be computationally expensive. Recent generative adversarial methods based on matching the policy distribution between the expert and the agent could be unstable during training. We propose a new framework for imitation learning by estimating the support of the expert policy to compute a fixed reward function, which allows us to re-frame imitation learning within the standard reinforcement learning setting. We demonstrate the efficacy of our reward function on both discrete and continuous domains, achieving comparable or better performance than the state of the art under different reinforcement learning algorithms.
Motivation & Objective
- To address the instability and computational cost of adversarial imitation learning methods like GAIL and GMMIL.
- To overcome the compounding error problem in behavioral cloning by learning a robust reward function from expert trajectories.
- To develop a method that estimates the support of expert policies to define a fixed reward function, avoiding iterative reward updates.
- To enable effective imitation learning from a finite set of expert demonstrations without access to reinforcement signals or expert policy during training.
- To improve sample efficiency and generalization in imitation learning, especially in high-dimensional control tasks like autonomous driving.
Proposed method
- RED estimates the support of the expert policy using a random network distillation-inspired approach, where a random encoder maps states to latent representations.
- An autoencoder is trained to reconstruct expert states in the latent space, learning a compact representation of the expert's support.
- The reconstruction error in the latent space is used as a fixed intrinsic reward function, assigning low rewards to states outside the expert's support.
- The reward function is used within a standard reinforcement learning framework, enabling stable training without dynamic reward adaptation.
- The method leverages the idea that states outside the expert's support are 'novel' and thus penalized via high reconstruction error.
- The approach is orthogonal to GAIL and can be combined with it to improve exploration and robustness.
Experimental results
Research questions
- RQ1Can expert policy support estimation provide a stable and effective alternative to adversarial imitation learning?
- RQ2Can a fixed reward function derived from support estimation outperform dynamic reward functions in imitation learning?
- RQ3How does support-based reward shaping compare to behavioral cloning and inverse reinforcement learning in terms of sample efficiency and generalization?
- RQ4To what extent can RED generalize from limited expert demonstrations in complex environments like autonomous driving?
- RQ5Can the combination of RED and GAIL improve exploration and training stability in imitation learning?
Key findings
- RED achieved the highest average episodic reward of 4825 on the autonomous driving task, outperforming GAIL (795), GMMIL (2024), BC (1033), and AE (4378).
- In the HalfCheetah and Ant environments, RED required policy initialization via behavioral cloning to achieve good performance, unlike GAIL and GMMIL, which succeeded from random initialization.
- RED demonstrated robustness to random initialization, with lower standard deviation than AE (1552 vs. 1726), indicating more stable training.
- The reward function in RED correctly penalized dangerous states such as collisions and near-collisions, assigning near-zero rewards to such states.
- GAIL exhibited overfitting issues, often failing to avoid obstacles after discriminator updates, while GMMIL produced inconsistent incentives, assigning positive rewards before collisions.
- RED's reward function was effective in identifying states dissimilar to expert demonstrations, aligning with safety-critical behaviors in real-world scenarios.
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.