# Learning Agile Humanoid Dodgeball with Onboard Monocular Vision

Robotics.world

> Humanoid robots working near people must react to fast, unexpected moving objects — a thrown or falling item — while staying on their feet. The authors use dodgeball as a controlled testbed because a…

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

**Published**: 2026-10-31

**Authors**: Feng Tian, Yulin An, Chenhao Li, Matthias Heyrman, Marco Hutter

## In plain words

Humanoid robots working near people must react to fast, unexpected moving objects — a thrown or falling item — while staying on their feet. The authors use dodgeball as a controlled testbed because a ball launch makes speed, distance, and direction explicit, so the amount of time available for perception and movement can be varied systematically.

## Key results

- **Success depends strongly on available time.** Across controlled simulation with 1000 throws per speed–distance condition, dodge success ranges from 97.8–100.0% for 5.0 m launches at 6 m/s down to 33.2–40.8% for 2.5 m launches at 10 m/s.
- **Hardware works, with a stated caveat.** On a physical Unitree G1 with no external object tracking, strict no-contact/no-fall success exceeds 85% over more than 15 controlled single throws; the authors note exact counts and conditions will replace this aggregate after record consolidation.

## AI summary

## Overview

**Research area:** Legged robotics / humanoid whole-body control, combining onboard monocular perception, temporal state estimation, and reinforcement-learned evasive locomotion.

**Technical level:** Advanced. The paper assumes familiarity with reinforcement learning for locomotion, asymmetric actor–critic training, camera projection geometry, and object detection pipelines.

**Scope (one sentence):** The paper builds and evaluates a complete onboard sensing-to-action loop in which a Unitree G1 humanoid detects an incoming ball with a single torso-mounted RGB camera, estimates its relative position and whether it is a threat, dodges it without falling, recovers posture, and then searches for and reacquires the ball for the next throw.

## What This Paper Is About

Humanoid robots working near people must react to fast, unexpected moving objects — a thrown or falling item — while staying on their feet. The authors use dodgeball as a controlled testbed because a ball launch makes speed, distance, and direction explicit, so the amount of time available for perception and movement can be varied systematically. The goal is not just a one-off dodge, but a repeating loop: find the ball, judge whether it is approaching, evade it, recover to a stable posture, and reacquire the target for the next encounter — all using only onboard monocular vision and proprioception, with no external tracking system.

## Key Contributions

1. **Analytic bounding-box synthesis for training.** Instead of rendering camera images during reinforcement learning, the authors project the simulated spherical ball geometrically from tangent rays to produce the same normalized center-size box representation that a real detector outputs, then corrupt it with detector-like noise (dropped detections, pixel-center noise, log-normal size noise, 30–50 ms delay). This makes large-scale parallel training cheap while keeping the perception interface realistic.
2. **A temporal estimator for ball state and threat.** A three-layer multilayer perceptron consumes a history of bounding boxes and outputs the ball's relative position in the robot frame plus a binary threat flag indicating whether the ball is approaching with nonzero closing speed — explicitly not a prediction that contact is inevitable.
3. **A two-policy humanoid dodgeball system.** Separate dodge/recovery and search/track policies share the same estimated-state, proprioceptive, and 29-joint action interfaces and are composed via a hysteretic "ball found" state and the predicted threat flag, producing search–track–dodge–recover–reacquire sequences without external ball tracking.
4. **A three-stage curriculum and its ablation.** Stage 1 trains control with ground-truth ball states; Stage 2 begins estimator supervision once episode length exceeds 900 steps while the actor keeps ground-truth inputs; Stage 3 replaces the actor's privileged inputs with estimator outputs once dodge success exceeds 0.9. An ablation shows the full curriculum outperforming all three variants.

## Main Findings

