TL;DR
Teaching legged robots dynamic parkour maneuvers typically demands painstaking reward shaping, expert demonstrations, or hand-crafted curricula. SDAX (Skill Discovery As eXploration) flips the script by using unsupervised skill discovery to explore diverse, high-level behaviors, coupled with a bi-level optimization scheme that automatically balances task completion with behavioral exploration. Without demonstration data, quadrupeds autonomously learn challenging agile skills—including jumping, climbing, crawling, and parkour-style wall flips—and successfully transfer them to physical hardware.
What Problem Does This Paper Address?
Reinforcement learning (RL) has empowered quadrupedal robots to run and jump, but mastering truly agile maneuvers—such as vaulting over deep chasms, crawling under low ceilings, or rebounding off walls—remains remarkably difficult.
Standard RL agents struggle with exploration in these sparse-reward, high-consequence environments. Typical exploration strategies (like Gaussian action noise or Random Network Distillation) encourage state-level dithering, which rarely produces the coordinated, multi-step actions required to jump or crouch. Consequently, roboticists rely heavily on expert demonstration datasets, complex curriculum stages, or delicate reward engineering (e.g., penalizing imaginary obstacle collisions). These workarounds require deep human intuition and limit generalizability across novel obstacles.
Methods
SDAX introduces an end-to-end learning framework that treats unsupervised skill discovery as a high-level exploration mechanism:
┌──────────────────────────────────────────────┐
│ ▼
Latent Skill (z) ──► Policy πθ(a|s, z) ──► Actions ──► Environment
▲ │
│ ┌──────────┴──────────┐
Update π via PPO ▼ ▼
r = r_task + λ * r_div Task Reward State s, s'
▲ (r_task) │
│ │ │
Update λ to │ METRA Diversity Reward
maximize J_task ───────────┘ r_div = (ϕ(s')-ϕ(s))ᵀ z
- Skill-Conditioned Policy & Diversity Reward: Instead of training a vanilla policy $\pi_\theta(a|s)$, SDAX conditions the policy on a latent skill vector $z \sim \mathcal{N}(0, I)$. The total reward combines a simple task reward ($r^{\text{task}}$, e.g., forward velocity tracking) with an intrinsic diversity reward ($r^{\text{div}}$) derived from METRA (which maximizes the Wasserstein Dependency Measure between state transitions and skills).
- Bi-Level Optimization for Balancing ($\lambda$): Rather than hand-tuning the trade-off parameter $\lambda$, SDAX optimizes $\lambda$ via bi-level optimization. While policy parameters $\theta$ optimize $r^{\text{task}} + \lambda r^{\text{div}}$, $\lambda$ is updated specifically to maximize the task reward $J^{\text{task}}$. Intuitively, if the gradient of the diversity reward aligns with the task reward gradient, $\lambda$ increases; if diversity hinders task progress, $\lambda$ decreases.
- Decoupled Value Networks: To prevent training instabilities caused by fluctuating reward scales as $\lambda$ adapts, SDAX maintains two distinct critic networks ($V^{\text{task}}$ and $V^{\text{div}}$).
Datasets
The authors evaluate SDAX entirely in simulation and on physical hardware (no pre-collected offline demonstration datasets were used):
- Simulation Benchmarks (Isaac Gym): Conducted on a Unitree A1 quadruped model across four distinct obstacle settings:
- Leap: Clearing a 48 cm chasm.
- Climb: Scaling a 25 cm high platform.
- Crawl: Navigating under a 29 cm overhead barrier.
- Wall-Jump: A newly introduced super-agile benchmark requiring the robot to run, front-flip to push off a vertical wall, back-flip, and land.
- Hardware Deployment: Real-world testing using a physical Unitree A1 quadruped across wood and rubber-mat terrains.
Key Insights and Ideas
- Skill-Level vs. State-Level Exploration: Conventional exploration bonuses (like RND) push agents to visit nearby unvisited states. In contrast, skill discovery forces the policy to learn distinct trajectories over time (varying velocities, body heights, and pitches), making it far more effective at clearing physical obstacles.
- Dynamic Annealing via Bi-Level Gradients: The balancing parameter $\lambda$ starts high (around 10.0), aggressively driving behavioral diversity early in training, and naturally decays as the agent discovers the solution, allowing pure task exploitation to take over.
- "Positive Collapse": A persistent challenge in unsupervised skill discovery is figuring out which latent vector $z$ solves a given downstream task. SDAX discovers that because the policy network is shared across skills, high-reward trajectories discovered by a few skills backpropagate throughout the network. Over time, an overwhelming majority of randomly sampled skills converge to successful solutions (e.g., success rates of random $z$ vectors jump from 43% to 97% on the leap task).
Key Results
- Superior Obstacle Navigation: On the three-obstacle test, SDAX (with fixed best $z$) surpassed the state-of-the-art Robot Parkour Learning baseline across all three primary tasks:
- Leap: 2.85 ± 0.5 obstacles passed vs. 2.23 ± 0.8 for RPL (Task-only achieved 0.0).
- Crawl: 3.00 ± 0.0 obstacles passed vs. 2.12 ± 1.3 for RPL.
- Climb: 2.93 ± 0.3 obstacles passed vs. 2.82 ± 0.4 for RPL.
- Mastering Super-Agile Wall-Jumps: In the wall-jump task, task-only policies followed 3D position guidelines until slamming face-first into the wall (cumulative return: 5.0). By feeding base orientation (roll, pitch, yaw) into METRA, SDAX discovered the necessary flips to kick off the wall and stick the landing, achieving a cumulative return of 9.5.
- Sim-to-Real Transfer: After 5,000 steps of fine-tuning with domain randomization and sensor noise, policies deployed directly onto a real Unitree A1 robot, successfully leaping over a 46 cm gap, climbing a 25 cm ledge, and crawling under a 27 cm barrier on multiple surface frictions.
Limitations and Future Work
- Manual State Dimension Selection: SDAX still requires practitioners to choose which state sub-dimensions to pass into the skill discovery model (e.g., body height for crawling, forward velocity for leaping, orientation for wall-jumping).
- Two-Stage Sim-to-Real Training: Skill discovery objectives degrade under heavy observation noise and randomized dynamics, as noise obscures meaningful state differences. Consequently, policies must first discover skills in clean simulation before undergoing a second fine-tuning phase with noise and domain randomization. Making skill discovery robust to noise remains an open challenge.
Summary updated