Robot manipulation adapts action length to changing scene and latency
AnyH: One Action-Chunking Policy for Any Execution Horizon
Robotics
Summary
Robot control programs often plan several steps of action but face a trade-off: planning too few steps can cause delays, while planning too many can make robots act on outdated information. The authors introduce AnyH, a method that lets robots adjust how many actions they plan and execute at runtime, even for lengths not seen before. They tested it on simulated tasks and a real robot arm, showing it performs as well as or better than specialized models and adapts smoothly to changing situations. This approach speeds up decision-making and handles changes in task speed and delays more reliably.
What this means in practice
- •For robotics engineers: Adapt robot control policies dynamically to varying task speeds and inference delays in industrial manipulation tasks.
- •For automation system designers: Integrate horizon-conditioned policies to improve robotic pick-and-place operations in factories with unpredictable conveyor speeds.
Authors
Guian Fang, Hai Ci, Mike Zheng Shou
Abstract
Modern robot manipulation policies predict action chunks and execute a prefix before replanning. The execution horizon governs a fundamental deployment trade-off: short horizons exhaust their action queue when inference is delayed, whereas long horizons commit to outdated observations as the scene evolves. Existing chunking policies nevertheless fix the execution horizon during training, leaving one model unable to adapt as latency and scene speed change online. We present AnyH, a horizon-conditioned policy that turns the execution horizon into an explicit runtime command across the integer range $[2, H_{\max}]$, including off-menu lengths never seen during training. We combine horizon-conditioned prefix learning across a sparse training menu with single-pass flow-map generation that preserves one-step inference at every requested length, and formulate a feasible-horizon deployment interface that separates horizon execution from external horizon selection. Evaluated across three policy backbones (A2A, Consistency Policy, and $π_{0.5}$) in simulation and on a physical Franka arm, our method matches or exceeds separately trained per-horizon specialists across all trained horizons while interpolating smoothly to untrained integer requests. Its single-pass generator runs 11-12x faster than ten-step flow sampling, eliminates zero-success regimes across varying conveyor speeds and latencies, and completes 59 of 60 physical trials under injected inference delays.