# Generate, Track, Improve: Perceptive Multi-Skill Humanoid Locomotion with RL-Fine-Tuned Motion Generators

Robotics.world

> Building a humanoid that can walk, run, jump on and off boxes, and climb stairs in unstructured indoor and outdoor spaces requires two things that existing work usually treats separately: a…

**arXiv**: 2609.31577 · Preprint · not peer-reviewed

**Published**: 2026-09-25

**Authors**: Zachary Olkin, William D. Compton, Aaron D. Ames

## In plain words

Building a humanoid that can walk, run, jump on and off boxes, and climb stairs in unstructured indoor and outdoor spaces requires two things that existing work usually treats separately: a controller that can perceive terrain, and a controller that can produce many different dynamic skills at a commanded velocity.

## AI summary

## Overview

**Research area:** Robotics — perceptive humanoid whole-body locomotion control, combining generative motion planning (flow matching) with reinforcement-learning tracking policies.

**Technical level:** Advanced. The paper assumes familiarity with reinforcement learning (PPO, off-policy actor-critic, advantage-weighted regression), flow matching / diffusion-style generative models, transformers, and sim-to-real transfer for legged robots.

**Scope (one sentence):** The paper presents a two-layer perceptive controller for a Unitree G1 humanoid — a depth-conditioned flow matching motion generator feeding a CLF-RL tracking policy — plus an off-policy RL fine-tuning loop that improves the generator's terrain consistency and skill selection.

## What This Paper Is About

Building a humanoid that can walk, run, jump on and off boxes, and climb stairs in unstructured indoor and outdoor spaces requires two things that existing work usually treats separately: a controller that can perceive terrain, and a controller that can produce many different dynamic skills at a commanded velocity. The authors combine these by pairing a perceptive motion *generator* (which plans whole-body trajectories from raw depth images and a velocity command) with a perceptive *tracker* (which follows those trajectories). The paper's central claim is that after initial supervised training, the generator can be improved with a sample-efficient off-policy RL loop, fixing failures that fine-tuning the tracker cannot fix.

## Key Contributions

1. **A full two-layer perceptive pipeline.** A flow matching transformer generator conditioned on raw depth images from two cameras plus a velocity command, paired with a CLF-RL tracking policy that tracks whole-body link positions. The generator produces a 1.24 s whole-body trajectory every 0.24 s; the tracker runs at 50 Hz.
2. **A terrain-aware motion data pipeline.** Human motion capture from the bones-seed dataset is processed through a multiple-shooting, state-constrained optimization in MuJoCo to produce 252 flat-ground steady-state references (forward/backward walking, diagonal, turning, turning in place, side-stepping, straight running, turning running) and 46 box-jump and stair references. Terrain motions are kinematically retargeted to new geometries and re-optimized, then stitched with Motion Bricks into 10,000 motion clips across 140 tile geometries (clips of 6–20 s in seven families).
3. **Off-policy RL fine-tuning of the generator.** Instead of adding Gaussian noise to a ~3,000-dimensional action space, the method searches by perturbing the conditioning, spawning the robot into varied states, and perturbing the flow matching initial noise; a critic is fit with fitted value iteration and the generator is updated by advantage-weighted regression on the flow matching loss. The paper states this is the first use of RL fine-tuning on a perceptive generative model for dynamic, terrain-aware humanoid locomotion.
4. **Perception and deployment without odometry or height maps.** Both policies consume raw depth directly (the tracker uses a 30x26 self-scanning depth image down-sampled from 600p; the generator uses two cameras), and a single policy pair runs on hardware for walking, running, standing, jumping on/off boxes, and stair traversal indoors and outdoors.

## Main Findings

