Unsupervised Hierarchical Skill Discovery
Damion Harvey, Geraud Nangue Tasse, Branden Ingram, Benjamin Rosman, Steven James
TL;DR
HiSD presents an unsupervised framework for discovering hierarchical skill structures directly from observational data by coupling temporal action segmentation with grammar-based sequence compression. It uses unbalanced optimal transport for robust skill segmentation and Sequitur grammar induction to build a global, reusable hierarchy over discovered skills, all without action or reward supervision. Evaluations in Craftax and Minecraft show HiSD delivers more accurate skill segmentation and deeper, more coherent hierarchies than baselines, and that these abstractions can accelerate downstream reinforcement learning through modular options and initiation/termination models. The work demonstrates a scalable path to learning structured, compositional representations from unlabelled data, with practical impact for enabling efficient learning in high-dimensional domains.
Abstract
We consider the problem of unsupervised skill segmentation and hierarchical structure discovery in reinforcement learning. While recent approaches have sought to segment trajectories into reusable skills or options, most rely on action labels, rewards, or handcrafted annotations, limiting their applicability. We propose a method that segments unlabelled trajectories into skills and induces a hierarchical structure over them using a grammar-based approach. The resulting hierarchy captures both low-level behaviours and their composition into higher-level skills. We evaluate our approach in high-dimensional, pixel-based environments, including Craftax and the full, unmodified version of Minecraft. Using metrics for skill segmentation, reuse, and hierarchy quality, we find that our method consistently produces more structured and semantically meaningful hierarchies than existing baselines. Furthermore, as a proof of concept for utility, we demonstrate that these discovered hierarchies accelerate and stabilise learning on downstream reinforcement learning tasks.