- **Success depends strongly on available time.** Across controlled simulation with 1000 throws per speed–distance condition, dodge success ranges from 97.8–100.0% for 5.0 m launches at 6 m/s down to 33.2–40.8% for 2.5 m launches at 10 m/s. The hardest condition has a nominal distance-to-speed ratio of 0.25 s, versus approximately 0.83 s for the easiest.
- **Degradation is joint sensing-and-control, not one metric.** The hardest condition also shows the lowest threat recall (the Fig. 4 caption reports threat recall from 0.636 to 0.867 across displayed conditions) and the widest position-error range (0.162 to 0.478 m overall), so failure cannot be attributed to the estimator or the policy alone.
- **Analytic projection is dramatically cheaper than rendering.** On an NVIDIA RTX 3070 Ti with 8 GB, analytic projection stays near 0.5 ms from 1 to 64 camera environments, while rendering grows from 4.99 ms at one environment to 123.67 ms at 32 and fails at 64. The measured observation-generation speedup ranges from 10.2× to 259.7×, with a 1.8–2.9-fold reduction in peak memory.
- **Analytic boxes closely match rendered ones.** Across a 3×3 image grid, mean center error is below one pixel, mean size error approximately 2.4–3.2 pixels, and mean IoU 0.912–0.933.
- **The estimator is accurate but weakest at short range and high speed.** Across controlled tests, mean position error ranges from 0.162 to 0.478 m and threat-flag accuracy from 0.891 to 0.934, with non-threat recall between 0.967 and 0.993. Threat recall falls when launch distance drops from 5.0 to 2.5 m at 6 m/s, and falls further at 10 m/s.
- **Robustness to bounding-box noise is threshold-like.** With injected noise, dodge success is 83.53% clean, 84.40% under small noise, 73.00% under medium noise, and 26.90% under large noise, while position error rises monotonically (0.1854 m to 0.3424 m). The authors calibrate real detector noise on their validation set and find it close to the small setting, or below it when scene and illumination match the training distribution; environmental shifts can push it between the small and medium settings.
- **The curriculum matters.** The full three-stage curriculum reaches 90.8% dodge success with 0.2614 m mean position error, versus 74.1% / 0.2742 m for direct training, 80.6% / 0.2152 m with no bootstrap, and 67.6% / 0.5572 m with no estimator warm-up. Each ablation aggregates 1000 throws with speed sampled from [6, 10] m/s.
- **Hardware works, with a stated caveat.** On a physical Unitree G1 with no external object tracking, strict no-contact/no-fall success exceeds 85% over more than 15 controlled single throws; the authors note exact counts and conditions will replace this aggregate after record consolidation. A hardware sequence demonstrates track–dodge–search–dodge with full-azimuth reacquisition.
- **Simulation behavior demonstrations.** The dodge/recovery policy avoids ten consecutive throws (10/10), and the search/track policy finds balls initialized across [-180°, 180°] in ten of ten resets (10/10).
- **Search is sensitive to motion blur.** Rapid torso rotation widens angular coverage but causes intermittent detections; slower turning improves visibility but delays reacquisition.

## Methodology in Plain English

The robot is a Unitree G1 with 29 actuated joints and a camera bolted to its torso. In simulation, the authors know exactly where the ball is, so rather than render pictures they compute, from the ball's known radius and the camera pose, where the ball's silhouette would land in the image — the tightest pair of tangent rays gives the edges of the box. That box, plus a validity flag, is the perception interface. To stop the policy from becoming dependent on clean inputs, they randomly delete boxes, jitter their centers in pixels, scale their widths and heights, and delay them by 30–50 ms.

A small neural network looks at a short window of these boxes and outputs two things: where the ball is relative to the robot, and whether it is actually coming at the robot. Depth comes from box size under the assumption that the ball's radius is roughly known. Training data for this estimator is deliberately rebalanced because the ball is only in flight for a small fraction of each episode: windows are sampled around the start, middle, and end of visible flight segments, and synthetic stationary or slow non-threatening trajectories are added inside the camera frustum, mixed roughly 1:1:2 with normal rollout, flight-window, and synthetic samples.

Two separate control policies are trained with reinforcement learning. The dodge/recovery policy is rewarded for not being hit, for keeping clearance from the ball, and — after the threat passes — for killing planar velocity and yaw rate and returning to a ready pose, with regularization against flailing. The search/track policy is rewarded for aligning the robot's horizontal facing direction with the ball, which on a fixed torso camera means physically turning and stepping. Both use an asymmetric actor–critic setup where the critic sees privileged information (ball trajectory, target, phase, time-to-target, base linear velocity) that the actor never gets. At runtime a simple state machine picks which policy is active: search if the ball is not found, track or recover if it is visible but not threatening, evade if it is visible and threatening, with hysteresis on the "found" state to ride out missed detections.

The training order is the key trick. Learning to balance and to dodge while also relying on a bad estimator is too hard, and early falls produce garbage camera trajectories that make bad estimator training data. So the actor first learns evasion from perfect ball states, then the estimator starts learning from those increasingly stable rollouts, and only once dodge success passes 0.9 does the actor switch to the estimated inputs.

## Why This Matters

