Skip to content

fix(isaaclab): stabilize G1 locomotion when training past 2000 iterations#9

Open
Abhishek21g wants to merge 1 commit into
amazon-far:mainfrom
Abhishek21g:fix/g1-reward-cliff
Open

fix(isaaclab): stabilize G1 locomotion when training past 2000 iterations#9
Abhishek21g wants to merge 1 commit into
amazon-far:mainfrom
Abhishek21g:fix/g1-reward-cliff

Conversation

@Abhishek21g

Copy link
Copy Markdown

Summary

Addresses reward cliff at ~4k iterations when extending G1 locomotion training to 5k (#4).

Root cause: G1/H1 hyperparams are tuned for ≤2000 iterations (ema_decay=0.95, 32 learning epochs, advantage normalization). Continuing training past convergence causes unstable CFM ratio updates.

Fix: Auto-apply long-run stability overrides in train.py when --max_iterations > 2000 on humanoid locomotion tasks (skipped if user passes explicit agent.algorithm.* overrides so the cliff remains reproducible).

Also adds:

  • README section + scripts/reproduce_g1_cliff.sh
  • tools/fpo_training_receipts — per-run cliff doctor
  • tools/fpo_run_observatory — multi-run HTML dashboard vs paper baselines
  • tools/docs/FPO_CLIFF_RC.md — full root-cause writeup

GPU verification status

Not yet verified on GPU by author — analysis + fix from code review (no local CUDA). Seeking maintainer/community confirmation on 4096-env / 3090-class hardware.

Run max_iters Config Expected
baseline 2000 default ~37 return, no cliff
repro 5000 explicit defaults via CLI cliff ~4k
fix 5000 auto overrides no cliff

Paste W&B / TensorBoard screenshots here after GPU run.

Test plan

  • pytest tools/fpo_training_receipts/tests/ (3 passed)
  • pytest tools/fpo_run_observatory/tests/ (3 passed)
  • bash isaaclab_experiments/scripts/reproduce_g1_cliff.sh on Linux + NVIDIA GPU
  • fpo-observatory scan logs/isaaclab_fpo/g1_flat_flow/<run> returns no red grades for fix run

Workaround (no code change)

Stop at 2000 iterations, or manually set ema_decay=0.99, num_learning_epochs=16, normalize_advantage=false for longer runs.

Fixes #4

…ar#4)

Auto-apply long-run hyperparam overrides when training G1/H1 past the
tuned 2000-iter budget. Add repro script, training observability tools,
and root-cause documentation for the reward cliff in issue amazon-far#4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance Cliffing for G1 Locomotion

1 participant