TL;DR
When teaching a robot to solve long-horizon tasks using pre-collected data, grouping low-level motor commands into discrete "skills" usually relies on clustering similar movements—ignoring whether those movements actually accomplish anything useful. This paper flips that script by defining discrete skills based on their consequences (what state they lead to) rather than how they are executed. Swapping continuous motor outputs for this compact vocabulary of effect-driven skills turns complete failures on complex navigation and manipulation benchmarks into reliable successes.
What Problem Does This Paper Address?
Imagine trying to navigate across a crowded room, except instead of thinking "walk to the door," you have to consciously plan every millisecond of muscle tension in your calves, quads, and toes. If you miscalculate a single twitch, you fall flat on your face.
This is the plight of Offline Goal-Conditioned Reinforcement Learning (GCRL). Agents must learn to reach various goals purely from a static dataset of past interactions, without exploring the real world. In continuous action spaces (like multi-jointed robot control) over long time horizons, a single "out-of-distribution" action—a motor command slightly outside what the training data covers—can derail an entire trajectory.
To make planning tractable, researchers often compress sequences of continuous actions ("action chunks") into a finite menu of discrete skills. However, existing methods typically learn these skills via reconstruction—forcing an autoencoder to compress and recreate the exact motor twitches. The catch? Two wildly different limb movements might achieve the exact same spatial displacement, while two nearly identical twitches near a wall might yield totally different outcomes. Reconstruction-based skills capture how a demonstrator moved, not what the current environment allows the agent to achieve.
Methods
The authors propose a modular, three-stage framework that grounds discrete skills in their environmental effects.
- Stage I: Learning Predictive Skill Codes (The Novel Core). A 1-D convolutional encoder takes a chunk of $L$ continuous actions and compresses it through a Finite Scalar Quantization (FSQ) bottleneck—a clean, stable alternative to VQ-VAE that rounds bounded vectors into one of $K$ discrete integer codes without suffering from "codebook collapse." Crucially, the decoder does not reconstruct the actions. Instead, given the discrete skill code $k$ and current state $s_t$, it predicts the task-relevant features of the future state $x_{t+L}$ (e.g., an agent's $(x, y)$ maze coordinates, ignoring noisy joint velocities).
- Stage II: Low-Level Controller. Because the environment still demands continuous motor commands, a simple feedforward network $\pi_{\mathcal{A}}(k, s_t)$ is trained via mean-squared error to translate a chosen skill code $k$ and the current full state back into single-step continuous actions.
- Stage III: Policy-Independent High-Level RL. Using the Stage I encoder, the entire offline dataset is relabeled into $L$-step discrete skill transitions. Because Stages I and II are completely policy-agnostic, the authors take four standard offline GCRL algorithms—GCBC (imitation learning), GCIQL, GCIVL, and QRL—rip out their continuous action heads, and replace them with categorical discrete heads ($\text{D-}$ variants) that pick from the $K$ skills.
Datasets
No new datasets are introduced; the authors evaluate across established state-based and pixel-based offline RL benchmarks:
- OGBench (Offline Goal-Conditioned RL Benchmark): PointMaze (2D), AntMaze (8-DoF), and HumanoidMaze (21-DoF) across medium, large, and giant sizes. They test both
navigatedatasets (long expert trajectories) andstitchdatasets (short fragments that must be pieced together to reach distant goals), alongside visual AntMaze, Puzzle (puzzle-4x4-play), and Visual Scene manipulation. - D4RL Kitchen: Multi-object robotic manipulation (
partial,mixed, andcompletevariants). - Push-T: A contact-rich planar block-pushing task.
Key Insights and Ideas
- Skills behave like state-dependent affordances: Because the Stage I decoder is conditioned on the current state $s_t$, the learned skill codes naturally adapt to local geometry—representing the actual outcomes available to the agent right now (e.g., not trying to walk through a wall).
- Predicting everything ruins the abstraction: When the authors tried predicting the full proprioceptive state (joint angles, torso orientation, velocities) instead of just goal-relevant features, the codebook wasted its finite capacity memorizing high-frequency limb jitter. The resulting skills collapsed around the origin, failing to move the robot meaningfully through space.
- Pure discretization drives massive gains: Even in D-GCBC—pure behavioral cloning with zero value-function magic—swapping continuous actions for effect-driven skills yields dramatic jumps in success, proving the abstraction itself does heavy lifting.
Key Results
Across 120 experimental comparisons (30 tasks $\times$ 4 RL algorithms), replacing continuous actors with discrete effect-driven heads significantly improved performance in 97 cases, tied in 20, and regressed in only 3.
- Rescuing zero-percent baselines: On
pointmaze-giant-navigate, continuous GCIQL and GCIVL score 0%, whereas D-GCIQL and D-GCIVL jump to 78% and 82%. Onvisual-antmaze-medium-navigate, continuous QRL goes from 0% to 92%. - Scaling to 21-DoF long horizons: On
humanoidmaze-giant-navigate(requiring 4,000 steps with a 21-DoF humanoid), continuous baselines hover at 0–1%, while D-QRL reaches 24%. - Beating other quantizers: On
antmaze-medium-navigate(with GCBC), the authors' method hits 72% success, decisively beating Full-State Prediction (27%), Reconstruction-Based Quantization (21%), and Single-Step Quantization (10%).
Limitations and Future Work
- Defining "task-relevant" features: For state-based tasks, the user must specify which state variables matter for the goal (like $(x,y)$ position or object poses). While predicting raw future pixels sidesteps this in visual tasks, isolating target features in complex state-based domains isn't always trivial.
- Simple low-level controller: The authors intentionally used a basic MLP for the Stage II controller to isolate the benefit of the skill vocabulary; upgrading it to expressive diffusion policies or transformers could sharpen execution.
- Giant, high-DoF mazes remain brutal: Outside of 2D PointMaze, absolute success rates on
giantstitch/navigate tasks remain low (often single digits), leaving ultra-long-horizon high-DoF planning an open frontier.
Summary updated