For research, the paper makes a case that the hard part of dynamic humanoid avoidance is not any single component but the closed loop: perception quality drives control, control quality drives the camera trajectory, and the camera trajectory drives perception again. The curriculum result quantifies that coupling — the "no estimator warm-up" variant drops to 67.6% success with a 0.5572 m position error, showing that naively closing the loop early is substantially worse. The analytic projection trick is also a reusable recipe for anyone training perception-conditioned policies who cannot afford to render images at scale.

Real-world applications:

- **Industrial and warehouse humanoids** sharing floor space with forklifts, falling stock, or swinging loads.
- **Service and care robots** that must react when an object is knocked off a table or thrown by a person nearby.
- **Human–robot collaboration cells** where an unexpected projectile or dropped tool enters the workspace faster than a nominal task controller can respond.
- **Field and inspection robots** operating near moving debris or loose equipment, where a fall is itself a failure regardless of whether contact was avoided.

Industry relevance: the system runs on commodity monocular RGB rather than event cameras or external motion capture, executes joint targets at 50 Hz, and uses a fine-tuned YOLOv8 detector, so the sensing stack is the kind already available on commercial humanoid platforms. That makes onboard-only reactive avoidance a more plausible near-term product capability than approaches requiring instrumented environments.

## Future Directions

- **Remove the known-size assumption.** The estimator currently infers depth from box size under an assumed ball radius; estimation accuracy may decrease when the target differs from that assumed size, which points to learning size-independent depth cues or online size estimation.
- **Evaluate repeated encounters on hardware.** The hardware results cover more than 15 single throws; consecutive-throw experiments are needed to test robustness across repeated perception, dodge, recovery, and search cycles, and motion capture could give ground-truth ball positions for a precise estimator comparison.
- **Diversify the dodge repertoire.** The learned policy often favors a single dodge direction even when other effective motions exist; the authors suggest training complementary dodge policies and distilling them into one unified policy for more adaptive responses.
- **Improve search under motion blur.** Rapid turning expands angular coverage but breaks up detections while slow turning delays reacquisition, so perception-aware turning policies that trade coverage against detection stability are an open problem.

## Target Audience

Robotics researchers and graduate students working on legged locomotion, whole-body control, and perception-in-the-loop reinforcement learning will get the most from this paper, particularly those interested in closing the loop between a learned estimator and a learned controller. It is also relevant to engineers building humanoid or mobile manipulator products who need to know what onboard monocular reactive avoidance can and cannot currently achieve, and to practitioners looking for practical techniques — analytic sensor synthesis, perception randomization, staged curricula — for training policies that must survive real sensor noise. Readers without a background in RL and camera geometry will find the methods sections demanding, though the experimental results and limitations are accessible on their own.

## Authors’ abstract

Humanoid robots operating in shared, dynamic environments must respond to rapidly approaching objects while maintaining balance. We study dodgeball as a controlled test of this capability, coupling visual threat assessment with whole-body evasion, recovery, and target reacquisition. We develop a system that integrates onboard monocular perception, temporal ball-state and threat-flag estimation, and learned whole-body control. A ball detector supplies bounding-box histories,…

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

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

## Related papers

- [Watch Your Step: Anticipated Perception for Humanoid Locomotion](https://robotics.world/paper/watch-your-step-anticipated-perception-for-humanoid-locomotion-2610.29612) 2026-10-21 · cs.RO · Also by Chenhao Li, Marco Hutter +1
- [Vision as Proprioception: Estimating Humanoid Robot Pose from Video](https://robotics.world/paper/vision-as-proprioception-estimating-humanoid-robot-pose-from-video-2610.25288) 2026-10-18 · cs.RO · Also by Marco Hutter, Matthias Heyrman
- [HOI-Retarget: Contact-Centric Retargeting for Human-Object Interaction](https://robotics.world/paper/hoi-retarget-contact-centric-retargeting-for-human-object-interaction-2609.34674) 2026-09-28 · cs.RO · Also by Marco Hutter, Matthias Heyrman
- [GoalDex: Learning Image-Goal-Conditioned Policies for Dexterous In-Hand Manipulation](https://robotics.world/paper/goaldex-learning-image-goal-conditioned-policies-for-dexterous-in-hand-2611.02171) 2026-11-01 · cs.RO · Also by Marco Hutter
- [RESPLE2: Inertial-Informed Recursive Non-Uniform Spline Estimation for Multi-Sensor Odometry with Global Refinement](https://robotics.world/paper/resple2-inertial-informed-recursive-non-uniform-spline-estimation-for-2610.37602) 2026-10-27 · cs.RO · Also by Marco Hutter

---

Canonical: https://robotics.world/paper/learning-agile-humanoid-dodgeball-with-onboard-monocular-vision-2611.01197
