TL;DR
DeepGait is a hierarchical framework that combines model-based motion planning with Deep Reinforcement Learning (DRL) to help quadrupedal robots navigate complex, non-flat terrain. By replacing slow physics simulations with fast "dynamic feasibility" checks during training, the authors achieved an 18-fold reduction in sample complexity while enabling robots to conquer obstacles like 40cm gaps and winding stairs.
What Problem Does This Paper Address?
Legged robots like the ANYmal quadruped are designed for the "real world"—places with stairs, gaps, and rubble. Traditionally, researchers have used two main approaches to move them:
- Model-Based Optimization: Highly precise but computationally "expensive" (slow). These often struggle to run in real-time or rely on "kinostatic" simplifications that ignore the robot's true dynamics.
- End-to-End DRL: Great at generalizing to new situations, but it requires massive amounts of data (sample complexity) and can produce "jittery" or undesirable emergent behaviors because the reward functions are hard to tune.
The challenge is creating a system that is fast enough for real-time use, physically grounded enough to be safe, and smart enough to plan footholds on tricky terrain without taking weeks to train.
Methods
The authors propose a two-level hierarchy that decouples "where to step" from "how to move the legs."
1. The Gait Planner (GP) - The "Brain"
The GP is a high-level policy trained using Proximal Policy Optimization (PPO). It looks at a local height map (exteroceptive sensing) and the robot's state to propose a sequence of "support phases" (footholds and base motions).
- The Innovation: Instead of training the GP in a full physics simulator (which is slow), they use a Transition Feasibility criterion. This is a Linear Program (LP) based on "Convex Resolution Of Centroidal dynamics" (CROC). It essentially asks: "Is it physically possible to move from Point A to Point B given gravity and friction?" If the LP says yes, the move is valid. This allows the planner to learn without the overhead of a physics engine.
2. The Gait Controller (GC) - The "Muscles"
The GC is a low-level policy trained using Trust-Region Policy Optimization (TRPO). Its job is to take the plan from the GP and execute it using only proprioceptive sensing (internal sensors like joint angles). It acts as a robust tracker, ensuring the robot maintains balance even if the terrain is slightly different than expected or if the robot is pushed.
Datasets and Scenarios
The system was evaluated in a custom-built simulation suite consisting of three primary environments:
- Flat-World: A baseline infinite plane.
- Random-Stairs: A 20x20m area with randomly elevated blocks, creating an unpredictable, inclined terrain.
- Temple-Ascent: The "boss level." A composite scenario featuring winding stairs, narrow bridges, stepping stones, and gaps of varying sizes.
Key Insights and Ideas
- Feasibility > Simulation: You don't need a full physics simulation to train a high-level planner. By using a mathematical feasibility check (the LP), the authors bypassed the "noise" and computational cost of contact physics during the planning phase.
- Decoupling Works: By training the controller to be a general-purpose "foothold tracker," it becomes agnostic to the planner. You could swap the DRL planner for a traditional one, and the controller would still work.
- Emergent Gaits: Even though the authors didn't explicitly program a "trot" or "walk," the Gait Planner naturally discovered cyclic gaits for flat ground and switched to clever, acyclic maneuvers to cross gaps and stepping stones.
Key Results
- Efficiency: The use of the feasibility LP resulted in an 18-fold reduction in sample complexity compared to training the planner in a standard physics simulator.
- Performance: The system achieved a near 100% success rate in reaching goals across the challenging "Temple-Ascent" terrain.
- Superiority over Heuristics: The authors compared DeepGait to "Free-Gait" (a state-of-the-art model-based approach). While Free-Gait failed at a 40cm gap because its static stability heuristics were too conservative, DeepGait successfully planned a dynamic "stretch" to cross it.
- Robustness: The controller remained effective even when the robot's mass was increased by 25% or limb lengths were altered by 10% at test time.
Limitations and Future Work
- Contact Constraints: The current model is limited to configurations with three or four feet on the ground. It cannot yet plan for highly dynamic maneuvers involving only one or two feet (like a gallop or a jump).
- Simplified Dynamics: The CROC model assumes zero angular momentum rate. While this works for walking, incorporating angular momentum would allow for even more athletic maneuvers.
- Sim-to-Real: While the results in simulation are impressive, the paper does not demonstrate the system on a physical robot, which would introduce sensor noise and hardware latencies not present in the model.
Summary updated