Branching Action Chunks: Deferring Discrete Decisions Inside Real-Time Robot Trajectories

Robot policies built on large models are slow. They therefore plan a "chunk," a short continuous trajectory of tens of future motor commands, and let a fast controller play it back at 100–1000 Hz while the next chunk is computed. This hides the model's latency. It also makes the robot commit, blind, to one future. When the world is partly unknown, that commitment is the wrong default. Examples include an object behind an occluder, a cup that may or may not be full, or a ball whose bounce direction is only revealed mid-motion. If the deciding fact is revealed partway through a chunk, the robot either keeps executing a plan built on the wrong guess or waits for the slow model to replan. In dynamic tasks, waiting means failure.

We propose that the slow model should emit a branching chunk instead of a single trajectory. A branching chunk is a shared opening segment that works under every plausible hypothesis about the hidden fact, followed by a few alternative continuations, one per hypothesis. A tiny selector running at control rate tracks which hypothesis the fresh observations support and switches to the matching continuation the moment the evidence arrives. The slow model handles the continuous geometry. The fast selector makes only a discrete choice among a handful of options. This is the classical planning idea of a contingency plan with a sensing point, moved inside a single model call and executed under millisecond deadlines.

Core Claim

Current real-time chunking methods correct a chunk only continuously. They can nudge a trajectory, but they cannot switch it to a qualitatively different plan within a control cycle. Our claim is that for tasks whose uncertainty is categorical and resolved during execution, a large share of the gap between delayed and oracle execution comes from this missing in-chunk discrete switch. A branching chunk with a fast categorical selector should close most of that gap at negligible added latency. The relevant cases are which object, which side, or which outcome. Continuous residual heads, faster replanning, and post-hoc selection among unstructured samples should not close it.

Concretely, the slow policy outputs

$$C_t = \big(a_{t:t+f-1},\ \{a^{(k)}_{t+f:t+H-1}\}_{k=1}^{K}\big),$$

where $a_{t:t+f-1}$ is the shared prefix up to the fork step $f$, $H$ is the chunk length, and $a^{(k)}$ is the continuation for hypothesis $k$ out of $K$ (we expect $K \le 4$). At each control step $\tau$ the fast selector updates a belief $b_\tau(k)$, the probability that hypothesis $k$ is true given observations since $t$. It commits to $\arg\max_k b_\tau(k)$ once that probability exceeds a threshold or the fork deadline $f$ is reached. Before commitment, the prefix keeps every branch reachable. This is the analogue of conformant "funneling," which picks actions that succeed whichever world is true. The prefix is not one of the branches. It is the part of the chunk that does not yet need to choose.

Relation to Prior Work

The real-time chunking literature motivates this work by showing how much delay costs, and it supplies our base machinery.

Real-Time Execution of Action Chunking Flow Policies (RTC) freezes the actions already in flight and inpaints the next chunk to stay consistent with them. Real-Time Robot Execution with Masked Action Chunking (REMAC) instead trains the policy, via prefix masking, to tolerate stale observations. Both assume one intended trajectory and treat uncertainty as lag.

Leave No Observation Behind (A2C2) is closest in architecture. It runs a 4.7 ms correction head that adds a continuous residual to each base action using the latest observation and the slow model's features. We reuse its slow/fast split and its conditioning on base-model features. The difference is that our fast component makes a categorical choice among precomputed continuations, where A2C2's residual is a local offset that cannot jump between distant modes. Closed-Loop Action Chunks with Dynamic Corrections (DCDP) similarly adjusts chunks in a latent space for observable motion. It does not address hidden state.

Mixture of Horizons in Action Chunking (MoH) shortens the executed prefix when predictions at different horizons disagree. That is a useful signal, but its answer to ambiguity is to replan sooner, not to have the alternative ready.

