Robot policies trained in simulation are, in one important sense, trained offline. The simulator pauses while the network thinks, so every observation is acted on as if processing took zero time. On a real robot the world keeps moving during inference, and the policy acts on a stale picture. The standard fix, borrowed from domain randomization (training under many randomly perturbed simulators so the real world looks like one more variation), is to inject random sensor and compute delays during training. Existing methods draw these delays independently of what the robot is looking at and what the network is computing. Modern visual policies break that assumption. When a transformer adaptively discards redundant image patches, a cluttered or heavily textured scene keeps more patches, costs more compute, and so arrives later. Sustained heavy compute also triggers thermal throttling, which slows later steps further. As a result, the worst delays land in the hardest scenes.
We propose to simulate latency as a consequence of the policy's own computation rather than as independent noise. At every training step, the delay is computed from the number of visual tokens the policy actually processed on that frame, passed through a randomized model of the deployment hardware. The policy also chooses its own token budget, so during training it experiences the trade between seeing more and acting on fresher information. The claim is testable and falsifiable. If real-world failures of streaming visual policies come from the correlation between scene difficulty and delay, then coupled randomization should beat independent randomization with the same delay distribution, most clearly in the textured and cluttered conditions where visual domain randomization was supposed to help.
Core Claim
Zero-shot sim-to-real transfer for streaming visual policies requires randomizing the joint distribution of observations and processing delays, not just their marginals. Concretely, we model the delay $d_t$ applied to observation $t$ as
$$d_t = \alpha + \beta\, n_t + \gamma\, s_t + \epsilon_t,$$
where $n_t$ is the number of visual tokens the policy keeps on frame $t$, $\alpha$ is fixed sensor and transfer overhead, $\beta$ is per-token compute cost, $s_t$ is a thermal-load state, $\gamma$ is how much that load slows compute, and $\epsilon_t$ is scheduling jitter. The load state follows $s_t = \lambda s_{t-1} + (1-\lambda) n_t$, an exponential moving average of recent compute, with $\lambda$ setting how quickly load decays. This is the same smoothing Transtreaming uses to forecast delay at test time. Domain randomization is applied to the hardware parameters $(\alpha, \beta, \gamma, \lambda)$ and the jitter distribution, in the same way it is normally applied to friction or mass. Because $n_t$ depends on the rendered scene and on the policy, randomized textures and lighting change latency as well as appearance.
Relation to Prior Work
The closest work is Multi-Modal Delay Randomization. It trains a quadruped policy in simulation with randomly sampled camera and inertial-sensor lags and transfers it zero-shot, nearly doubling distance travelled in real sparse-obstacle tests (859.9cm versus 444.7cm without delay randomization). It motivates this proposal by showing that latency is a first-order sim-to-real gap. It differs from ours in that its delays are sampled independently of scene and compute, and its visual pipeline is a three-layer network on depth images whose cost does not vary with content.
Two manipulation methods handle latency at the level of action chunks, meaning short sequences of future actions predicted at once. REMAC trains with randomly masked action prefixes so the policy tolerates 0 to 4 steps of delay. PAINT chooses the starting noise of a flow-matching policy so that each new chunk continues smoothly from the actions already executed. Both treat delay as given, and neither trains in randomized simulation. We reuse their chunked action interface and treat them as complementary deployment-time components, not as competitors to the training distribution.
DT-CORL learns a transformer belief model that predicts the current state from delayed observations, jointly with the policy. It supplies our design choice of a learned predictive state over raw history stacking, but it works on low-dimensional states with delays that do not depend on computation.
On the streaming side, rLiVS keeps visual tokens according to the language model's own attention and discards about 95% of them. StreamForest merges past frames into a compact event memory, retaining 96.8% of accuracy at one-eighth the tokens. These supply the mechanism whose content-dependent cost creates the coupling we study. They also raise the concern, which we test directly, that attention-based selection may favor randomized background textures over small contact-relevant regions.
On the domain randomization side, three papers supply our visual randomization recipe and training scaffold. Robust Visual Sim-to-Real Transfer supplies the texture, lighting and camera randomization, with which it reached 93% real success across seven tasks. Asymmetric Actor Critic supplies the privileged critic that sees true simulator state while the actor sees only images. Kinetix constrains the design: overly broad randomization there performed worse than a random policy. This is why we randomize hardware parameters within ranges measured on real devices rather than injecting arbitrarily large delays.
Research Program
We will build one policy architecture and vary only how latency is simulated during training. The actor has four parts. A small vision transformer encodes each frame. An attention-based token selector keeps a variable number of patches $n_t$, with a learned threshold that the policy can raise or lower per step, which is its budget action. A compact recurrent memory in the spirit of StreamForest carries past frames. A head outputs action chunks. The critic receives privileged simulator state, following the asymmetric actor-critic recipe.
Training runs in ManiSkill2 with the visual randomization of the Robust Visual Sim-to-Real recipe. Each simulated step works as follows. The policy processes a frame and keeps $n_t$ tokens. The simulator computes $d_t$ from the equation above. The environment then advances by $d_t$ under the previously committed action chunk before the new chunk takes effect. We choose ManiSkill2 because its throughput (2532 FPS with 64 environments in ManiSkill2) makes per-step variable delays affordable.
Before any robot experiment, we profile inference latency against token count and sustained load on the target compute device, such as an embedded GPU. The profile sets the ranges for $(\alpha, \beta, \gamma, \lambda)$. This profiling involves no robot interaction data, so the robot policy remains zero-shot.
We will also analyze what the token selector keeps. We will compare the fraction of retained tokens that fall on the target object and contact region across four conditions: clean simulation, randomized simulation, real plain scenes and real textured scenes. This measures whether randomized textures capture the selector's attention.
Baselines
The naive reference point is standard visual domain randomization with no delay modelling at all, trained synchronously as the simulator normally allows and deployed asynchronously on real hardware. For calibration, ManiSkill2 reports PickCube success of 91% in simulation and 60% on a physical robot without fine-tuning. We will reproduce this baseline under our own architecture and hardware rather than rely on that number.
The strongest existing method for the training distribution is Multi-Modal Delay Randomization applied to our architecture. Delays are sampled independently from a distribution matched in range to our hardware profile, and the chunked-action interface is the same. It is the strongest competitor because it is the only published recipe that randomizes delay for zero-shot sim-to-real transfer. No reported result was found on Lacuna for delay randomization of this kind on visual manipulation benchmarks, so its manipulation numbers will come from our runs.
The strongest method for latency handling at deployment is REMAC. On a physical Franka Grasp-Hard task it reports 81.2% completion, against 75.3% for real-time chunking and 67.0% for synchronous inference REMAC. We will train it with prefix masking on the same randomized simulation data. It is applied only in the conditions it supports, which are fixed-budget, non-coupled delays.
The key ablation isolates coupling. It keeps our full pipeline but shuffles the simulated delays across time and across environments within each batch. This preserves the exact marginal delay distribution and the budget action while destroying the link between delay and the tokens actually processed.
A second ablation removes the budget action and fixes $n_t$ at the median of our learned budget. This separates the value of simulating coupled latency from the value of letting the policy control it.
All arms share the same simulator, visual randomization, network size, number of environment steps, hyperparameter search budget of equal trials, and deployment hardware. Beating the strongest baseline means a statistically reliable improvement in real success over the marginal-matched independent-delay arm across at least three seeds and at least 30 real trials per task. We expect that improvement to concentrate in textured and loaded conditions.
Why not just…?
Why not just randomize delays independently over a wide range and feed the measured delay to the policy as an input? This is the real threat. If the policy is told its delay at each step, it may not need the training distribution to reproduce the correlation between scene and delay. Our shuffled-delay ablation will include the measured delay as an input, so it tests exactly this alternative. The argument against it is distributional: under independent sampling, the policy rarely sees long delays together with cluttered, fast-changing scenes, which is precisely the combination the real robot produces. If the ablation matches the full method in real trials, we will report that coupling is unnecessary once delay is observed. That would still be a useful negative result for the field.
Why not just use a small fixed token budget so inference is fast enough to run synchronously? StreamForest's retention of 96.8% of accuracy at one-eighth the tokens suggests heavy compression is cheap. That evidence comes from semantic question answering, however, while ManiSkill2's high-precision tasks, such as plug insertion with 0.5mm clearance, depend on fine geometry that aggressive compression may erase. The fixed-budget ablation, run at several budgets, measures this trade directly on coarse and precise tasks.
Why not just add REMAC or PAINT at deployment on top of an ordinary randomized policy? These methods smooth the handoff between action chunks. They do not change the fact that the policy never learned what stale observations look like in hard scenes, and REMAC's own +150ms spike tests show that deployment-time fixes degrade when delay jumps. They are compatible with our training distribution, so we will also evaluate our method combined with PAINT to check that the gains are additive rather than overlapping.
Why not just drop frames uniformly? Dropping frames lowers compute but makes staleness worse, and Transtreaming shows fixed sampling falls further behind as scene motion speeds up. We include a uniform 2-5 Hz frame-rate arm as a cheap reference.
Proposed Experiments
In simulation, we will evaluate on ManiSkill2 PickCube, a peg or plug insertion task and a moving-target pick task. We will also run the 12 Kinetix dynamic tasks used by REMAC and PAINT, extended to our coupled delay model. Metrics are success rate, the gap between simulated and real success, delay experienced per step, and on-object token retention.
In the real world, a single arm will run PickCube, stacking and insertion under four conditions. The first is a plain table. The second adds a textured tablecloth, the setting where Robust Visual Sim-to-Real Transfer saw real-data policies drop to 5%. The third adds moving distractors. The fourth adds a background compute load that induces throttling, plus injected +150ms spikes following REMAC's protocol.
The decisive check is the comparison between the full method and the shuffled-delay ablation in the textured and loaded conditions. Coupling predicts a clear gap there and a negligible gap on the plain table. A uniform gap across all conditions, or no gap, would falsify the central claim. A second diagnostic is whether the policy learns to lower its token budget in fast-changing scenes and raise it before contact. If it does not, the budget action adds nothing and should be dropped.
References
- Transtreaming: Adaptive Delay-aware Transformer for Real-time Streaming Perception
- Vision-Guided Quadrupedal Locomotion in the Wild with Multi-Modal Delay Randomization
- Real-Time Robot Execution with Masked Action Chunking
- Start Right, Arrive Right: Asynchronous Execution via Initial Noise Selection
- Belief-Based Offline Reinforcement Learning for Delay-Robust Policy Optimization
- Recurrent Attention-based Token Selection for Efficient Streaming Video-LLMs
- StreamForest: Efficient Online Video Understanding with Persistent Event Memory
- Robust Visual Sim-to-Real Transfer for Robotic Manipulation
- Asymmetric Actor Critic for Image-Based Robot Learning
- Kinetix: Investigating the Training of General Agents through Open-Ended Physics-Based Control Tasks
- ManiSkill2: A Unified Benchmark for Generalizable Manipulation Skills