Many robot policies now generate a whole "chunk" of future actions at once instead of one action at a time. Discrete diffusion policies do this by starting with a fixed number of blank slots and filling them in over several rounds of guess-and-revise. The number of slots is chosen before generation and never changes. In simulation that is mostly harmless. On real hardware it means the policy must commit to the same number of future actions whether it is confidently sweeping an arm through free space or about to make contact with an object it sees through unfamiliar lighting. This proposal makes chunk length an output of generation. The diffusion model's own per-step confidence decides, during denoising, where the chunk should end. Far-future slots the model cannot predict reliably are dropped before they can influence the near-term actions the robot will actually execute.
The central bet is specific and falsifiable. The bet is that under a simulation-to-reality shift, the damage from a fixed canvas comes from more than executing stale actions, which post-hoc truncation already fixes. It also comes from contamination. In a bidirectional denoiser every slot attends to every other slot, so hallucinated far-future actions feed back into the near-term ones. If this is true, cropping the canvas inside the denoising loop should beat generating a full chunk and cutting it afterward, and the advantage should grow with the size of the domain shift. If it is false, the cheap post-hoc version is enough, and the experiments are designed to say so plainly.
What exists and what is missing
Language diffusion models have already escaped fixed canvases. Beyond Fixed (DAEDAL) grows a short canvas at inference time by checking how confident the model is about the end-of-sequence token. It raises a four-benchmark reasoning and code average from 52.05% to 54.75%. SMARTCROP shows the opposite move: it reads the model's internal length estimate in early denoising steps and crops trailing padding without hurting quality. FlexMDM and the CTMC insertion model go further. They train models to insert masked slots, so no fixed canvas is ever allocated.
These papers supply the method. Our mechanism is closest to SMARTCROP-style contraction, because robot chunks have a natural upper bound and the failure we care about is over-commitment, not running out of room. None of these papers studies actions, physical execution, or domain shift.
On the robotics side, three papers motivate the work and also bound it. Discrete Diffusion VLA is a vision-language-action model, meaning one that maps camera images and an instruction to motor commands. It decodes discretized actions by masked diffusion over a fixed 8-step chunk and commits the most confident tokens first. Its authors name the rigid chunk as a limitation. Continue or Replan? (BCP) shows that fixed-horizon execution fails at contact-rich moments on a real humanoid: bottle grasping 74% versus 92%, mug hanging 44% versus 84%. Its fix is an external reinforcement-learned head that truncates a chunk the base model has already fully generated. As BCP notes, it cannot repair a bad chunk. REMAC handles a different timing problem, actions going stale during inference delay, by masking the chunk prefix during training. Its chunk length stays fixed.
We differ from all three in one way: chunk length is decided inside the generator, and the decision is made with the model's own confidence rather than a separate trained head. REMAC also constrains the design. Any cropped chunk must still be at least as long as the inference delay, or the robot runs out of actions before the next chunk arrives.
Core mechanism
We start from a Discrete Diffusion VLA backbone and lengthen its canvas to a maximum horizon $H_{max}$ of 24 steps. We fine-tune it on demonstration chunks whose length is randomly truncated, following the stochastic-truncation idea discussed by Gulrajani et al.. This ensures the model behaves sensibly on canvases of any length up to $H_{max}$.
At inference, after the first $k$ of the 12 denoising rounds, we compute a per-timestep confidence $c_t$. This is the mean over action dimensions of the maximum predicted bin probability at future step $t$. We crop the canvas to
$$L = \max\left(d,\; \max\{t : c_{t'} \ge \tau \text{ for all } t' \le t\}\right),$$
where $\tau$ is a confidence threshold and $d$ is the measured inference delay in control steps. In words, $L$ is the last step before confidence first falls below $\tau$, but never shorter than the delay. Slots beyond $L$ are deleted, which removes them from attention. Any near-term tokens committed while those slots were present are re-masked, and the remaining rounds denoise only the short canvas. Cropping and committing can repeat once more if confidence collapses again.
No extra trained parameters are required beyond the variable-length fine-tune. That keeps the comparison with post-hoc truncation as clean as possible.
Research program
The program has three parts.
The first part is diagnostic. On held-out demonstrations rendered under increasing shift, we measure two things. One is whether $c_t$ predicts where action error becomes large; we score this with the area under the ROC curve for flagging steps whose error exceeds a fixed tolerance. The other is whether the error on the first $L$ steps depends on whether the tail is present during denoising. The shift settings are SimplerEnv visual matching versus variant aggregation, RoboTwin 2.0 Clean versus Randomized, and LIBERO versus LIBERO-Plus and LIBERO-PRO.
The second part is closed-loop evaluation of the cropped policy against the baselines below on the same benchmarks.
The third part is a real-robot study on contact-rich grasping and hanging tasks under the same lighting and texture shifts. We also inject delay spikes, which tests whether the floor at $d$ interacts with the confidence crop as REMAC's analysis suggests it should.
Baselines
The naive reference point is the unmodified Discrete Diffusion VLA with its fixed 8-step chunk, executed in full. That paper reports 96.4% average success on LIBERO, 71.2% visual-matching success on SimplerEnv Fractal, and 54.2% on SimplerEnv Bridge. We rerun it with our fine-tuning data and seeds rather than quoting it. We also run fixed chunks of 4, 16 and 24 steps, so that "pick the best fixed length per benchmark" is tuned with the same validation budget our threshold $\tau$ receives.
The strongest existing method for adaptive horizons is BCP. It reports that RoboTwin 2.0 average success rises from 89.88% to 93.94% on a LingBot-VLA base. Its backbone differs from ours, so those numbers are context, not a target. We reimplement the BCP head on our 24-step backbone and train it with its group-relative policy optimization recipe and efficiency reward, giving it the same simulation rollouts and wall-clock budget as our fine-tune. We beat it if we match or exceed its success on RoboTwin Randomized and LIBERO-PRO while using no reinforcement learning, with the largest gains on the shifted splits.
We also include an upstream length regressor in the style of Mask-Predict. It predicts $L$ from the observation before denoising, which tests whether the length decision needs information from partially generated actions.
The key ablation is post-hoc confidence truncation. It uses the same backbone, threshold and confidence signal, but denoises the full 24-step canvas and truncates only at execution. It isolates the in-loop crop. Our claim requires a statistically reliable win over this ablation on shifted splits, together with a reduction in near-term action error measured offline.
Why not just…?
Why not just truncate the full chunk using the same confidence? This is the real threat, and it is why post-hoc truncation is the key ablation rather than an afterthought. It costs nothing and already removes stale far-future actions. Our method only earns its place if tail contamination exists. The diagnostic in part one measures this directly: near-term error with versus without the tail present during denoising, as a function of shift magnitude. If that gap is near zero, we will report post-hoc confidence truncation as the recommended method and the in-loop crop as unnecessary.
Why not just use BCP? BCP works on hardware, but it decides when to stop after generation is finished. Its own authors note that it cannot correct invalid trajectories, only replan sooner. It also needs an additional reinforcement-learning stage tuned to the task distribution, and that stage was itself trained in simulation. Whether its continuation decisions survive visual shift is untested. Running BCP and our method on identical Clean and Randomized splits settles which signal generalizes better.
Why not just use short chunks and replan often? Very short fixed chunks avoid staleness. However, REMAC shows that replanning near every step is too slow in real time, with fixed synchronous execution reaching 67.0% versus REMAC's 81.2% on Grasp-Hard. BCP's phase-shift experiment shows that any fixed length is badly placed for some phase of the task. Our fixed-length sweep tests this directly. If a tuned 4-step chunk matches our method at equal control frequency, the adaptive-length claim fails.
Why not just close the visual gap with augmentation? Seeing Realism from Simulation improves out-of-distribution real-arm success by 13–15% through video-diffusion re-rendering. It also reports a dip on in-distribution LIBERO and explicitly leaves timing untouched. Augmentation is complementary rather than competing, so we cross it with our method in a two-by-two design. The question is whether cropping still helps once the visual gap is partly closed. If the benefit vanishes under augmentation, cropping is merely a stand-in for perceptual robustness.
Decisive checks
Three outcomes would decide the proposal. The first is whether per-step confidence predicts large action error under shift with useful accuracy; if it does not, no confidence-based length rule can work. The second is whether in-loop cropping beats post-hoc truncation, with the margin increasing from Clean to Randomized splits and from SimplerEnv visual matching to variant aggregation. The third is whether, on real hardware with injected delay spikes, the cropped policy avoids running out of actions while matching or beating the reimplemented BCP head.
Control frequency is reported alongside every success number, so that shorter canvases are not credited with gains that come from extra compute or lost from slower decoding.
References
- Beyond Fixed: Training-Free Variable-Length Denoising for Diffusion Large Language Models
- Diffusion Language Models Are Natively Length-Aware
- Any-Order Flexible Length Masked Diffusion
- A Continuous Time Markov Chain Framework for Insertion Language Models
- Discrete Diffusion VLA: Bringing Discrete Diffusion to Action Decoding in Vision-Language-Action Policies
- Continue or Replan? Bernoulli-Continuation Policy Learning for Adaptive Horizon Execution
- Real-Time Robot Execution with Masked Action Chunking
- Likelihood-Based Diffusion Language Models
- Mask-Predict: Parallel Decoding of Conditional Masked Language Models
- Seeing Realism from Simulation: Efficient Video Transfer for Vision-Language-Action Data Augmentation