Two papers supply the structural idea. Tree-structured Policy Planning with Learned Behavior Models (TPP) builds a tree of spline maneuvers for driving, predicts how other agents react to each branch, and solves the resulting discrete decision problem by dynamic programming in about 11 ms. It cut crash rate from 0.80% to 0.46%. TPP shows contingency trees pay off under real-time constraints. Its tree is hand-designed for 2D vehicle motion, whereas ours is generated per call by a learned visuomotor policy for manipulation. Least Commitment Planning for the Object Scouting Problem (SPOP) defers ordering decisions and inserts explicit "resolve" actions for unknown objects. It does this symbolically, in seconds. We take its least-commitment principle down to the trajectory level. Classical contingency planners such as Cassandra (Planning Under Uncertainty: Some Key Issues) and conformant planning (Conformant Graphplan) give us the vocabulary of sensing points and hypothesis-robust prefixes.

Reinforcement Learning with Action Chunking (Q-chunking) both constrains and supplies part of the method. It shows that committing to multi-step chunks is what makes exploration work: 74% on cube-quadruple, where one-step methods score 0%. That rules out abandoning chunks for a purely reactive policy. Its best-of-N selection among sampled chunks is also the natural competitor to our structured branches. Finally, the discrete-versus-continuous literature explains our division of labor. Exact maximization is easy only over a finite set (Constrained Deep Q-Learning Gradually Approaching Ordinary Q-Learning), and distance-based reasoning only works in continuous spaces (Promoting Stochasticity for Expressive Policies). We keep geometry in the slow continuous generator and give the fast loop only a small finite argmax.

Research Program

We will build three components and a set of test tasks.

The branching policy. We modify a flow-matching chunk policy, the same family RTC wraps, to output one prefix and $K$ continuations through $K$ output heads that share a backbone. The fork step $f$ is learned from data. In simulation, for each task we compute the earliest step at which demonstrations with different hidden values diverge beyond a tolerance. The policy is trained to predict a per-chunk $f$ supervised by this quantity. When the hidden variable is known at training time, as it is in simulation, continuation $k$ is trained on demonstrations with hidden value $k$. When it is unknown, as in real data, we use winner-take-all assignment: each demonstration trains only its nearest branch. A continuity penalty at step $f$ makes every branch start where the prefix ends, so switching never produces a jump of the kind RTC calls mode-jumping.

The fast selector. This is a small network of under a few million parameters, comparable to A2C2's head. It takes the latest observation, the intra-chunk time index, the slow model's latent features, and the $K$ continuations, and outputs the belief $b_\tau$. It is trained as a classifier against the branch each demonstration followed, with an added cost for late commitment. The commit threshold trades off premature switches against lateness, and we report the full curve.

The test tasks. No benchmark in our material contains execution-time-revealed categorical uncertainty under delay, so we construct variants of existing ones. "Kinetix-Hidden" modifies Kinetix tasks so that a discrete property is randomized and becomes observable only after motion begins. Examples are which of two targets is active, or which way a catapulted object will deflect. Kinetix is the right base because pausing causes physical failure, as REMAC, RTC, and A2C2 all exploit. "LIBERO-Occluded" places the goal object of LIBERO-Object/Goal tasks behind one of several occluders, revealed as the arm approaches. A smaller physical study on a Franka arm repeats the occluded-pick setup used for REMAC's Grasp-Hard evaluation.

The main independent variable is reveal time relative to slow-model latency. We vary both the reveal step and the injected inference delay, following REMAC's 0–4 step Kinetix delays and its extra-150 ms real-robot spike.

Baselines

The naive reference is asynchronous execution of a standard single-trajectory flow chunk policy: the "Naive Async" setting of REMAC and A2C2. We also include synchronous execution as a reference that ignores latency cost. Both use the same backbone, demonstrations, and training steps as our model.

The strongest existing competitor is A2C2. It is the only method in the file that lets fresh observations alter a chunk at control rate, and it reports a 35-point success gain over naive execution and 23 points over RTC in high-delay Kinetix. It also reports over 80% success at long horizons; no reported result was found on Lacuna for A2C2's absolute per-task Kinetix numbers or for any method on hidden-variable variants. We will run A2C2 with the same base policy and give its residual head the same parameter count and latency budget as our selector. We will tune both on the same validation seeds with equal hyperparameter-search budgets. Beating it means higher success on Kinetix-Hidden and LIBERO-Occluded at matched delay. We also require no loss on the original fully observed tasks, where A2C2's reported gains should be reproduced.