- **Fine-tuning raises success rates:** successful terrain traversals increased by up to 25 percentage points across four fine-tuning configurations (boxes, stairs with walls, a multi-terrain setup including a building entryway, and an in-distribution terrain set).
- **Fine-tuning fixes skill selection:** the fraction of episodes selecting every mode correctly improved by up to 80 percentage points; on one stairs terrain, correct mode selection went from 0% to about 80%.
- **Terrain consistency improves:** mean contact penalty decreased after fine-tuning, indicating better agreement between planned trajectories and the terrain. Mode labels were assigned by a human over 50 shuffled rollouts per policy per terrain.
- **AWR beats the alternatives tested:** the method matched or outperformed filtered behavior cloning, arrival filtering, plain behavior cloning/self-distillation, and AWR without perturbed conditioning in both success rate and terrain consistency. Plain behavior cloning "fails badly," showing a selection mechanism is essential. Arrival filtering was sensitive to termination choice, losing about 10 percentage points relative to AWR when moving from a 12 cm to a 30 cm termination bound.
- **Two cameras matter:** the authors report that removing the upper depth camera "would cripple" the ability to see terrain early and adjust velocity without changing the command. The specific quantitative ablation is not included in the provided text.
- **Data pipeline matters:** the combination of Motion Bricks in-betweening and dynamic optimization is reported to yield low velocity tracking error and terrain-consistent references. Detailed velocity-tracking numbers are not included in the provided excerpt.
- **Hardware demonstrations:** Fig. 1 documents a 15-step real staircase ascent and descent, jumping onto a box, walking across it, and jumping off, outdoor walking with a turn onto a path, and indoor running on a Unitree G1.
- **Note on truncation:** the supplied text stops partway through the algorithm-comparison section, so the paper's later quantitative results on velocity tracking, camera ablation, and hardware experiments are not reported here.

## Methodology in Plain English

The system is built in four stages.

**Data.** Human motion capture is turned into robot motions by numerical optimization that respects physics (using MuJoCo) and enforces that each motion is periodic and hits an exact average speed. For terrain motions, the researchers place terrain in the simulation to match the recording, extract ground-truth contact by thresholding contact forces, retarget the motion onto other box heights and stair dimensions, and re-optimize. These short references are then spliced into longer clips by a generative in-betweening model (Motion Bricks).

**Tracker.** A reinforcement learning policy learns to follow these clips. It uses a CLF-based tracking reward variant that tracks body link positions rather than joint angles, plus penalties for undesired contact, torque limits, joint limits, action rate, and torque. It sees proprioception with history, a small self-scanning depth image, the reference trajectory, and the velocity command, and outputs joint position targets to PD controllers at 50 Hz. It was trained in IsaacLab with 8192 parallel environments for 20,000 iterations on one H100 (about 48 hours) with PPO and an asymmetric actor-critic. Domain randomization and sensor noise handle sim-to-real.

**Generator.** A flow matching transformer learns to output a whole-body trajectory from two depth images, the velocity command, and a short history of its own previous plan. Each camera's CNN output becomes 56 tokens (112 total), the command is split into 13 tokens, and history nodes are tokenized individually. Depth pixels are fed as five channels: depth, plus x/y/z position in a gravity-aligned, yaw-aligned root frame, plus a validity flag — the authors say these position channels were critical, since the generator receives no proprioception. Training data comes from rolling out the trained tracker and recording what the camera saw; the initial set is 200,000 points, augmented with 3 re-cast viewpoints per on-terrain point. 20% of samples have history replaced by a learned null embedding, and noise is added to history. Training took 100 epochs, about 12 hours on an H100; the model has 26.8 M parameters, eight layers, eight heads, feed-forward width 2048, and d_model 512, with eight Euler steps at inference.

**Fine-tuning.** The generator is treated as the RL policy, with the frozen tracker as part of the environment dynamics. States are the conditioning (depth, history, command); actions are the 62-node, 44-dimensional-per-node trajectory (2728 values). Rewards prioritize terrain consistency via signed distance fields (penetration and contact terms), with velocity tracking and a success term gated on the worst terrain consistency in the episode, so speed and success only pay off when the plan is physically consistent. Data is gathered by perturbing conditioning and initial noise, stored in a FIFO buffer (2,000 episodes initially, 500 new per iteration), and used to fit a critic through fitted value iteration with only a value head trained on the frozen prefix encoder. Two critics are trained on disjoint halves of the data to avoid memorizing episode outcomes. Advantage weights (clipped exponentials of normalized advantage) scale the flow matching loss. Fine-tuning runs five iterations of five epochs each, about six hours on one H100, and pre-training data can be mixed back in at weight one to prevent forgetting.

**Deployment.** The generator runs on an NVIDIA Jetson Thor (about 11 ms inference) and the tracker in under 1 ms. A Zed X mini (lower torso, sees legs and ground) and a Zed X (upper torso, points forward) feed a Jetson Orin for depth processing and down-sampling, with data sent over ROS2; velocity commands come from a Bluetooth joystick.

## Why This Matters

