Back to Model List

Xiaomi OneVL – Open-Source Autonomous Driving Model from Xiaomi Embodied Intelligence

Rice
RSS Feed
Xiaomi OneVL – Open-Source Autonomous Driving Model from Xiaomi Embodied Intelligence official screenshot
(Image source: official screenshot)

Executive Summary:

Xiaomi OneVL is an open-source autonomous driving model from Xiaomi's embodied intelligence team—the first framework to unify VLA (vision-language-action), world modeling, and latent-space reasoning i...

1. What Is Xiaomi OneVL

Xiaomi OneVL is an open-source autonomous driving model from Xiaomi's embodied intelligence team—the first framework to unify VLA (vision-language-action), world modeling, and latent-space reasoning in one stack. Dual auxiliary decoders supervise compact latents during training, delivering “think as fast as not thinking, perform better than thinking” in benchmarks. The full model reaches PDM-score 88.84 on NAVSIM at 4.46s latency and leads trajectory-prediction accuracy across NAVSIM, ROADWork, Impromptu, and Alpamayo-R1; an MLP-head regression variant cuts latency to 0.24s (4.16 Hz) for on-vehicle deployment at PDM-score 86.83. Weights and code ship under Apache 2.0 for academic and commercial reuse.

xiaomi-onevl official website screenshot
(Image source: official screenshot)

Technical positioning and domain: End-to-end motion planning with a unified VLA inference frame—scene understanding, language reasoning, and driving actions in one network instead of modular perception-prediction-planning stacks. Latent reasoning fused with a visual world model enables causal reasoning at realtime speeds.

Development background: Built on Qwen3-VL-4B-Instruct with Emu3.5-VisionTokenizer—lightweight, high-performance choices from Xiaomi's AV and robotics work. Motivation: explicit chain-of-thought (CoT) is accurate but too slow for vehicles; direct prediction is fast but opaque. OneVL targets both speed and interpretability via latent CoT.

Core value: Breaks the speed-vs-accuracy tradeoff in driving LLMs. Full-model latent reasoning matches answer-only AR latency (4.46s vs 4.49s on NAVSIM, ~1.5× / 32% faster than explicit autoregressive CoT at 6.58s) while beating explicit CoT on NAVSIM (PDM-score 88.84 vs larger 8B rivals AdaThinkDrive at 86.20 and LaST-VLA at 87.30); the MLP-head variant further cuts latency to 0.24s (PDM-score 86.83), meeting a typical on-vehicle few-Hz budget. Dual language + visual explanations reduce black-box risk.

Technical characteristics: Dual auxiliary decoders (language rebuilds text CoT; vision decoder predicts future frames); three-stage progressive training (trajectory → language → world model alignment); one-step parallel latent prefilling at inference with decoders dropped.

2. Key Features

  • Unified VLA reasoning: Single framework from perception to action—less information loss and pipeline delay vs modular AV stacks.

  • World model forecasting: Predicts +0.5s/+1.0s frames, forcing internalized road geometry and dynamics for safer lane changes and avoidance.

  • Latent CoT: Deep reasoning in compact latents; parallel prefilling at inference matches answer-only AR latency (4.46s on NAVSIM, ~1.5× faster than explicit CoT)—the only latent CoT method reported to beat explicit CoT across all four benchmarks; the MLP-head variant runs at 0.24s @ 4.16 Hz.

  • Dual-decoder training supervision: Language and vision decoders shape latents to encode semantics and physics; decoders removed at deploy time.

  • High-precision trajectories: Qwen3-VL-4B backbone; the full AR model scores NAVSIM PDM 88.84, beating 8B competitors at 4B scale, while an MLP-head regression variant outputs continuous trajectories in a single feed-forward pass (PDM 86.83, 0.24s).

  • Dual interpretability: Natural-language rationales plus predicted future visuals for audit and debug—e.g., “slow because lead vehicle braked.”

3. Use Cases

  • Production L2+/L3 stacks: Replace modular pipelines with unified camera-in → trajectory-out; the MLP-head variant's 0.24s (4.16 Hz) latency meets realtime needs.

  • Complex urban scenes: World-model futures for merge/yield decisions with text rationales for validation.

  • Development audit: Visualize language + predicted frames to catch bad reasoning during sim/log replay.

  • Research forks: Swap backbones, adjust stages, fine-tune for highway fleets under Apache 2.0.

4. How to Use

  1. Environment: Per the official README: Python 3.10+ and a CUDA GPU (≥16 GB VRAM recommended for inference with aux decoders). Core packages: torch 2.10.0, torchvision 0.25.0, transformers 4.57.0 (≥4.57.0 required for Qwen3VLForConditionalGeneration), safetensors, etc. The official example creates a Python 3.12 venv with uv.

  2. Clone and install:

    git clone https://github.com/xiaomi-research/onevl.git
    cd onevl && pip install -r requirements.txt
    

    Activate the virtual environment first; requirements.txt covers the core libraries for model and tokenizer runtime.

  3. Download weights: Grab the pretrained checkpoint from the official Hugging Face collection (xiaomi-research/onevl-models) and note the local path—you pass it to the inference script via --model_path.

  4. Inference: Use the official infer_onevl.py. Trajectory prediction only (fastest, prefill inference):

    python infer_onevl.py \
      --model_path /path/to/OneVL-checkpoint \
      --test_set_path test_data/navsim_test.json \
      --image_base_path "" \
      --output_path output/navsim/results.json \
      --device cuda:0 \
      --num_latent 2 --num_latent_vis 4 \
      --max_new_tokens 1024 --answer_prefix "[" --prefix_k 0
    

    Add --decoder_explain for language explanations (text CoT) and the visual-explanation flags for future-frame tokens. For full test sets, run_infer.sh auto-detects GPUs, shards the set, and runs multi-GPU inference in parallel.

  5. Config (CLI flags): --num_latent sets language latent tokens (official example: 2), --num_latent_vis sets visual latent tokens (official example: 4); latents reuse existing vocabulary tokens with no new special tokens. --c_thought/--max_explain_tokens control language explanations; --c_thought_visual/--max_visual_tokens control visual explanations. The visual aux decoder uses the Emu3.5 IBQ tokenizer (131,072-code codebook); images are resized to at most 512×512.

  6. Notes: First run downloads Qwen3-VL-4B—set HF_ENDPOINT if needed. All three training stages are mandatory: the paper's ablation shows direct end-to-end joint fine-tuning (skipping staged training) drops NAVSIM PDM-score from 88.84 to 67.13 (−21.71). Batch size 1 for minimum latency; training code lives in the official OneVL_training repo.

