Bayesian Nonparametrics for Offline Skill Discovery
Preprint
Abstract
Skills or low-level policies in reinforcement learning are temporally extended actions that can speed up learning and enable complex behaviours. Recent work in offline reinforcement learning and imitation learning has proposed several techniques for skill discovery from a set of expert trajectories. While these methods are promising, the number K of skills to discover is always a fixed hyperparameter, which requires either prior knowledge about the environment or an additional parameter search to tune it. We first propose a method for offline learning of options (a particular skill framework) exploiting advances in variational inference and continuous relaxations. We then highlight an unexplored connection between Bayesian nonparametrics and offline skill discovery, and show how to obtain a nonparametric version of our model. This version is tractable thanks to a carefully structured approximate posterior with a dynamically-changing number of options, removing the need to specify K. We also show how our nonparametric extension can be applied in other skill frameworks, and empirically demonstrate that our method can outperform state-of-the-art offline skill learning algorithms across a variety of environments. Our code is available at https://github.com/layer6ai-labs/BNPO .Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Array programming with NumPyNature, 2020
- SWIRL: A sequential windowed inverse reinforcement learning algorithm for robot tasks with delayed rewardsThe International Journal of Robotics Research, 2018
- Transition State Clustering: Unsupervised Surgical Trajectory Segmentation for Robot Learning2017
- TSC-DL: Unsupervised trajectory segmentation of multi-modal surgical demonstrations with Deep Learning2016
- A survey of robot learning from demonstrationRobotics and Autonomous Systems, 2009
- Matplotlib: A 2D Graphics EnvironmentComputing in Science & Engineering, 2007
- Between MDPs and semi-MDPs: A framework for temporal abstraction in reinforcement learningArtificial Intelligence, 1999
- Simple Statistical Gradient-Following Algorithms for Connectionist Reinforcement Learning1992
- Likelihood ratio gradient estimation for stochastic systemsCommunications of the ACM, 1990
- Maximum Likelihood from Incomplete Data Via the EM AlgorithmJournal of the Royal Statistical Society Series B: Statistical Methodology, 1977