arXiv:2610.32277cs.ROOct 2026

Manuscript Offprint

arXiv:2610.32277

Delay Randomization Widens the Delay Margin of Learned Humanoid Motion Trackers

Shaoqin Li, Yi Sun

Abstract

Learned humanoid controllers are usually trained in one simulator and then checked in a second one before they go near hardware. We ask what that check says about command delay. We train motion-tracking policies for a 24-joint humanoid on five motions taken from monocular video and test them in an independent CPU MuJoCo harness, which we first verify against the training model. Every policy completes its motion in at least 26 of 30 episodes under the training randomization. With 40 ms of constant command delay, however, survival drops to 15% on average (0–45%), and the delay margin is only 20–30 ms. Randomizing the delay during training (0–50 ms) lifts survival at 40 ms to 95% on average (75–100%) and moves the margin to 50–70 ms. A control arm trained for the same number of extra iterations without delay does not improve, so the gain comes from the randomization itself. This holds for all five motions with three training seeds each, and a policy trained in PhysX behaves the same way. The price is slightly looser tracking (0.02–0.06 rad on four motions) and, for the most dynamic motion, less robustness to other perturbations. We also show that the first sim-to-sim gap we saw came from the harness, a missing floor and a wrong timestep, and not from the physics engines. The 0–20 ms delay ranges common in locomotion training lie inside the margin an unrandomized tracker already has. The benefit comes from randomizing beyond it, so the range should be set from the robot’s measured latency, and delay margin belongs next to other sim-to-sim metrics.

Keywords: humanoid control, sim-to-sim transfer, time delay, domain randomization, motion tracking, reinforcement learning

1. Introduction

Reinforcement-learned motion trackers can reproduce highly dynamic human motions on humanoid robots (Liao et al., 2025; He et al., 2025). They are trained in a GPU simulator with randomized dynamics (Tobin et al., 2017; Peng et al., 2018) and, before hardware, commonly checked in a second simulator (Gu et al., 2024; Lei et al., 2025). The policy then runs on a robot whose control loop always has some latency between the policy output and the actuator response (Tan et al., 2018; Hwangbo et al., 2019). In classical control, delay is a first-order concern: it erodes phase margin and can destabilize an otherwise stable loop (Richard, 2003). For learned controllers it is usually handled by randomizing a small delay during training; humanoid locomotion frameworks report ranges such as 0–20 ms (Wang et al., 2025; Seo et al., 2025). Few papers report how much delay a learned motion tracker actually tolerates, or what randomizing it in training buys.

This paper measures it. The setting is a 24-joint humanoid tracking five motions recovered from ordinary video. Each policy is trained in mjlab (MuJoCo-Warp) (Zakka et al., 2026) with the BeyondMimic tracking recipe (Liao et al., 2025) and evaluated in an independent, CPU-based MuJoCo harness (Todorov et al., 2012). We make three contributions.

  1. A verified evaluation protocol. The harness rebuilds the training model from the robot description and is validated to reproduce training-time observations and outcomes. A one-at-a-time ablation shows that the first sim-to-sim “gap” we observed came entirely from two settings (a missing floor and a 2.5×2.5\times smaller timestep), not from the physics engine (Section 4.1).

  2. Delay margins of learned trackers. Survival as a function of constant command delay, at 10 ms resolution, for policies trained with and without delay randomization, across five motions and three training seeds (Section 4.2).

  3. A controlled attribution. A control arm with equal additional training but no delay isolates the effect of delay randomization from the effect of training longer (Section 4.3). A PhysX-trained policy shows the same failure and the same remedy (Section 4.5).