Contingent recovery and task re-entry.
A humanoid evades randomly arriving threats, switches among recoveries as new threats emerge, and resumes its task by the deadline.
One episode in real time. Green outline: task execution. Red outline: recovery.
One episode
Five fail. Three clear all three balls and complete the walk.
A tile freezes when its robot is hit, passes within 2 cm of a ball, or falls. Inset: top view.
Ours switches recovery twice as balls B and C are revealed, then resumes walking.
Clearance to the incoming ball
Log scale. A line ends where its method fails.
Half speed. Closest clearance: to A, to B, to C.
Internal value Q
Ours w/o reselection keeps the first choice.
Three-ball success vs. time between the first and last arrivals
Bands: 95% intervals.
Results
Success rate
Success: at least 2 cm ball clearance, no fall, and task completion by the deadline. Hover a row for hits and task failures. W and Q are evaluated here by forked simulator rollouts.
Recovery policy
An edit keeps the mode of a human recovery skill and adapts its amplitude and timing.
Blue: Ours w/o edits. Red outline: Ours. Same balls, same instant.
A human sidestep (blue) and its edit, 1.2× larger and 1.6× faster (red).
Success by time from reveal to arrival of the first ball
Ring: 0.5 s blend. Dot: blend as short as 6 frames.
Recovery candidates at decision events I–III of the episode above
Each candidate by its resulting ball clearance. Dashed line: 2 cm.
Task-aware safety layer
The external value W scores task continuation and the internal value Q scores each recovery, both by the probability of safe and timely task completion.
Three-ball success vs. completion deadline
Ours w/o W scores only clearance and handoff. Ours w/o W, Q maximizes ball clearance. Bands: 95% intervals.
External value W
During a recovery, a second ball can often still be cleared, but less often with timely task re-entry.
Where can one more ball come from?
Top view, front up. Angle: ball direction. Radius: time to arrival, 0.4 s (inner) to 2.2 s (outer).
One walking snapshot. Task completed: re-entry within 6 s.
Baselines
PAC-MAN: reproduced dodge policies, not retrained on our balls. During walking, it takes over at each ball. PPO + CBF: selects unmodified human motions using PPO with CBF guidance.
PAC-MAN, one ball, by direction and height
Outside its training distribution: trained on front throws from 2–3 m, where it evades 256 of 256. A hit here is contact, without the 2 cm clearance. A fall counts as a failure. In walking, counting falls it gets up from as successes gives .
Robustness
Three-ball success, nominal → randomized