RTC and REMAC are run as reported: RTC training-free, REMAC fine-tuned with prefix masking on our data. On the real Franka, the reference is REMAC's 81.2% versus RTC's 75.3% on Grasp-Hard. We first check that we can approximately reproduce that ordering on the unmodified task before trusting results on the occluded version.

MoH-style dynamic prefix shortening is included as the "just replan sooner" baseline.

Two ablations isolate the key ingredient. The first, "unstructured best-of-K," samples $K$ independent chunks from the ordinary policy and has the identical fast selector switch among them, in the spirit of Q-chunking's sample-and-select. It tests whether the shared prefix and hypothesis-aligned branches matter, or whether runtime selection alone does the work. The second, "branches without selector," lets the slow model pick the branch at its next call. It tests whether the speed of the switch matters.

Why not just…?

Why not just give A2C2's residual head more capacity? A residual added to a single base trajectory must, to change mode, produce large offsets that are learned from few demonstrations and are unanchored to any feasible trajectory. DCDP and A2C2 report gains only for local corrections under observable change. We expect a large residual head to either underfit the switch or produce mid-trajectory blends between modes, the same failure RTC reports for temporal ensembling on match-lighting. This is a genuine threat on tasks where branches are geometrically close. We therefore sweep branch separation in Kinetix-Hidden, from targets centimeters apart to opposite sides. If A2C2 at matched size equals our method across the sweep, the categorical switch is unnecessary and we will report that.

Why not just replan faster, with shorter chunks or MoH's adaptive prefix? If the hidden fact is revealed well before the point of no return, replanning at the next slow call is enough, and branching adds nothing. The question is what happens when the reveal-to-deadline window is shorter than inference latency, about 101 ms for SmolVLA in A2C2's measurements. Our reveal-time sweep tests exactly this, and we predict our advantage appears only in that window. Shortening chunks also erodes the exploration and consistency benefits Q-chunking documents. We nonetheless count a regime where adaptive prefixes match us as a negative result for that regime.

Why not just sample many chunks and pick one at runtime with a critic? This is the closest alternative and the unstructured best-of-K ablation tests it directly. Independent samples from a model trained on mostly unimodal data can all fall in the dominant mode and miss the rare branch. They also do not share a prefix, so switching late requires a kinematic jump. If best-of-K with a matched $K$ and selector equals our method, our contribution reduces to "fast runtime selection," and the structured-branch claim fails.

Why not just use a symbolic contingency planner over a low-level controller? SPOP-style planners reason about unknown objects well, but they run in seconds and replan through a slow loop. REMAC's intra-chunk-inconsistency results show that loosely coupled slow and fast loops misalign under delay. We include a two-level variant, with a scripted high-level hypothesis picker that triggers a replan of the chunk policy, as an extra reference on LIBERO-Occluded.

Proposed Experiments

The decisive experiment is the reveal-time-by-delay grid on Kinetix-Hidden. We measure success rate and steps to completion, following REMAC's metrics, plus two diagnostics: commit latency after reveal and wrong-branch rate. The hypothesis predicts that our margin over A2C2 and MoH grows as the reveal-to-deadline window shrinks below inference delay. It also predicts the margin vanishes on the original fully observed Kinetix tasks.

A second check concerns hypothesis coverage. On LIBERO-Occluded we measure how often at least one branch reaches the true goal, comparing structured branches against best-of-K samples at equal $K$. This number explains any success gap.

A third check is cost. We measure added selector latency per control step against the 1–10 ms budget, and slow-model latency with $K$ output heads versus one. A slowdown that eats the benefit would sink the method.

On the Franka occluded pick, we report completion rate under nominal latency and under the extra-150 ms spike. Gains in simulation that disappear on hardware would indicate that our selector, like the test-time methods REMAC criticizes, is fragile to real delay distributions.

The proposal fails cleanly if any of three things happens: A2C2 at matched capacity, unstructured best-of-K, or adaptive replanning matches branching chunks inside the short-window regime.