← Paper Digest

AnyH: One Action-Chunking Policy for Any Execution Horizon

Guian Fang, Hai Ci, Mike Zheng Shou

December 2026

TL;DR AnyH trains one action-chunking policy that takes the execution horizon as a runtime input, so it can replan more or less often as latency and scene speed change. On a physical Franka arm with injected inference delays, a latency-driven horizon dial completes 59 of 60 trials, against at most 51 for fixed-horizon policies.

What they do

Action-chunking policies predict a chunk of actions and execute a prefix, the execution horizon, before replanning. Short horizons run out of actions when inference is slow; long horizons act on stale observations when the scene moves. The horizon is normally fixed at training time. AnyH makes it a command: one policy executes any integer horizon from 2 to 32, including lengths it never trained on, and an external controller picks the horizon from measured latency and scene speed.

How it works

  • Horizon-conditioned prefixes. Each training sample draws h from {2, 4, 8, 16, 32}. The horizon is embedded into the target encoder, flow network and decoder, and the loss covers only the first h actions.
  • Single-pass generation. Building on A2A, a flow map moves a latent of the proprioceptive history to the latent of the future chunk in one network evaluation, with the step scaled by h/32. This runs 11-12x faster than ten-step flow sampling.
  • Deployment interface. Latency sets a stall-free floor (h at least 2L + 2, with L in control steps); scene speed sets a ceiling. A label-free dial reads latency alone; an affine controller fitted on calibration rollouts also uses belt speed.
  • The same recipe is applied to A2A, Consistency Policy and π0.5.

Results

  • Square, three seeds: one model beats five per-horizon specialists at every horizon, e.g. 40% vs 2% at h=2 and 82% vs 42% at h=32.
  • Success varies smoothly across six untrained horizons; on Transport the best horizon is the untrained h=7.
  • Real Franka pick-and-place with 0.2, 0.5 and 1.0 s injected delays: the dial completes 59/60 trials; fixed horizons of 8, 16 and 32 complete 24, 40 and 51.
  • Simulated conveyor (4 belt speeds x 3 latencies): 24.0% mean success with no zero-success cell, vs 22.1% for a four-model specialist bank.

Limitations

No extrapolation beyond horizon 32, and interpolation fails when intermediate training horizons are dropped. The horizon must come from an external signal; observation-only selectors did not beat the best fixed horizon. Real-robot tests use static scenes with constant delays; moving objects were tested only in simulation, and the π0.5 version covers three RoboTwin tasks.

Figures

From Figure 1: Runtime horizon control. Under high latency a fixed horizon of 8 misses while a horizon of 20 grasps; ...
From Figure 1: Runtime horizon control. Under high latency a fixed horizon of 8 misses while a horizon of 20 grasps; on a fast belt a horizon of 6 grasps. One model serves both horizons, neither of which was trained.
From Figure 2: Overview of AnyH. (a) A sampled training horizon h conditions the policy and the loss covers only the ...
From Figure 2: Overview of AnyH. (a) A sampled training horizon h conditions the policy and the loss covers only the first h actions. (b) A flow map generates each chunk in one network pass. (c) One set of weights serves every horizon from 2 to 32, including the untrained h=11. (d) An external controller maps latency and scene speed to h.
From Figure 3: Success rate on Square, Can and Transport across five trained and six untrained horizons (300 rollouts...
From Figure 3: Success rate on Square, Can and Transport across five trained and six untrained horizons (300 rollouts each, 95% intervals). Every untrained horizon overlaps the band between its trained neighbours.
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.

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.