Abstract
Reliable quadruped navigation over irregular terrain remains challenging, and controlled comparisons of standard reinforcement-learning baselines in Genesis are still limited. We present a reproducible benchmark for Unitree Go2 navigation along fixed cubic Bézier routes to sampled goals on flat and procedural irregular terrain. PPO, SAC, and TD3 are tuned separately with Optuna, trained for 50M environment steps, and evaluated across five training seeds; a uniform-random policy is included as a non-learning baseline. Results are obtained using the best checkpoint from each seed and 100 deterministic evaluation episodes. PPO is the strongest method on both terrain types, reaching 97.6% success and a task score of 119.65 on flat terrain, and 68.0% success with a task score of 75.68 on irregular terrain. TD3 shows partial competence on irregular terrain but with high variance, whereas SAC remains close to the random baseline. However, no method meets the benchmark’s stricter stop-and-settle acceptance criteria. PPO is therefore a strong baseline rather than a solved controller, and the design of rewards and terminations remains central to robust learning in this benchmark.
Introduction
Quadruped robots are attractive for industrial inspection and search-and-rescue because they can traverse environments that remain difficult for wheeled platforms (Cruz Ulloa et al., 2023; Gehring et al., 2021). Learning controllers for these systems is challenging: contact-rich locomotion couples high-dimensional state, nonlinear dynamics, and terrain-dependent failure modes. Simulation remains central to developing and stress-testing policies before deployment (Hwangbo et al., 2019; Rudin et al., 2022; Tan et al., 2018). Recent legged RL shows that massively parallel simulation can produce agile behaviors quickly (Rudin et al., 2022; Tan et al., 2018), while imitation, adaptation, and perception broaden skill and robustness (Kumar et al., 2021; Lee et al., 2020; Miki et al., 2022; Peng et al., 2020).
This work presents a reproducible Genesis-based benchmark for Bézier-commanded navigation with the Unitree Go2, comparing PPO, SAC, and TD3 under one protocol rather than proposing a new controller. Conclusions in deep RL vary with implementation details, seeds, and how uncertainty is reported (Agarwal et al., 2021; Engstrom et al., 2020; Henderson et al., 2018). We therefore pair position-PD actuation, multi-seed reporting, automated hyperparameter search, and matched evaluation across algorithms.
Three contributions anchor the study:
- A fully specified Genesis/Go2 setup: task, observations, reward curriculum, training, and evaluation
- A five-seed comparison of random, PPO, SAC, and TD3 on flat and irregular terrain under a common protocol
- A conservative reading of results: PPO is the strongest baseline, TD3 shows limited irregular-terrain progress, SAC stays near the random baseline, and none of the policies meet the stricter stop-and-settle acceptance criteria
Related work
Among papers that directly compare PPO, SAC, and TD3 on quadrupeds, Mock and Muknahallipatna (Mock & Muknahallipatna, 2024) is the closest reference: they study sim-to-real gait generation under different sensing and reward designs. Their value here is mainly methodological—they neither define a navigation benchmark nor share our controller and sensor stack.
Broader legged-RL work motivates simulation-centric training and locomotion on challenging terrain (Kumar et al., 2021; Lee et al., 2020; Miki et al., 2022; Rudin et al., 2022; Tan et al., 2018). Our objective is narrower: a controlled baseline comparison in Genesis (Genesis Team, 2024) with identical tasks, observations, rewards, and evaluation logic across algorithms.
Benchmark Setup
Task and Environment
All experiments use the Unitree Go2 in Genesis 0.4.2 (Genesis Team, 2024) with a control step of 0.02 s and two physics substeps. The policy outputs 12 joint position offsets relative to a nominal standing pose; a position-PD controller applies these commands with , , and an action weight of 0.25, with a simulated action latency. The low-level loop therefore operates in joint-position space rather than via direct torque commands.
Each episode begins with a sampled navigation goal and a fixed cubic Bézier path from spawn to goal. This keeps the route smooth and compact, in line with prior use of Bézier curves in mobile-robot path planning (Hu et al., 2019). The planner samples 96 points along the curve, projects the robot onto the curve at each step, and outputs a body-frame command using 1 m lookahead with curvature-aware speed limiting. Goals follow a four-stage distance curriculum with ranges 2–6 m, 4–12 m, 6–24 m, and 8–48 m at 0, 2M, 6M, 12M, and 20M training steps.
Observations are a 55-dimensional vector composed of: projected gravity (3), IMU gyro (3), planner command (3), cross-track error (1), heading error to the local Bézier tangent encoded as (2), remaining curve distance (1), goal-heading error encoded as (2), joint position error (12), joint velocity (12), binary foot contact (4), and previous action (12). No camera or lidar is used: irregular-terrain behavior must emerge from inertial, contact, and route-tracking signals rather than explicit terrain preview.
Terrain Configurations
The benchmark covers two terrain configurations:
- Flat terrain — a planar 100 × 100 m surface serving as the locomotion baseline
- Irregular terrain — a procedural 100 × 100 m heightfield at 100 × 100 resolution with heights in m, a 5 m flat spawn region, and a multi-scale generator combining macro undulations, ridges, local features, and swale-like depressions
Reward, Termination, and Metrics
Reward shaping emphasizes route-following and motion quality over raw forward speed. Dense terms encourage command tracking, curve progress, heading alignment, diagonal stepping, and near-goal stabilization, while penalizing cross-track error, reverse and lateral motion, upward motion, airborne phases, tilt, base-height deviation, and action changes, torque, and acceleration.
Terminal terms add +50 (success), −10 (fall/posture), −5 (curve deviation), and −3 (stagnation). A three-stage curriculum switches at 0, 3M, and 8M steps: stage 1 emphasizes route-following and basic stability, stage 2 adds locomotion-shape penalties and gait terms, stage 3 adds near-goal heading and hold-still shaping.
Termination occurs on success, timeout (22 s), fall, persistent posture violation, excessive curve deviation, or stagnation. The stricter acceptance criteria additionally require a minimum success rate, small final goal distance, low stop speed at the goal, and a low failure rate — these are the benchmark’s secondary filter.
Algorithms, Tuning, and Evaluation Protocol
The benchmark compares PPO (Schulman et al., 2017), SAC (Haarnoja et al., 2018), and TD3 (Fujimoto et al., 2018) — all implemented via Stable-Baselines3 (Raffin et al., 2021) — plus a uniform-random baseline. Each algorithm is tuned separately with Optuna (Akiba et al., 2019) in two phases (locomotion then goal_stop), then trained for 50M environment steps with 1024 parallel environments. Results are reported over 5 training seeds using the best checkpoint from each seed and 100 deterministic evaluation episodes.
Results and Discussion
Learning Dynamics
PPO is the only method to achieve a positive task score across all five flat-terrain seeds. Its task score remains positive for 87.5% of logged checkpoints, with a normalized training-horizon AUC of 93.73 and a mean drop from peak to last checkpoint of only 2.28 points. SAC and TD3 never cross a positive task score on flat terrain — their normalized AUCs remain negative at −25.96 and −27.12, respectively.
Irregular terrain narrows the gap but does not change the ranking. PPO achieves the highest reward, task score, success rate, and progress speed, yet its performance weakens relative to flat terrain: the task score drops by 43.96 points and the success rate by 29.6 percentage points. PPO reaches a positive task score in four of the five irregular-terrain seeds, with the first positive crossing appearing at 11.70M steps on average.
| Method | Terrain | AUC | Pos. seeds | First +TS (M) | Pos. ckpts (%) | Peak-last |
|---|---|---|---|---|---|---|
| PPO | Flat | 93.73 ± 1.00 | 5/5 | 5.18 ± 1.20 | 87.5 ± 1.8 | 2.28 ± 1.52 |
| SAC | Flat | −25.96 ± 0.62 | 0/5 | — | 0.0 ± 0.0 | 10.96 ± 2.05 |
| TD3 | Flat | −27.12 ± 1.38 | 0/5 | — | 0.0 ± 0.0 | 14.96 ± 3.45 |
| PPO | Irregular | 40.42 ± 38.85 | 4/5 | 11.70 ± 2.02 | 54.3 ± 31.7 | 25.24 ± 16.45 |
| SAC | Irregular | −25.75 ± 0.62 | 0/5 | — | 0.0 ± 0.0 | 12.86 ± 2.62 |
| TD3 | Irregular | −22.66 ± 4.17 | 4/5 | 14.18 ± 4.65 | 0.4 ± 0.3 | 39.11 ± 18.18 |
AUC is normalized by the 50M-step horizon. First +TS is averaged only over seeds that ever achieve a positive task score.
Behavior Examples
Qualitative Genesis clips from the session above; short captions under each tab.
Stop-and-Settle Analysis
All eight evaluated groups (four methods × two terrains) have 0% pass rate on the stricter stop-and-settle acceptance criteria. On flat terrain, the best PPO seeds still average a final goal distance of 0.49 m and a stop speed of 1.02 m/s, whereas the thresholds require at most 0.35 m and 0.18 m/s. On irregular terrain, PPO averages a final goal distance of 1.48 m and a stop speed of 0.69 m/s — far above the respective thresholds of 0.40 m and 0.20 m/s.
This does not imply that termination-defined success is meaningless. PPO on flat terrain still achieves 97.6% termination-defined success with a mean final yaw error of only 6.9°; it is the stop speed that stays well above the acceptance threshold. The flat-terrain result is therefore a strong navigation policy that does not yet satisfy the full stop-and-settle requirement.
Reward design and off-policy learning
The task is not driven by a single height penalty alone: dense rewards are scaled by the control step , and base-height shaping is tolerance-gated and capped. Even so, contact-rich dynamics, early termination on failure, and the late introduction of stop-and-settle-oriented terms mean that replay buffers can skew toward short, low-return segments. Such biased data can substantially hinder off-policy RL (Dulac-Arnold et al., 2021). We offer this only as a plausible mechanism for SAC’s proximity to the random baseline and TD3’s fragility—not as a claim that PPO is universally preferable for quadruped locomotion—and ablations would be needed to test it.
Conclusion
We presented a comparative benchmark for PPO, SAC, and TD3 on Bézier-commanded Go2 navigation in Genesis. PPO is the strongest baseline on both flat and irregular terrain. SAC remains close to the random baseline, and none of the evaluated policies meet the benchmark’s stricter acceptance criteria.
Rather than overstating these results, the next step is to tighten the benchmark while preserving strong irregular-terrain PPO behavior. Future work should target more selective stopping rewards and terminations, better calibration of off-policy training for failure-heavy replay (see discussion above), and more principled terrain-aware shaping, sensing, or adaptation when the goal is reliable irregular-terrain navigation together with strict stop-and-settle acceptance.
BibTeX Citation
@INPROCEEDINGS{lemos2026quadrupedGenesis, author = {Lemos, Bruno and Silva, Rodrigo and Maia, Guilherme and Chaimowicz, Luiz}, title = {Deep Reinforcement Learning for Quadruped Locomotion in Genesis: A Comparative Study of PPO, SAC, and TD3 in Irregular Terrains}, booktitle = {2026 Brazilian Conference on Robotics (CROS)}, year = {2026}, address = {Jo{\~a}o Pessoa, Para{\'\i}ba, Brazil}, publisher = {IEEE}, isbn = {979-8-3195-1715-9},}