5. Pros and Cons

Pros
Speed + accuracy: 0.24s latent reasoning beats explicit CoT quality—rare balance in AV LLMs.
Unified VLA + world model + latent CoT: Strong architectural novelty with causal forecasting built in.
Dual interpretability: Language + visual futures for safety audit.
4B SOTA-class metrics: Beats 8B rivals on NAVSIM—lower deploy cost.
Apache 2.0 open weights/code: Commercial-friendly.

6. Comparison with Similar Tools

Dimension Xiaomi OneVL EMMA (Waymo) UniAD
Org Xiaomi embodied AI Waymo (Google) Shanghai AI Lab (OpenDriveLab)
Focus VLA + world model + latent reasoning End-to-end multimodal generalist Unified detection/track/plan
Backbone Qwen3-VL-4B (4B) Gemini (multimodal foundation model) ResNet-50/101/VoVNet-99 encoder (S/B/L sizes)
Architecture Latent reasoning + dual aux decoders Text VQA style Multi-task joint training
Latency Full model 4.46s; MLP-head variant 0.24s (4.16 Hz) Autoregressive text generation 555.6ms (1.8 FPS, measured on A100)
World model Predicts +0.5s/+1.0s frames None explicit None explicit
Explainability Language + visual futures Text CoT + grounding Multi-task viz
Sensors Camera Camera Camera
Open source Apache 2.0 full stack Closed Apache 2.0
Benchmarks NAVSIM PDM 88.84 (4B) SOTA nuScenes motion planning (per paper) nuScenes avg planning L2 1.03m, avg collision 0.31%

Selection advice: Production teams wanting realtime + interpretability → OneVL (MLP-head variant: 0.24s, 4.16 Hz). Need the fastest pure-vision planning on nuScenes → VAD-Tiny (16.8 FPS on RTX 3090), though it offers no language explanations or future-scene prediction. Research on latent reasoning/world models → OneVL's open code. EMMA is reference-only (no public code or weights, autoregressive text generation).

7. Editor's Review

OneVL is among the most innovative open AV LLM releases lately—unifying VLA, world modeling, and latent CoT with evidence that latent beats explicit CoT without sacrificing latency. That matters for an industry stuck choosing fast opaque planners vs slow explainable ones.

Apache 2.0 and 4B scale lower the bar vs closed giants like EMMA; the official recommendation of a CUDA GPU with ≥16 GB VRAM for aux-decoder inference keeps the entry cost modest. Dual explanations help move AV toward auditable decisions.

Fit: AV engineers, researchers, integrators—not beginners. The three-stage training is finicky (skipping it costs 21.71 PDM points); camera-only sensing is a real limit in adverse weather.

Future: sensor expansion, faster optimizers beyond the 0.24s MLP-head variant, better long-tail data—likely aligned with Xiaomi's broader intelligent driving roadmap.

— Innovation 5/5, utility 4.5/5, performance 4.5/5, ecosystem 4/5.

8. FAQ

Q: Consumer GPUs?
A: The official README recommends a CUDA GPU with ≥16 GB VRAM for inference with aux decoders, so a 24 GB RTX 3090 meets the official bar. On smaller-VRAM cards, start with trajectory-only prefill mode (lowest cost) and validate on your target hardware before committing to a deployment plan.

Q: Skip a training stage?
A: Don't—each stage is required. The paper's ablation shows direct end-to-end joint fine-tuning (skipping staged training) drops NAVSIM PDM-score from 88.84 to 67.13 (−21.71); removing the visual aux decoder costs 0.87 points (87.97) and removing the language aux decoder costs 0.31.

Q: vs EMMA?
A: OneVL matches answer-only AR latency (4.46s on NAVSIM) with a 0.24s MLP-head variant, is fully open under Apache 2.0, and its 4B model scores NAVSIM PDM 88.84—beating 8B rivals. EMMA reaches SOTA on nuScenes motion planning and may generalize broader tasks via Gemini-scale pretraining, but ships no public code or weights.

Q: LiDAR/radar?
A: Not in current release—camera-only via the Emu3.5 vision tokenizer. Perception may degrade in rain/fog/night; test thoroughly in your target conditions before deployment.

Q: Long-tail robustness?
A: Augment/simulate rare scenes; fine-tune on target geography; test heavily before deploy.

Q: 0.24s measured how?
A: 0.24s (4.16 Hz) is the MLP-head regression variant in the paper's Table 8 (PDM-score 86.83)—5.4% of the full AR model's 4.46s latency; the full OneVL model (88.84) runs at 4.46s. Your hardware, resolution, and latent count will shift results—benchmark your target GPU.

9. Project Links

© All Rights Reserved. Some content on this site is partially generated by AI with human review.