Research
When Faster VLA Deployment Changes Closed-Loop Behavior: Task Success-Latency Analysis of SmolVLA Across PyTorch and ONNX Variants
Deploying a VLA policy usually means exporting it, swapping the runtime, requesting a lower precision, and fixing input shapes — often all at once — in the hope of cutting inference latency.

- arXiv
- 2609.14146 · Preprint · not peer-reviewed
- Published
- 2026-09-12 · revised · 2026-09-16
- Authors
- Rafiqul Islam
In plain words
Deploying a VLA policy usually means exporting it, swapping the runtime, requesting a lower precision, and fixing input shapes — often all at once — in the hope of cutting inference latency. The open question is whether the task still gets done: an action that is numerically close to the original can still push the robot into a different state, and those differences can compound over an episode.
AI summary
Overview
Research area: Robotics — deployment and evaluation of vision-language-action (VLA) policies, specifically the interaction between inference latency optimization and closed-loop task success.
Technical level: Intermediate. Readers need some familiarity with VLA models, ONNX export, mixed precision, and simulation benchmark protocols.
Scope: A single-checkpoint, single-GPU study of whether a faster SmolVLA deployment (ONNX Runtime CUDA Execution Provider) preserves LIBERO Spatial and Object closed-loop task success relative to a PyTorch+AMP baseline, and whether the exporter's static 16-token language width explains part of the gap.
What This Paper Is About
Deploying a VLA policy usually means exporting it, swapping the runtime, requesting a lower precision, and fixing input shapes — often all at once — in the hope of cutting inference latency. The open question is whether the task still gets done: an action that is numerically close to the original can still push the robot into a different state, and those differences can compound over an episode. The paper measures this directly for HuggingFaceVLA/smolvla_libero on LIBERO Spatial and Object, comparing PyTorch+AMP against ONNX Runtime CUDA EP, and then runs a controlled language-input-width ablation to test one candidate cause of the observed drop.
Key Contributions
- Empirical evidence of a behavior change under a faster deployment. On the 100-episode/suite main evaluation (seed 42), the ONNX/CUDA EP configuration reports substantially lower LIBERO Spatial success than PyTorch+AMP while Object success stays comparable.
- A controlled 16/24/32-token language-width ablation. Checkpoint, tether version, CUDA EP, hardware, and evaluation protocol are held fixed while only the static context width changes, providing evidence that static language-context width is an important contributor to the Spatial gap in this stack.
- A graph-level audit of the requested precision flags. The requested-INT8 artifact is shown to be byte-identical to the requested-FP16 artifact, both being FP32 graphs with no quantization operators, so the INT8 result is not operator-level INT8 quantization.
- Evidence that open-loop numerical agreement does not guarantee closed-loop success. This includes a 300-episode/suite paired PyTorch–ONNX rollout and an early adapter with approximately 0.98 per-step cosine similarity but 0% closed-loop success.
Main Findings
- Latency reduction is large on the measured benches. PyTorch+AMP reports p99 1181 ms (p50 903 ms, mean 917 ms). ONNX requested-FP16 and requested-INT8 at width 16 report
tether inspect benchp99 of 601 ms and 532 ms respectively, roughly 2x lower. The author notes these characterize the respective benches rather than a fully controlled cross-runtime microbenchmark. - Spatial success drops sharply; Object does not. Spatial falls from 70.0% (Wilson 95% CI [60.4, 78.1]) to 41.0% [31.9, 50.8] for requested-FP16 and 40.0% [30.9, 49.8] for requested-INT8. Object moves from 88.0% [80.2, 93.0] to 89.0% [81.4, 93.7] in both ONNX runs.
- The requested-INT8 artifact is not INT8. The two artifacts share the same SHA-256 for
model.onnxand the 2.3 GB weight file, contain FLOAT initializers, and have 22,514 nodes with no quantization operators. The 601 vs 532 ms p99 difference therefore cannot be attributed to INT8 quantization and is described as consistent with run-to-run CUDA-EP/runtime variability, whose cause the experiments do not isolate. - The precision flag is not applied on the measured path. tether 0.12.0's monolithic path does not apply
--precision; the flag is consumed by the TensorRT build path, which did not complete within 6 GB, so no TensorRT latency is reported. - Widening the language context recovers Spatial performance. Width 24 raises Spatial from 41.0% to 75.0% [65.7, 82.5]; width 32 gives 71.0% [61.5, 79.0]. Object stays broadly stable at 89.0%, 90.0%, and 87.0% across widths 16/24/32.
- Truncation is the mechanism the ablation points to. With
fedtoken counts (newline included), 5 of 10 Spatial tasks exceed width 16 (tasks 0, 1, 4, 5, 6), with Spatialfedlengths of 15–20 tokens (mean 17.0) against Objectfedlengths of 11–13 (mean 12.0). No instruction in these two suites exceeds 24 tokens, so widths 24 and 32 truncate nothing. - Recovery is concentrated in the previously truncated tasks. Grouped by truncation status at width 16 (50 episodes per group), tasks truncated at 16 fall from 38/50 under PyTorch to 3/50 and 4/50 under the two width-16 ONNX runs, then rise to 36/50 at width 24 and 34/50 at width 32. Tasks not truncated at 16 stay in the 36–39/50 range across ONNX rows.
- Latency and memory barely move across widths. On the uniform ONNX bench, p50/p99 are 537.5/583.6 ms (width 16), 544.5/587.7 ms (width 24), and 549.2/591.3 ms (width 32); peak process memory is 3184, 3178, and 3178 MB. This supports reading the Spatial degradation as an interface effect rather than a latency effect.
- Width 24 is close to, but not shown equivalent to, the PyTorch baseline. 75.0% vs 70.0% with overlapping Wilson confidence intervals; a two-proportion chi-squared test gives p = 0.53, which the author explicitly states does not establish equivalence. The 75.0% vs 71.0% difference between widths 24 and 32 is likewise not read as an established width effect.
- The 300-episode paired rollout shows the same pattern. Spatial 56.7% (PyTorch) vs 33.0% (ONNX width 16), a −23.7 point gap with continuity-corrected McNemar chi-squared 35.77 and p = 2.2e-9. Object 73.3% vs 74.0%, chi-squared 0.014, p = 0.90. Absolute rates differ from the 100-episode evaluation because the harnesses differ.
- The ONNX-vs-ONNX identity check is not a PyTorch comparison. On 200 shared random inputs (seed 42), the requested-FP16 and requested-INT8 artifacts give cosine similarity 1.0000 and zero maximum absolute difference — consistent with the audit, and explicitly not evidence that INT8 preserves FP16 outputs.
- One-instruction open-loop evidence tracks the truncation story. On a matched 11-token Object instruction, width 16 and width 24 agree at cosine 1.000000 with max |Δ| 3.8e-6. On a 19-token encoding of Spatial task 0, width 16 differs from PyTorch
sample_actions(cosine 0.952, max |Δ| 1.73) while width 24 agrees more closely (cosine 0.99997, max |Δ| 0.028). - The local baseline is below the published SmolVLA numbers. PyTorch+AMP reports 70% Spatial and 88% Object against 96%/92% in the SmolVLA paper; the author states this is not a reproduction of those headline rates and does not attribute the discrepancy to a single factor.
- TensorRT is absent from the results. Engine compilation was attempted after stripping unsupported ScatterND attributes and did not finish within 6 GB.
- Supporting measurement: disabling AMP raises PyTorch p99 to 1261 ms, which is not the baseline condition.
Methodology in Plain English
Everything runs in simulation on one Linux workstation with an RTX 2060 (6 GB, Turing sm_75), using Python 3.12, LeRobot 0.6.1, PyTorch 2.5.1+cu121, MuJoCo 3.3.2 with MUJOCO_GL=egl, tether 0.12.0, and ONNX Runtime GPU 1.22.0. The model is SmolVLA — a SigLIP vision tower, a SmolLM2 backbone, and a ten-step flow-matching action expert producing 7-DoF actions — evaluated on two LIBERO suites of ten tasks each, with action steps 1, flow steps 10, batch 1, and seed 42.
The comparison is deliberately narrow. One arm runs PyTorch with use_amp=true (so it is an AMP baseline, not pure FP32). The other arm uses tether to export to ONNX and runs it through the CUDA Execution Provider, once with --precision fp16 and once with --precision int8, both at the exporter's default 16-token language width.
Crucially, the author does not trust the flags. Both ONNX files are inspected at the graph level — hashing them, counting nodes, and checking initializer dtypes and operator types — to determine what was actually exported. The ablation then re-exports the same checkpoint at widths 24 and 32, changing nothing else, and records how many instruction strings exceed each width, the resulting success rates, and latency and memory from a single uniform ONNX Runtime script so all three widths are measured identically.
Closed-loop success is measured with lerobot-eval and scripts/libero_onnx_eval.py at 100 episodes per suite (10 per task). A second, separate harness (scripts/run_smolvla_verify.py) runs 300 paired episodes per suite (30 per task) on the same tether control loop so PyTorch and ONNX see matched seeds and resets. Latency is measured as 50 warmup plus 1000 timed calls with CUDA synchronization, and open-loop agreement is tracked separately as cosine similarity and maximum absolute difference of the first 7 action dimensions — treated throughout as a distinct metric from task success.
Why This Matters
The paper's central methodological point is that latency, open-loop numerical parity, and closed-loop task success are three different things, and reporting only the first two can hide a policy that is fast and numerically faithful but no longer solves the task. It also shows that a deployment flag can be a no-op: the "INT8" run was an FP32 graph, so any conclusion drawn from its timing or behavior about quantization would be wrong. The recommendation is that deployment evaluations report latency, artifact inspection, interface constraints, and closed-loop success together.
Real-world applications:
- Deploying manipulation policies on consumer or edge GPUs, where 6 GB of VRAM forces export, fixed shapes, and reduced precision — exactly the configuration in which a silent behavior change can appear.
- Model-serving infrastructure for robotics, where a runtime swap is treated as a pure speedup and validated only with output-similarity checks.
- Pre-deployment validation pipelines, where hashing and node-level inspection of exported graphs should gate any claim about precision or quantization.
- Simulation benchmark reporting, where truncation of long instructions at a static token width can systematically depress scores for instruction-heavy task suites.
Industry relevance: teams shipping VLA policies on constrained hardware need to know that the faster configuration is not automatically behavior-preserving and that a requested precision flag may not correspond to the graph actually produced. Both are cheap to check and both change what the numbers mean.
Future Directions
- Factorial isolation of the coupled factors. The paper's own table marks runtime, graph conversion, AMP vs FP32 graph, CUDA-EP kernels, true INT8 vs FP16 conversion, and TensorRT execution as not isolated. A full factorial design would separate them.
- Genuine reduced-precision and TensorRT evaluation. The requested-INT8 path never quantized, and TensorRT compilation did not complete within 6 GB. Real INT8/FP16 conversion and engine execution remain unmeasured on this stack.
- Breadth beyond one checkpoint, one seed, one GPU. LIBERO Goal and Long are unevaluated, the main evaluation uses a single seed with 10 episodes per task, no multiple-comparison correction is applied, and no physical robot or edge device was used.
- Testing the instruction-tail hypothesis and generalizing it. The author offers a plausible but explicitly untested reading — that truncating Spatial instructions removes task-disambiguating information near the tail while Object instructions are short enough to survive. Whether the same failure appears in other exporters, toolchains, and VLAs, and whether an adaptive rather than fixed width is preferable, is left open.
Target Audience
Robotics deployment and ML systems engineers who export VLA policies to ONNX or similar runtimes; VLA researchers who need to interpret reported success rates across inference stacks; benchmarking and evaluation researchers interested in protocol design and artifact verification; and graduate students with an intermediate background in robot learning who want a concrete case study in why closed-loop evaluation is not implied by open-loop agreement.
Authors’ abstract
Vision-language-action (VLA) deployment can reduce inference latency while changing closed-loop task behavior. We evaluate HuggingFaceVLA/smolvla_libero on an RTX 2060 (6 GB) in LIBERO Spatial and Object (MuJoCo 3.3.2, LeRobot 0.6.1, seed 42), comparing PyTorch+AMP with ONNX Runtime CUDA Execution Provider (CUDA EP). The main evaluation uses 100 episodes/suite; a paired rollout uses 300 episodes/suite. PyTorch+AMP reaches 70.0%/88.0% Spatial/Object success at 1181 ms p99.…
The full abstract on arXivRelated papers
- LoopWAM: Closed-Loop Generalist Policy Improvement from Deployment Rollouts 2026-10-13 · cs.RO · Key terms of the title in common
- A Deployable Architecture for Robot-Mediated Tasks (DART): Evaluation in Socially Assistive Robot-Guided Cognitive Behavioral Therapy Exercises 2026-09-11 · cs.RO · Key terms of the title in common
- REVOLVE: An Automated Closed-Loop Framework for Evolving Robot Manipulation with Minimal Human Intervention 2026-09-13 · cs.RO · Key terms of the title in common
- A Physics-Based Closed-Loop Robotic Bioprinting Framework Towards Volumetric Muscle Loss Treatment 2026-09-10 · cs.RO · Key terms of the title in common
- WM-VS: Progress-Aligned World Models for Closed-Loop Visual Servoing 2026-09-17 · cs.RO · Key terms of the title in common