← Paper Digest

Safety-Conditioned Motion Tracking for Humanoid Robots

Daniel Morton, Marco Pavone, Carmelo Sferrazza, Koushil Sreenath

December 2026

TL;DR Adds collision avoidance to an already-trained RL motion tracker for the Unitree G1 by fine-tuning it with obstacle-proximity observations, adversarially placed obstacles and a penalty-then-termination curriculum. Constraint violation drops by 97-99% in simulation, including for obstacle shapes never seen in training, and a dance policy tracks collision-free on the real robot.

What they do

RL motion trackers let humanoids dance and fight, but they see only their own state and the reference, so nothing stops them hitting what is nearby. This paper adds collision avoidance to an already-trained Unitree G1 tracker as an extra training stage: the robot follows the reference in free space and deviates only near obstacles.

How it works

  • Proximity observations. Per robot sphere (10 in total), a smoothed distance to the nearest obstacles becomes a proximity: 0 when far, 1 at the safety boundary, linear inside collision. The policy also sees its rate, gradient and look-ahead value along the reference.
  • Model surgery. New inputs get zero-initialized weights, so training starts from exactly the nominal policy, which only has to change near obstacles.
  • Adversarial obstacles. Spheres are placed where the reference will take the robot 2-4 s later, mixed with distractors and empty scenes.
  • Curriculum. A violation penalty stage, then episodes end with probability proportional to violation; 10% start in collision to teach recovery.

Results

  • Across eight LAFAN1 motions in MuJoCo, mean violation falls 97.4% with spheres, 97.6% with cylinders and 99.4% in a keep-in box, the last two unseen in training. sprint1 is hardest (86-96%).
  • The termination stage, not the penalty alone, brings violations near zero; empty-scene tracking error rises a few percent.
  • On a karate-chop test built for a CBF safety filter, the general safe tracker cuts penetration to about 35% of the nominal one; 1000 fine-tuning iterations remove it.
  • On a real G1, the dance1 policy tracked collision-free in a 3 m x 4 m workspace with a repositioned cone.

Limitations

No safety guarantee, by design. sprint1 stays hard to keep safe without large deviations. Hardware used motion capture for robot and obstacle positions, and hardware results are described without numbers.

Videos

Full video (YouTube)

Figures

From Figure 2: The three simulation test scenes, shown with the dance1 policy. Top: spheres, similar to the training ...
From Figure 2: The three simulation test scenes, shown with the dance1 policy. Top: spheres, similar to the training obstacles; middle: cylinders; bottom: a keep-in box.
From Figure 3: On the LAFAN1 dance1 motion, constraint violation over time (left) falls with each curriculum stage (n...
From Figure 3: On the LAFAN1 dance1 motion, constraint violation over time (left) falls with each curriculum stage (nominal, penalty, termination), while tracking error (MPJPE) in an obstacle-free scene (right) rises only slightly.
From Figure 4: Hand clearance in the karate-chop test, compared with a model-based CBF safety filter (CM). The safe g...
From Figure 4: Hand clearance in the karate-chop test, compared with a model-based CBF safety filter (CM). The safe general tracker is out of distribution here and still dips below the plane, but about 10 minutes (1000 iterations) of fine-tuning recovers constraint enforcement.
From Figure 5: Collision margin over a segment of the dance1 policy in the box scene with the decay parameter alpha s...
From Figure 5: Collision margin over a segment of the dance1 policy in the box scene with the decay parameter alpha set to 1, 2 or 4 at runtime. The policy was trained only with alpha = 2; lower alpha makes it more conservative.
Abstract

Reinforcement learning has recently enabled humanoid robots to track agile reference motions, but blindly tracking these motions (with no knowledge of the external environment) can quickly lead to damage or injury to the robot, its surroundings, and any people in close proximity. Purely model-based safety layers provide an initial approach to addressing these problems, but these typically require strong assumptions about the dynamics model and contacts to work reliably. To reduce assumptions and address this gap in humanoid safety, we present a procedure for training whole-body tracking policies in a safety-conditioned manner, allowing the robot to capably track a reference motion when far from obstacles, and minimally adjust its behavior to remain safe when obstacles are near. In experiments on highly-constrained scenes, we demonstrate a reduction in expected constraint violation magnitude of 97% across a suite of reference motions, and show successful transfer to collision-free motion tracking on hardware. Our findings extend to cases where we evaluate on collision geometry unseen in training, and with runtime-adjusted conservatism parameters. Broadly, results suggest that safety can be learned as a natural extension of motion tracking. Code and additional media are available at: https://amazon-far.github.io/safe_motion_tracking

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.