[Paper Review] Extrapolating Beyond Suboptimal Demonstrations via Inverse Reinforcement Learning from Observations
T-REX learns a reward function from ranked suboptimal demonstrations to extrapolate beyond the best demonstration, enabling a learner to outperform the demonstrator without ground-truth rewards or action labels.
A critical flaw of existing inverse reinforcement learning (IRL) methods is their inability to significantly outperform the demonstrator. This is because IRL typically seeks a reward function that makes the demonstrator appear near-optimal, rather than inferring the underlying intentions of the demonstrator that may have been poorly executed in practice. In this paper, we introduce a novel reward-learning-from-observation algorithm, Trajectory-ranked Reward EXtrapolation (T-REX), that extrapolates beyond a set of (approximately) ranked demonstrations in order to infer high-quality reward functions from a set of potentially poor demonstrations. When combined with deep reinforcement learning, T-REX outperforms state-of-the-art imitation learning and IRL methods on multiple Atari and MuJoCo benchmark tasks and achieves performance that is often more than twice the performance of the best demonstration. We also demonstrate that T-REX is robust to ranking noise and can accurately extrapolate intention by simply watching a learner noisily improve at a task over time.
Motivation & Objective
- Motivate learning from suboptimal demonstrations by inferring the demonstrator's underlying intent rather than mirroring it.
- Develop a reward-learning-from-observation method that uses ranked trajectories to extrapolate beyond the best demonstration.
- Enable a downstream RL agent to achieve better-than-demonstrator performance by optimizing the inferred reward.
Proposed method
- Introduce Trajectory-ranked Reward EXtrapolation (T-REX) that uses ranked demonstrations to learn a state-based reward function via a neural network.
- Train the reward network by minimizing a ranking-based loss that encourages higher-ranked trajectories to have higher predicted returns, using a softmax cross-entropy (Bradley–Terry/Luce–Shephard style) objective.
- Use partial trajectories to increase training examples and data augmentation, forming many pairwise preferences from ranked demonstrations.
- Combine the learned reward with deep RL (PPO) to obtain policies that outperform the demonstrations.
- Employ an ensemble of five neural networks to regularize reward learning and normalize outputs before RL optimization.
Experimental results
Research questions
- RQ1Can ranked, potentially suboptimal demonstrations be used to learn a reward function that extrapolates beyond the best observed trajectory?
- RQ2Does learning from observation with rankings enable policies that outperform the demonstrator in high-dimensional tasks?
- RQ3How robust is T-REX to ranking noise and to learning from time-based or human-provided rankings?
- RQ4Can T-REX operate without demonstrator actions or ground-truth reward signals and still outperform imitation baselines?
Key findings
- T-REX often achieves more than twice the performance of the best demonstration when combined with PPO on MuJoCo tasks.
- T-REX outperforms state-of-the-art imitation learning and IRL methods (BCO, GAIL) on most tasks and stages in MuJoCo and Atari.
- T-REX remains robust to moderate ranking noise and can learn from time-ordered (noisy) rankings or human-provided noisy labels.
- On Atari, T-REX outperformed BCO and GAIL in 7 of 8 games and often scored more than double the best demonstration on several titles.
- Reward extrapolation shows high correlation with ground-truth returns for several games, enabling effective policy improvement beyond observed trajectories.
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.