Policy A
Baseline rewards. Trained on flat rigid ground.
- speed
- 0.26 m/s
- falls
- 21 %
- stalls
- 30 %
Reinforcement Learning for Slow, Stable Quadruped Locomotion on Granular Terrain
1SpaceR, SnT, University of Luxembourg · 2Space Robotics Group, Keio University
Master's Thesis, Keio University, 2024 · Extended 2026
Hardware · Go1 on sand
Sinusoidal sand profileLeft: policies B, C, D3 and E on simulated sand. Right: hardware experiments on the laboratory sand field (2024), Space Robotics Group (Ishigami Lab), Keio University.
S3 trains locomotion policies for the Unitree Go1 to walk on dry sand. The project started as my master's thesis at Keio University in 2024, with experiments on a laboratory sand field. In 2026 I rebuilt it on Isaac Lab 3 and Newton and added a sand contact model based on Resistive Force Theory. All policies below are trained and tested on this simulated sand.
Each clip shows one policy on flat sand (5 cm layer, ζ = 1 N/cm³) with a 0.5 m/s command. The numbers are from 240 trials per policy on sand.
Baseline rewards. Trained on flat rigid ground.
Adds foot-impact, joint-jerk and foot-slip rewards and a terrain curriculum. Trained on rigid ground.
Same rewards as B. Uses an actuator network as the torque model.
B trained on sand, with a learned slip penalty.
B trained on sand, with sinkage, sand-displacement and CoM-margin rewards.
D with the command range of E (|v| ≤ 2 m/s).
D2 without the CoM-margin reward.
D with the slow-regime formulation: relative tracking reward and low-speed gait schedule.
Speed: progress along the commanded heading at 0.5 m/s on flat sand, ζ = 1. Falls and stalls: share of 240 trials on flat and sinusoidal sand, ζ = 0.5–3.75, 0.3–0.8 m/s. A stall is progress below 25 % of the command. B–F are fine-tuned from A.
The robots in each clip run in the same simulation with the same terrain and command.

With the standard tracking reward, a robot that stands still gets 96 % of the maximum reward at 0.1 m/s. E uses a reward relative to the commanded speed, which removes this.
At 0.1 m/s on sand, E makes 0.061 m/s of progress. B makes 0.011 m/s and D2 0.017 m/s. Below Fr = 0.1 the other policies have 80–100 % speed error; E has 45 %.


Constant 0.8 m/s forward command for 5 s on a sinusoidal sand profile (50 mm amplitude, 130 mm wavelength), recorded with motion capture.







Experiments conducted at the Space Robotics Group (Ishigami Lab), Keio University. Laboratory photographs and footage © Space Robotics Group, Keio University.
Policies A, B and C on rigid terrain, 20 trials per bar
Whiskers: 95 % confidence interval. Dashed line: command.
B and C on rough rigid ground, 20 trials per bar
Solid: torque model used in training. Light: the other torque model.
Speed tracking stays the same. Body oscillation increases two to six times when a policy runs with the torque model it was not trained with.
All policies on a 5 cm sand layer, 10 trials per bar
Select ground, command and metric above the chart.
Slip detection (F1)
Held-out trajectories
An MLP estimates foot slip from the same 15-step proprioceptive history the policy uses. It reaches F1 0.72 and 92 % accuracy without extra sensors. Policy F uses it as a reward penalty.
The sand is not simulated with particles. Foot forces come from 3D Resistive Force Theory, precomputed for the Go1 foot as a table, so each foot needs one table lookup per physics step. With sand, 4,096 robots run at about 180,000 steps per second on one GPU (4.6 GB). A 270k-particle MPM sand bed with a single robot ran about 60 times slower than real time.
The sand is a 0–8 cm layer over rigid ground. Sand strength ζ is randomised per robot from 0.5 to 4 N/cm³.
At low speed the contact forces chattered. A wider low-speed regularisation band with force smoothing removed it (right).
Policies are trained with PPO and a teacher–student (RMA) architecture. The teacher sees sand strength and depth. The student uses only proprioception and is the deployed policy. The clip shows Policy A at iterations 0, 250, 1000 and 3000.
The standard tracking reward gives a stationary robot most of the reward at low commanded speeds (orange). The relative kernel used by Policy E does not (blue).
Tracking reward of a stationary robot
Fraction of maximum reward. Shaded: Fr ≤ 0.1.
@mastersthesis{arora2024s3,
title = {S3 (Stable Stride on Sand): Enhancing Reinforcement Learning
for Optimised Deformable Terrain Locomotion of Quadruped Robots},
author = {Arora, Aman and Ishigami, Genya},
school = {Keio University},
year = {2024}
}