**Research impact.** The paper argues that the generator-plus-tracker split is more modular and extensible than multi-expert distillation, because new skills can be added as long as the tracker is general enough, and because the compute splits naturally between a slow planner and a fast controller. It also demonstrates that RL fine-tuning can be applied to a high-dimensional, perceptive generative policy in dynamic locomotion — a regime where naive PPO on the outputs is described as extremely inefficient — and that raw depth plus no odometry is a viable alternative to height-map pipelines that require scanning packages and state estimation.

**Real-world applications:**

- Indoor service and logistics robots that must climb stairs, step onto platforms, and move through doorways and landings.
- Outdoor delivery or inspection in uneven terrain, parks, and building approaches where no prebuilt map or height field exists.
- Search-and-rescue or industrial inspection where the robot encounters unmodeled obstacles and must vary speed independent of the operator's command.
- Humanoid research platforms needing a general whole-body motion interface that a higher-level navigation or manipulation policy could command.

**Industry relevance.** The work targets deployable hardware (Unitree G1, Jetson Thor/Orin, ZED cameras) and reports inference latency budgets, making it directly relevant to companies building general-purpose humanoids who need a single controller covering walking, running, and jumping rather than one policy per skill.

## Future Directions

- **Extending beyond locomotion:** the paper frames the layered design as a route to general whole-body control, but skills like opening doors or pressing elevator buttons are named as motivation, not demonstrated.
- **Fine-tuning the tracker jointly or in alternation:** the current loop freezes the tracker and treats it as environment dynamics; the authors note that mode selection cannot be fixed by tracker fine-tuning, raising the question of how the two layers should be co-adapted.
- **Reducing rollout cost:** the paper notes rollouts are expensive because each step requires physics simulation, tracker inference, and eight flow matching integration steps, which motivates cheaper data collection or better off-policy reuse.
- **Broader terrain and skill generalization:** the fine-tuning was validated on four configurations (boxes, walled stairs, a multi-terrain/entryway setup, and in-distribution terrain); how far a single fine-tuned generator transfers to unseen geometries and skill compositions remains open, and the paper's own quantitative results past the algorithm comparison are outside the provided excerpt.

## Target Audience

Robotics researchers and graduate students working on legged and humanoid locomotion, RL for control, and generative models for motion planning. It is also useful for engineers at humanoid companies evaluating layered planner/controller architectures, depth-only perception stacks, or RL fine-tuning as a post-training step for large motion policies. Readers without a background in RL and generative modeling will find the methods section dense.

## Authors’ abstract

General purpose humanoids require locomotion controllers that are multi-skill, perceptive, dynamic, and robust enough to go anywhere humans can. In this work, we present a two layer locomotion architecture: (1) a perceptive flow matching motion generator plans whole body trajectories from raw depth images while a (2) perceptive tracking policy trained with control-guided RL follows these motions. Both policies are trained on a library of terrain consistent motion clips…

[The full abstract on arXiv](https://arxiv.org/abs/2609.31577)

[Read the original paper](https://arxiv.org/abs/2609.31577)

## Related papers

- [Learning Safe Humanoid Navigation from Reduced Order Models](https://robotics.world/paper/learning-safe-humanoid-navigation-from-reduced-order-models-2609.19272) 2026-09-16 · cs.RO · Also by Aaron D. Ames, William D. Compton +1
- [PAC-MAN: Perception-Aware CBF-RL for Whole-Body Safety in Humanoid Dodgeball](https://robotics.world/paper/pac-man-perception-aware-cbf-rl-for-whole-body-safety-in-humanoid-2607.28623) 2026-07-30 · cs.RO · Also by Aaron D. Ames
- [Light-Loco-Parkour: Versatile Perceptive Whole-Body Locomotion via Multi-Skill Distillation](https://robotics.world/paper/light-loco-parkour-versatile-perceptive-whole-body-locomotion-via-multi-2608.02653) 2026-08-01 · cs.RO · Key terms of the title in common
- [Humanoid Badminton: Learning Dynamic Racket Skills from Limited Human Motion Data](https://robotics.world/paper/humanoid-badminton-learning-dynamic-racket-skills-from-limited-human-2609.31840) 2026-09-25 · cs.RO · Key terms of the title in common
- [Whole-Body UMI: Transferring UMI Manipulation Skills to Humanoid Whole-Body Manipulation via Real-Time Motion Generation](https://robotics.world/paper/whole-body-umi-transferring-umi-manipulation-skills-to-humanoid-whole-2609.22829) 2026-09-19 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/generate-track-improve-perceptive-multi-skill-humanoid-locomotion-with-2609.31577
