Bringing Robotics AI to Embedded Platforms: Dataset Recording, VLA Fine‑Tuning, and On‑Device Optimizations
Summary
NXP and Hugging Face demonstrate techniques for deploying Vision-Language-Action (VLA) models on embedded robotic platforms, covering dataset recording best practices, VLA fine-tuning, and on-device optimizations including quantization and asynchronous inference scheduling for the i.MX 95 processor.
View Cached Full Text
Cached at: 04/20/26, 05:27 PM
Bringing Robotics AI to Embedded Platforms: Dataset Recording, VLA Fine‑Tuning, and On‑Device Optimizations
Source: https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms Back to Articles
- 🎥 Dataset Recording: What Actually Matters- 1) Consistency First - 2) Use a Gripper Camera (Highly Recommended) - 3) Improve Prehension - 4) Diversity & Splits
- 🎛️ Fine‑Tuning VLAs
- ⚡ Optimizing for the NXP i.MX 95 Applications processor- 1) Divide And Conquer - 2) Quantization - 3) Asynchronous Inference: Control-Aware Scheduling
- 📊 What We Achieve on i.MX 95 Applications Processor
- ⏩ Next Steps
- ✅ Checklists You Can Reuse
- 📚 Resources & Inspiration
Authors:Enzo Ruedas,Tess Boivin
Recent advances in Large Language Models have enabled the transition from text-only reasoning tomultimodal systems. First, with the integration of visual perception inVision–Language Models (VLMs), and more recently with the generation of robot actions inVision–Language–Action (VLA) models. Deploying these models onembedded robotic platformsremains a challenge due to tight constraints in terms of compute, memory, and power, as well as real-time control requirements.
In synchronous control pipelines, while the VLA is running inference, the arm is idle awaiting commands leading to oscillatory behavior and delayed corrections. To tackle that,asynchronous Inferencecan enable smooth and continuous motion by dissociating generation from execution. However, to be effective, theend-to-end inference latency must remain shorter than the action execution duration. This temporal constraint therefore sets an upper limit on the model’s throughput.
Bringing VLA models to embedded platforms is not a matter of model compression, but a complex systems engineering problem requiringarchitectural decomposition,latency-aware scheduling, andhardware-aligned execution. Addressing these challenges is essential to translate recent advances in multimodal foundation models into practical and deployable embedded robotic systems.
This guide presents NXP’s hands‑on best practices for recording reliable robotic datasets, fine‑tuning VLA policies (ACTandSmolVLA), and hightlights the real-time performance that**NXP i.MX 95**SoC achieves after optimization.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#%F0%9F%8E%A5-dataset-recording-what-actually-matters🎥 Dataset Recording: What Actually Matters
High‑quality,consistentdata beats “more but messy” data. This section turns hard‑earned lessons into concrete checklists and schemas.
In our case, we recorded a dataset for the task:“Put the tea bag in the mug.”
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#1-consistency-first1) Consistency First
- Fixed cameras: Use rigid mounts to avoid pose drift. If during recording or evaluation one or more cameras shift because of the robot’s vibrations or the operator resetting the environment, you can observe a severe accuracy loss.
- Controlled lighting: Set up your environment where you can have as much control as possible on lighting (Fixed light source(s) and far from sunlight that vary during the day).
- Strong contrast: Avoid training with “white on white” unless that’s your deployment domain. Maximize contrast between the arm, the object and the environment.
- Fixed calibration: Make sure to have backups of your robot and teleoperator calibrations so you don’t have to re-record your previous episodes if the code crashes.
- Do not cheat: Do not use information the model will not have access to at inference time. During data recording, it is tempting for the operator to rely on direct visual observation of the scene. However, this introduces information that is absent from the dataset. Dataset collection must be restricted to the same camera inputs that will be available to the policy at runtime.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#2-use-a-gripper-camera-highly-recommended2) Use a Gripper Camera (Highly Recommended)
Moving from scene‑only views to mixed viewpoints increases the global accuracy, but the more cameras you have the more the latency is impacted. Therefore, you must choose right compromise. In our case that balance was reached with 3 cameras:
We strongly recommend using a gripper-mounted camera. It consistently improves success rates on fine manipulation tasks by providing a close, task-relevant viewpoint. Importantly, it is also the camera that most effectively enforces correct data collection practices, allowing the operator to rely exclusively on the robot’s perception rather than observing the scene directly. When installing a gripper camera, we recommend securing the cable withVelcro or a strain-relief guideto prevent it from obstructing the field of view or becoming disconnected during motion.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#3-improve-prehension3) Improve Prehension
Simple hardware tweaks likeheat‑shrink tubingover gripper claws increase friction, reduce roughness, reduce slippage during episodes, and increase task success rate (fewer “almost success” episodes), improving policy learning stability.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#4-diversity–splits4) Diversity & Splits
When recording a dataset, you should:
- Vary episodes distribution: Divide your workspace into starting-position clusters, and record at least 10 episodes per cluster. Add diversity by changing the object position and rotation. e.g.we partitioned the robot arm’s reachable workspace into 11 clusters, each measuring 10 × 10 cm.
- Differentiate training & validation sets: Policies can easily overfit on the training set, so make sure that the validation set is unseen by the model. e.g.we removed cluster 6 from the training set.
- Record the most movements you can: Small VLA models exhibit limited generalization on unseen motion. Therefore, record episodes that cover the wider ranges of degrees of freedom. e.g.we grasped the tea bag either in horizontal or vertical position.
- Anticipate failure: Sometimes the policy will not reach the object the first time and will have to “go back to it”. We noticed that having 20% of all episodes that corresponds to the case of going back to the object help the model improve overall success rate. e.g.around 20% of our training set corresponds torecovery episodes.
This mirrors best practices across VLA papers and community guides. Here are 3 examples of data diversity within the same cluster:
Starting positions 1 and 2 correspond to different positions within the same cluster. In contrast, during the recovery episode, the robot does not begin in “starting mode”; but is instead already near the mug and should proceed directly to retrieve the tea bag from that location.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#%F0%9F%8E%9B%EF%B8%8F-finetuning-vlas🎛️ Fine‑Tuning VLAs
What we did in practice:
- Tasks:“Grab the tea bag and place it in the mug.”
- Dataset:- 120 episodes: 10 clusters x (10 different tea bag starting positions + 2 recovery episodes) - 3 cameras (640x480px, 30fps): Top, Gripper, Left - Cluster n°6 was removed for validation
- **Batch size:**8
- **Training:**Model checkpoint with the lowest validation loss after 200k steps was chosen
The range providing the best trade-off between accuracy, generalization, and motion smoothness across both the training and validation sets was found for ACT (100 actions per chunk) within a 100k-160k training steps. For SMolVLA training (50 actions per chunk), the trade‑off appears after many more training steps. We found that continuing training slightly past the point where the model begins to overfit tends to improve overall accuracy.
Rule of thumb: choose final checkpoint by evaluating success on both training and validation set, not by training loss.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#%E2%9A%A1-optimizing-for-the-nxp-imx-95-applications-processor⚡ Optimizing for the NXP i.MX 95 Applications processor
The**i.MX 95SoC integrates 6× Arm Cortex‑A55, a Cortex‑M7 and a Cortex M33 MCU, a Mali GPU, a new NXP ISP, and theeIQ® Neutron NPU**, targetingefficient, secure edge inferencewith multi‑camera support and strong I/O.[nxp.com]
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#1-divide-and-conquer1) Divide And Conquer
Instead of running the models as one monolithic graph, we decompose the VLA graph into logical stages: encoders, decoders, and action experts. Therefore, allowing each component to be optimized, scheduled, and deployed independently.
In practice, SmolVLA is partitioned into the following sub-blocks:
- Vision: processes RGB camera frames and produces visual embeddings.
- LLM backbone: generates actions tokens from visual and textual embeddings.
- Action expert: applies flow matching to iteratively denoise action samples and outputs final control commands.
This separation allows per-block optimizations. The impact of each block quantization can be measured to choose the best tradeoff between latency and accuracy. Also, isolating the action expert from the VLM was ideal to run it at lower frequency.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#2-quantization2) Quantization
In order to optimize the inference for i.MX 95 SoC, we explored several quantization techniques on different blocks. We found that quantizing the vision encoder and LLM prefill had limited impact on accuracy, whereas quantization of the denoising flow in the action expert significantly degrades performance. This behaviour is expected, as quantization errors are accumulating across iterative denoising steps.
That is why we decided to keep this block at higher precision to preserve stability, while on the other blocks, we explored various quantization configurations, from 8-bit mixed precision to 4-bit quantization, depending on the layers.
In addition, we applied in-house optimization on the different blocks. Results are shown in the below table, referred asoptimized models.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#3-asynchronous-inference-control-aware-scheduling3) Asynchronous Inference: Control-Aware Scheduling
In a synchronous control loop, the pipeline operates as:
- Capture observation
- Run full model inference
- Execute generated action
During step (2), the robot remains idle. If inference latency is non-negligible, this produces:
- Idle gapsin motion
- Oscillatory correctionsdue to stale observations
- Reduced effective control frequency
- Poor recovery behavior
WithAsynchronous Inference, action generation runs in parallel with execution:
- The robot executes the current action chunk
- The next chunk is computed simultaneously
This increases effective control frequency, reduces observation staleness, and improves recovery behavior.
On embedded platforms such as the i.MX 95 SoC, asynchronous inference is essential — but only effective if inference latency is kept under the action horizon budget: inference time < execution time
Synchronous inferenceAsynchronous inferenceActions per chunk100100FPS6060Chunk size thresholdN/A0.2Aggregate functionN/Aweighted_averageAction queue evolution
Results
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#%F0%9F%93%8A-what-we-achieve-on-imx-95-applications-processor📊 What We Achieve on i.MX 95 Applications Processor
Setup
- Tasks:“Grab the tea bag and place it in the mug.”
- **Test set (20 episodes):**2 random positions for each cluster.
- **Validation set (10 episodes):**all 10 positions in cluster n°6
Platform (CPU)PolicyFormatInference LatencyAccuracy Test Set (20)Accuracy Validation Set (10)Global Accuracy (30)i.MX 95ACTONNX FP322.86 s1.000.900.96i.MX 95ACTOptimized0.32 s1.000.600.89i.MX 95SmolVLAONNX FP3229.1 s0.500.400.47
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#%E2%8F%A9-next-steps⏩ Next Steps
Our immediate objective is to improve task accuracy with SmolVLA (ONNX FP32). We have already established a baseline and measured an optimized on-board inference latency of6.15 s.
The next phase will focus on deeper optimizations on our NPUs. In parallel, we aim to move from single-task setup toward longer-horizon and more complex scenarios. To do that, we will introduce:
- Simulation environmentsfor scalable data generation and benchmarking
- **Reinforcement Learning (RL)**for policy refinement
- Sim-to-Real transferto bridge domain gaps and improve real-world performance
The goal is to move from a single validated manipulation task toward a reproducible methodology for deploying VLA policies on embedded robotic systems.
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#%E2%9C%85-checklists-you-can-reuse✅ Checklists You Can Reuse
Recording
- Fixed mounts verified
- Good cameras focus and illumination
- Good gripper claws prehension
- Calibration files backups saved
- Contrast validated
Training
- Save/eval checkpoints every 20k steps
- Save also your training parameters to be able to resume training if needed
- Prepare in advance your validation set and your tracking method for accuracy and latency
Deployment on i.MX 95 SoC
- You are satisfied with your accuracy
- Contact usto have your model optimized
https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms#%F0%9F%93%9A-resources–inspiration📚 Resources & Inspiration
- ACT documentation & paper(core idea, action chunking, low‑demo success).[huggingface.co],[arxiv.org]
- SmolVLM/SmolVLA family & repos(compact multimodal + VLA design).[huggingface.co],[github.com],[smolvla.net]
- Sherry Chen’s HF blogon training ACT on SO‑101 (practical lessons, pitfalls, fixes).[huggingface.co]
Similar Articles
SmolVLA: A Vision-Language-Action Model for Affordable and Efficient Robotics
SmolVLA is a compact vision-language-action model that achieves competitive robotic control performance at reduced computational cost, enabling deployment on consumer-grade hardware. It introduces asynchronous inference and leverages community-collected datasets.
Generalizable VLA Finetuning via Representation Anchoring and Language-Action Alignment
Anchor-Align augments behavioral cloning with vision-language anchoring to preserve pretrained representations and language-action alignment, improving real-robot success rates by over 20% on xArm7 and showing consistent gains in simulation benchmarks.
Just open-sourced FastVLA
FastVLA, an open-source Vision-Language-Action model, now runs 5 Hz robotics on an L4 GPU.
Robots Need More than VLA and World Models
This position paper argues that advancing robot intelligence requires integrating unstructured behavioral data through specialized interfaces for labeling, embodiment mapping, world modeling, and reward inference, rather than relying solely on scaling Vision-Language-Action (VLA) models and world models.
Hy-Embodied-0.5-VLA: From Vision-Language-Action Models to a Real-World Robot Learning Stack
HyVLA-0.5 is an end-to-end robotic learning system that integrates data collection, model design, pre-training, fine-tuning, and reinforcement learning for real-world deployment.




