Robots that navigate among people often stop dead even when there is room to move. This is the "freezing robot problem." Most recent fixes are planners and learned policies trained against simulated pedestrians driven by simple steering rules. The most common rule is ORCA (Optimal Reciprocal Collision Avoidance), in which each agent politely shares the job of avoiding every other agent. Real pedestrians behave differently. They stop to check a phone, turn back, walk in groups, ignore the robot, or yield to it only once it gets close. We propose to train crowd-navigation policies in simulation against pedestrians whose behavior is randomized at the level of programs: sequences and combinations of discrete behaviors, some triggered by the robot. Randomizing only the numeric settings of a single steering rule cannot produce this. We then test whether this "behavioral domain randomization" lets a policy move to a real robot with onboard perception without freezing and without real-world fine-tuning.
Two ideas make this workable, and both come from outside crowd navigation. Domain randomization is the practice of training across many randomly perturbed simulators so that reality looks like one more sample. It has transferred locomotion and drone flight zero-shot, but it has only ever been applied to physics and visuals, never to how other agents behave. Compositional motion synthesis supplies the building blocks. It studies how to generate human motion from structured descriptions such as "walk, then stop, then turn while looking down." It has produced tools for turning event sequences into coherent full-body motion. We use those tools as a pedestrian engine, not as an end product.
Core Claim
A large share of the real-world performance drop in interactive crowd navigation comes from two properties of simulated pedestrians. Their behavior is stationary: one mode for the whole episode. And it is unconditionally reciprocal: every agent always cooperates. A policy that has only seen such agents either over-trusts that humans will yield, which produces near-collisions, or learns blanket caution, which produces freezing. Randomizing over a grammar of behavior programs addresses both. Programs vary the mode sequence (walking, pausing, turning back, distracted drifting), how modes combine at the same time, and whether and when a pedestrian reacts to the robot. We predict this narrows the gap between simulated and real success and freezing rates more than randomizing ORCA or Social Force parameters over a matched range. We expect the advantage to appear in the specific real-world encounters that parameter randomization cannot express: stop-and-go, non-reactive, and late-yielding pedestrians.
The claim is falsifiable in a simple way. If a policy trained with carefully fitted parameter randomization matches ours on real hardware, the compositional ingredient is unnecessary, and the paper reports that.
Where This Sits
Gap-motivating work comes from crowd navigation. SICNav avoids freezing by solving a bilevel model-predictive control problem in which pedestrians are modeled as ORCA agents. Its hardware demonstration relied on external VICON motion capture and on knowing each pedestrian's goal. HiCrowd avoids freezing by having a reinforcement-learning policy pick a point that follows compatible crowd flows, with a low-level controller that assumes constant pedestrian velocity. It was deployed in a museum, but it used no randomization. Crowd Navigation with Focused Risk Perception filters the eight riskiest obstacles by time-to-collision and distance and transfers to a TurtleBot using YOLOv3 and depth. It reports that real motor limits made the robot noticeably less nimble than in Gazebo. All three treat humans as 2D points driven by stationary, cooperative rules. Our proposal keeps their policy architectures and changes only what they are trained against.
Method-supplying work comes from motion synthesis and sim-to-real. Event-T2M conditions a diffusion model on individual events and shows that monolithic models collapse as event count grows. It also introduced HumanML3D-E, which stratifies evaluation by event count, and we borrow that stratification idea for real-world trials. Plan, Don't Pose compresses behavior sequences of a frozen behavioral foundation model into text-aligned programs. A behavioral foundation model here means a physics-based character controller that executes latent behavior codes. That design gives us a closed-loop, physically executable way to switch a simulated pedestrian's behavior mid-episode. SINC composes simultaneous actions across body zones, which is useful for "walking while looking at a phone." On the sim-to-real side, Sim-to-Real Agile Locomotion shows that randomizing dynamics and modeling actuator latency closes motor-level gaps, and we apply it unchanged to the robot base. Asymmetric Actor Critic gives the value-estimating network (the critic) privileged simulator state, while the action-choosing network (the actor) sees only sensor observations. In our setting the privileged state is each pedestrian's hidden program, including whether they will yield.
Constraining work: NavDP achieves zero-shot transfer across embodiments with privileged guidance and heavy visual randomization, but only among static obstacles. This tells us visual and geometric transfer is largely solvable and that the open problem is behavioral. (CAD)²RL shows that diversity beats photorealism for visual transfer. We make the analogous bet for behavior: coverage of behavior types matters more than making any one pedestrian model realistic.
Research Program
The first component is a pedestrian behavior grammar. A program is a short sequence of events drawn from a vocabulary including walk-to-goal, pause, turn back, speed change, follow a group member, distracted drift, and yield-or-ignore-the-robot. Events can be concurrent, such as locomotion combined with head or torso activity. Events can also carry robot-conditioned triggers, for example "if the robot is within d meters and approaching, switch to yield with probability p." The distributions over program length, event mix, trigger distances, and yield probabilities are the randomization prior.
To avoid choosing these ranges by trial and error, we fit the prior so that simulated crowds match marginal statistics of the ETH and UCY pedestrian datasets. The target statistics are speed variance, stop frequency, heading-change rate, and closest-approach distribution. We hold out part of ETH-UCY and all real-robot data for evaluation. Critically, we fit the parameter-randomization baseline to the same statistics, so the comparison isolates program structure rather than tuning effort.
The second component executes programs. We build an offline library of full-body clips for each event with an event-conditioned generator in the style of Event-T2M. At runtime we stitch clips when triggers fire, warping the root path toward a local steering target so bodies do not interpenetrate. An alternative arm runs a behavioral-foundation-model controller as in Plan, Don't Pose, which lets pedestrians react physically in closed loop. We compare the two arms on runtime cost and on downstream policy quality. Bodies are rendered so that the robot's onboard detection pipeline sees simulated people rather than ground-truth positions. We add the perception noise, missed detections, and latency that the real detector exhibits.
The third component is policy training. We retrain the Focused-Risk architecture and HiCrowd's high-level policy under behavior-program randomization. Robot dynamics are randomized in the manner of Tan et al. (motor limits, latency, friction) in every arm, including baselines. The critic receives each pedestrian's current program state. The actor receives only onboard tracks.
Baselines
The naive reference is a policy with the Focused-Risk architecture trained on vanilla CrowdNav ORCA pedestrians using the vita-epfl/CrowdNav environment, with robot-dynamics randomization but no behavioral randomization. It shows how large the behavioral gap is before we do anything.
The strongest existing methods are SICNav and HiCrowd, both run with the same onboard perception stack as ours rather than VICON. SICNav is the strongest interaction-aware planner, reporting 100% success, about 6.3 s navigation time, and frozen frequency of 0.01–0.03 with five simulated humans (SICNav). HiCrowd is the strongest learned anti-freezing method, reporting 1.00 success rate, 19.10 s navigation time versus 26.49 s for CrowdAttn, and freezing frequency near 0.00 in online ETH-UCY tests (HiCrowd). For onboard-perception real-world crowd success of SICNav, we found no reported result on Lacuna. Its real result was a 0.13 m path deviation under VICON tracking. We also include the Focused-Risk policy as published, which reported 93.3% success in the head-on "Towards" Gazebo scenario (Focused Risk Perception).
The key ablation is parameter randomization. It uses the same policy and compute, with ORCA and Social Force pedestrians whose radius, preferred speed, reactivity weight, goal, and noise are sampled from ranges fitted to the same ETH-UCY statistics. Two further ablations remove the privileged-program critic and replace rendered bodies with 2D tracks corrupted by fitted noise. All learned arms get the same number of environment steps, the same hyperparameter search budget of twelve configurations, and the same seeds. Beating the field means two things. On real hardware, freezing frequency must be significantly below both HiCrowd and parameter randomization at equal or better success. And the drop from simulated to real success must be smaller, with the gain concentrated in the non-reciprocal encounter types.
Why not just…?
Why not just randomize ORCA or Social Force parameters? This is the real threat, and it is why the parameter-randomization arm is fitted to the same data with the same budget. Our argument is structural. A stationary reciprocal rule, whatever its parameters, cannot produce a pedestrian who ignores the robot for five seconds and then abruptly yields. It also cannot produce one who stops mid-corridor for reasons unrelated to anyone nearby. The stratified real-world trials test exactly these cases. If parameter randomization matches us on them, the compositional program layer is not earning its cost, and we will say so.
Why not just replay real trajectories from ETH-UCY as simulated pedestrians? Replayed humans do not react to the robot. As Interaction Aware Planning for Overcoming Navigation Paralysis argues, recorded human-human interactions miss how humans respond to a robot, so training against them teaches the wrong conditional behavior. We still include a replay-trained arm, both because it is cheap and because it provides the realism ceiling for unconditional behavior.
Why not skip learning and deploy SICNav or HiCrowd with better perception? These are strong. The question is whether their built-in pedestrian models survive real people without motion capture. SICNav assumes known goals and ORCA-like reciprocity, and HiCrowd's controller assumes constant velocity, which fails under sudden deceleration. Running both with our onboard stack on the same trials answers this directly.
Why use full-body motion at all if the robot sees tracks? Honestly, it may not matter for the policy. It matters for the detector, because occlusion, partial bodies, and gait-induced jitter in detections are part of the perceptual gap. The 2D-noise ablation measures whether rendering bodies helps. If it does not, the pedestrian engine can drop to root trajectories, and the contribution becomes the program grammar alone.
Proposed Experiments
In simulation, we evaluate all arms on CrowdNav with ORCA and Social Force humans, on the Gazebo scenarios ("Crossing," "Towards," "Ahead," "Random"), and on online ETH-UCY. We also add a held-out set of behavior-program families never seen in training. Metrics are success, navigation time, freezing frequency, minimum human distance, and Social Score.
On hardware, a Jackal or TurtleBot with onboard RGB-D detection runs in a lab arena. Participants act out held-out behavior programs from written instructions, and we additionally run uncontrolled hallway sessions. Trials are stratified by encounter type (reciprocal, non-reactive, stop-and-go, late-yield), following HumanML3D-E's logic of stratifying by compositional difficulty.
The decisive checks are three. First, the real-minus-simulated drop in success and freezing frequency, per arm and per stratum. Second, whether behavior-program randomization beats fitted parameter randomization specifically on the non-reciprocal strata. Third, whether the privileged-program critic reduces freezing on late-yield encounters, where knowing that a person will eventually yield is what separates waiting from moving.
References
- SICNav: Safe and Interactive Crowd Navigation Using Model Predictive Control and Bilevel Optimization (Abstract Reprint)
- HiCrowd: Hierarchical Crowd Flow Alignment for Dense Human Environments
- Crowd Navigation for Mobile Robots with Focused Risk Perception
- Event-T2M: Event-level Conditioning for Complex Text-to-Motion Synthesis
- Plan, Don’t Pose: Long Composite Motion Generation with Text-Aligned BFM
- SINC: Spatial Composition of 3D Human Motions for Simultaneous Action Generation
- Sim-to-Real: Learning Agile Locomotion For Quadruped Robots
- Asymmetric Actor Critic for Image-Based Robot Learning
- NavDP: Learning Sim-to-Real Navigation Diffusion Policy with Privileged Information Guidance
- CAD2RL: Real Single-Image Flight Without a Single Real Image
- AI-empowered intelligence in industrial robotics: technologies, challenges, and emerging trends