pboon09
Institute of Field Robotics (FIBO), KMUTT

Curriculum Learning for Velocity Tracking on Unitree Go2

April 2026 – May 2026

Overview

A study of how two training choices, curriculum learning and reward design, each shape a Unitree Go2 quadruped learning to follow forward-velocity commands from 0 to 4 m/s in Isaac Lab. The speed range is split into bins, and a curriculum decides which bins the robot trains on at each stage.

This was a solo project covering the training and the analysis of all six conditions.

Hardware

The policies are trained and evaluated in simulation.

RobotUnitree Go2 Quadruped
Actuated Joints12
ActionJoint position targets from the policy

System

ComputerIntel Core i5-14400F
GPUNVIDIA RTX 4070 Ti SUPER, 16 GB
SimulatorIsaac Lab on Isaac Sim 4.5
LearningPPO with RSL-RL
Training4096 parallel environments, 3000 PPO iterations per run, 3 seeds per condition, about 36 minutes per run
SoftwarePython 3.10, PyTorch with CUDA

Process

  1. Split the speed range

    Forward speed from 0 to 4 m/s is cut into eight bins of 0.5 m/s. Lateral and yaw commands stay at zero, so the policy only sees a forward-velocity command.

  2. Fix the reward

    The upstream Go2 reward makes standing still the best strategy at sprint commands, because the smoothness penalty at 4 m/s outweighs the tracking reward. Two redesigns fix this.

    • Sprint-retune weakens four smoothness weights and shortens the feet-air-time threshold from 0.5 s to 0.1 s. It has no term that rewards coordination between feet.
    • Energy-regularised keeps those changes and adds an energy term from Liang et al., a cost of transport that rewards less power per unit of speed. It also widens the tracking kernel.
  3. Choose the curriculum

    Three ways to choose which speed bin each environment trains on.

    • Uniform keeps all eight bins equally likely.
    • Task-specific starts at the slowest bin and unlocks the next bins once the tracking reward passes 0.7, after at least 50 episodes.
    • Teacher-guided re-weights bins every 100 iterations with a softmax of each bin's learning progress, with a 15% uniform floor.
  4. Train every condition

    Each of the six conditions is trained for 3000 iterations with 3 seeds, so the study compares 18 training runs under identical settings except the one factor being tested.

  5. Evaluate each bin separately

    Every policy runs deterministically for 100 rollouts of 1000 steps in each bin. Four metrics are recorded.

    • Per-bin tracking reward.
    • EPTE-SP, the tracking error with a penalty for falling.
    • Iterations to reach a tracking reward of 0.7.
    • Gait pattern from foot contacts.

Table 1. Reward designs, upstream and retuned values

TermSprint-Retune RewardEnergy-Regularised Reward
Joint Velocity Weight\(-10^{-3}\) to \(-10^{-4}\)Same
Joint Acceleration Weight\(-2.5\times 10^{-7}\) to \(-10^{-7}\)Same
Joint Torque Weight\(-2\times 10^{-4}\) to \(-2\times 10^{-5}\)Same
Action Rate Weight\(-0.1\) to \(-0.005\)Same
Feet-Air-Time Threshold0.5 s to 0.1 sSame
Tracking Kernel Width\(\sigma_v\) = 0.5 m/s\(\sigma_v\) = 1.0 m/s
Energy TermNone\(\exp\!\left(-\frac{\sum_j |\tau_j|\,|\dot q_j|}{500\,|v_x| + 250\,|\omega_z|}\right)\), weight \(0.5\)

Results

The conditions separate only at the sprint bins 6 and 7. Bins 0 to 4 track equally.

Falls and speed at the sprint bins

  • Under the sprint-retune reward, uniform falls in 98% and 100% of rollouts at bins 6 and 7, task-specific in 50%, and teacher-guided in 13% and 17%.
  • Under the energy-regularised reward no condition falls. At bin 7 the mean speed is 3.29 m/s for teacher-guided, 2.31 m/s for task-specific and 0.54 m/s for uniform.

Table 2. EPTE-SP and fall rate at bins 5 to 7

RewardBinUniformTask-SpecificTeacher-Guided
Sprint-Retune50.139 / 9%0.067 / 0%0.066 / 0%
Sprint-Retune60.982 / 98%0.537 / 50%0.187 / 13%
Sprint-Retune71.000 / 100%0.536 / 50%0.228 / 17%
Energy50.057 / 0%0.055 / 0%0.057 / 0%
Energy60.092 / 0%0.079 / 0%0.077 / 0%
Energy70.857 / 0%0.385 / 0%0.126 / 0%
Fig. 2a. Achieved against commanded forward velocity, sprint-retune reward
Fig. 2a. Achieved against commanded forward velocity, sprint-retune reward
Fig. 2b. Achieved against commanded forward velocity, energy-regularised reward
Fig. 2b. Achieved against commanded forward velocity, energy-regularised reward

Speed of learning

  • Uniform never reaches a tracking reward of 0.7 at bin 7.
  • Task-specific reaches it in fewer iterations than teacher-guided at every sprint bin.

Table 3. PPO iterations until the per-bin tracking reward first passes 0.7

RewardBinUniformTask-SpecificTeacher-Guided
Sprint-Retune5984334576
Sprint-Retune6Not Mastered510836
Sprint-Retune7Not Mastered11001742
Energy5462386558
Energy6614526706
Energy7Not Mastered12321318
Fig. 3a. Iterations to mastery per condition and bin, sprint-retune reward
Fig. 3a. Iterations to mastery per condition and bin, sprint-retune reward
Fig. 3b. Iterations to mastery per condition and bin, energy-regularised reward
Fig. 3b. Iterations to mastery per condition and bin, energy-regularised reward

Sampling distribution

The heatmaps show how often each speed bin is sampled over training under each curriculum.

Fig. 4a. Sampling probability of each bin over training, sprint-retune reward
Fig. 4a. Sampling probability of each bin over training, sprint-retune reward
Fig. 4b. Sampling probability of each bin over training, energy-regularised reward
Fig. 4b. Sampling probability of each bin over training, energy-regularised reward

Gait

  • Under the energy-regularised reward every condition trots at the slow bins.
  • No condition has a flight phase.
  • Under the sprint-retune reward no real walking gait is learned at 0.25 m/s.
Fig. 5a. Stance and swing of each foot at evaluation, sprint-retune reward
Fig. 5a. Stance and swing of each foot at evaluation, sprint-retune reward
Fig. 5b. Stance and swing of each foot at evaluation, energy-regularised reward
Fig. 5b. Stance and swing of each foot at evaluation, energy-regularised reward

Figures and Video

Training pipeline
Training pipeline

Sprint-Retune Reward

Energy-Regularised Reward

Uniform sampling, 3.75 m/s command
Uniform sampling, 3.75 m/s command
Task-specific sampling, 3.75 m/s command
Task-specific sampling, 3.75 m/s command
Teacher-guided sampling, 3.75 m/s command
Teacher-guided sampling, 3.75 m/s command