TL;DR
This paper formalizes a tight mathematical connection between unsupervised option discovery in reinforcement learning and Variational Autoencoders (VAEs). Leveraging this insight, the authors introduce VALOR, a method that learns diverse, trajectory-centric skills, alongside a simple curriculum learning strategy that stabilizes training and allows a single agent to master hundreds of distinct behaviors.
What Problem Does This Paper Address?
In reinforcement learning (RL), agents typically learn to maximize a hand-crafted reward function. However, humans are intrinsically motivated to explore and learn skills without explicit external rewards. "Option discovery" attempts to mimic this by training agents to discover a diverse set of reusable skills (or options) autonomously.
Prior information-theoretic methods like Variational Intrinsic Control (VIC) and Diversity is All You Need (DIAYN) have made strides here, but they suffer from two key limitations:
- They typically decode skills from individual states, which biases the agent toward learning static goal-attaining behaviors (e.g., "go to position X") rather than complex dynamic behaviors (e.g., "move in a circle").
- Training becomes highly unstable when trying to learn a large number of skills simultaneously, causing optimization to fail.
Methods
The authors frame variational option discovery as a VAE optimization problem: a context vector $c$ (the skill label) is sampled from a noise distribution, the policy acts as an encoder by translating this context into an environmental trajectory $\tau$, and a decoder attempts to reconstruct the original context $c$ from the trajectory.
The paper introduces two core algorithmic contributions:
- VALOR (Variational Autoencoding Learning of Options by Reinforcement): Unlike DIAYN, VALOR's decoder considers the entire trajectory rather than per-timestep states. Crucially, the decoder is blind to raw actions (forcing the agent to actually manipulate the environment to communicate) and processes $k$-step state transitions (deltas) using a bidirectional LSTM architecture.
- Curriculum Learning for Contexts: To solve the instability of training many skills at once, the authors propose starting with a small number of discrete contexts ($K$). Whenever the decoder achieves high confidence ($\geq 0.86$ probability) in distinguishing the current set of skills, $K$ is adaptively increased via a curriculum rule: $K \leftarrow \min(\text{int}(1.5 \times K + 1), K_{max})$.
Datasets
The algorithms were evaluated across several simulated continuous control robotics environments from OpenAI Gym and MuJoCo:
- Standard Locomotion: 2D Point Mass, HalfCheetah, Swimmer, and Ant (modified to omit contact forces).
- Spotlight Environments: A high-dimensional Dextrous Robot Hand ($S \in \mathbb{R}^{48}, A \in \mathbb{R}^{20}$) and a complex Humanoid environment called "Toddler" ($S \in \mathbb{R}^{335}, A \in \mathbb{R}^{35}$).
- Downstream Task: A modified version of Ant-Maze used to test hierarchical transfer.
Key Insights and Ideas
- Trajectories vs. States: By decoding from full trajectories rather than individual states, VALOR successfully prioritizes how an agent moves (dynamical modes) over where an agent ends up (goal-attaining modes).
- The Limits of Pure Information Theory: In highly complex environments like the "Toddler," purely information-theoretic objectives failed to discover natural human behaviors (like walking). Instead, the agent discovered bizarre, unnatural poses that were mathematically easy for the decoder to distinguish but useless to humans. This highlights a fundamental gap between mutual-information maximization and human priors of "useful" behavior.
- Smooth Skill Spaces: By interpolating between context embeddings, the authors demonstrated that the learned policies form a continuous, smooth space of behaviors, proving they are truly universal policies rather than just memorized discrete actions.
Key Results
- Curriculum Stabilization: The curriculum learning trick dramatically improved training speed and stability across VALOR, VIC, and DIAYN. It allowed a single agent to successfully scale up to $K_{max} = 64$ contexts in HalfCheetah and up to $K_{max} = 1024$ contexts in the Point environment.
- Qualitative Diversity: In locomotion tasks, all three methods successfully discovered diverse gaits traveling at various speeds and directions. However, DIAYN was noticeably more prone to learning static, unmoving target states compared to VALOR and VIC.
- Downstream Utility: When using a pretrained VALOR policy as the low-level controller in a hierarchical setup for the Ant-Maze task, it performed on par with a lower level trained from scratch and significantly outperformed a baseline using a fixed random network.
Limitations and Future Work
While VALOR excels at discovering dynamical modes, the authors note that decoders can easily overfit to "trivial" trajectory differences—such as an agent tiling a narrow volume of state space with high-frequency jitters—rather than discovering macro-level behaviors.
A major open challenge for future work is designing unsupervised objectives or decoders that inherently align with human intuition regarding what constitutes a "meaningful" behavioral difference.
Summary updated