Open-DiffLoco

Open-Source Differentiable Learning for Deployable Blind Quadruped Locomotion

Martin Opat, University of Groningen

Open-DiffLoco trains deployable blind quadruped locomotion policies with differentiable simulation in MuJoCo XLA. It implements SHAC, introduces Jacobian Augmented Value Estimation, and transfers a proprioceptive policy to a Unitree Go2 without reference trajectories or privileged actor observations such as base linear velocity.

Abstract

This paper introduces Open-DiffLoco, an open-source framework for training deployable blind quadruped locomotion policies with differentiable simulation. The framework implements the Short-Horizon Actor-Critic (SHAC) algorithm in MuJoCo XLA (MJX) and trains a proprioceptive policy that transfers to real-world hardware. The deployed policy removes privileged actor observations, including base linear velocity, and does not rely on reference trajectories. It also uses a substantially simplified reward function, allowing the robot to discover walking patterns without the complex auxiliary rewards often used by conventional reinforcement learning pipelines. In real-world experiments, the trained policy tracks omnidirectional velocity commands with root-mean-square error below 0.2 m/s, reaches speeds above 1 m/s, and remains robust to uneven terrain and external physical disturbances. Across the reported configurations, training uses under 6 GB of VRAM on a single NVIDIA GeForce RTX 5080 GPU and completes in approximately 20-60 minutes. As an algorithmic extension to SHAC, we propose Jacobian Augmented Value Estimation (JAVE), which supervises critic Jacobians to improve early first-order policy-gradient training. To our knowledge, Open-DiffLoco is the first open-source framework for training deployable locomotion policies using differentiable simulation. Deployment videos and source code are available on this page.

Simulation Videos

Policy behavior in MJX across omnidirectional, 1 m/s, and faster forward-command settings.

Omnidirectional Tracking w. Reference

Reference trajectory and linear base velocity included in actor observations.

1 m/s Omnidirectional Tracking

No reference trajectory and no base linear velocity in actor observations.

Fast-Speed Tracking

High-speed forward locomotion without reference trajectory or actor base linear velocity.

Real-World Videos

Deployment on a Unitree Go2 with privacy-screened footage.

Omnidirectional Deployment

Real-world deployment using the omnidirectional simulation settings.

Blind Velocity Tracking

Real-world tracking without reference trajectory or actor base linear velocity.

Robustness Pushes

Recovery from external disturbances during real-world deployment.

Highlights

Deployable actor Uses proprioceptive observations available on hardware.
Simplified rewards Discovers stable locomotion without complex auxiliary rewards.
Real-world tracking Reports velocity RMSE below 0.2 m/s.
Accessible training Runs under 6 GB VRAM in about 20-60 minutes.