AI model
LingBot-VA
By Robbyant, from github.com/Robbyant/lingbot-va (opens in a new tab)
- Humanoids and robot learning
- Apache-2.0 (code)
- Apache-2.0 (weights)
LingBot-VA is an autoregressive video-action world model for robot control that predicts visual dynamics and actions in one interleaved sequence.
Facts
- Code last updated
- 9 Jul 2026Newest commit on main
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Advanced
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE.txt (opens in a new tab) (Apache-2.0) at commit 7c6ffa9 (opens in a new tab), on 16 Oct 2026.
- Weights
- Apache-2.0 (opens in a new tab)
Read on huggingface.co/robbyant/lingbot-va-base (opens in a new tab).
- Commercial use
- Yes
At a glance
- What it is
- Unifies visual dynamics prediction and action inference in a single interleaved autoregressive sequence.
- Uses a dual-stream mixture-of-transformers architecture with asynchronous execution and KV cache for efficiency.
- Provides inference and evaluation on RoboTwin-2.0 and LIBERO through a server-client setup.
- Supports image-to-video-action generation from a single input image.
- Offers post-training code for fine-tuning on custom manipulation datasets in LeRobot format.
- Reports results on RoboTwin 2.0, LIBERO, and six real-world manipulation tasks.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses this model yet.
- Licence
- Apache-2.0 (code); Apache-2.0 (weights). Commercial use: Yes. Where it was read
- Load it
- In the creator's words: The project's website (opens in a new tab)
- Maintenance
- Maintained, last commit on 9 Jul 2026.
Use it
How to load it, in the creator's words: The project's website (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/Robbyant/lingbot-va (opens in a new tab)
- The version Robotheca read7c6ffa9 (opens in a new tab)
- Latest releaseNone published on GitHub
- Model card on Hugging Facehuggingface.co/robbyant/lingbot-va-base (opens in a new tab)
Robotheca never hosts the code or the weights: each link goes to the creator's own page.
The README and the model card
The creator's own README, copied as written: README.md by Robbyant, at commit 7c6ffa9, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
LingBot-VA: Causal World Modeling for Robot Control
(opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab)

Watch this video on GitHub (opens in a new tab)
Table of Contents
π« Meet LingBot-VA! We've built an AR diffusion framework for simultaneous world modeling and action! π€β¨
LingBot-VA has focused on:
- Autoregressive Video-Action World Modeling: Architecturally unifies visual dynamics prediction and action inference within a single interleaved sequence while maintaining their conceptual distinction.
- High-efficiency Execution: A dual-stream mixture-of-transformers(MoT) architecture with Asynchronous Execution and KV Cache.
- Long-Horizon Performance and Generalization: High improvements in sample efficiency, long-horizon success rates, and generalization to novel scenes.
π News
- [2026-04-24] Weights for post-train on LIBERO-LONG released! (IMPORTANT: Ensure that
va_libero_cfg.action_snr_shift,va_libero_cfg.used_action_channel_idsandva_libero_cfg.norm_statinwan_va/configs/va_libero_cfg.py(opens in a new tab) are synchronized with the latest version of the repository.) - [2026-04-08] Post-training and inference code for the LIBERO dataset is now available!
- [2026-02-17] Post-training code and dataset released! Support fine-tuning LingBot-VA on custom robotic manipulation datasets.
- [2026-01-29] Weights and code for shared backbone released! Please stay tuned for our separated version!
π¦ Model Download
- Pretrained Checkpoints for Post-Training
| Model Name | Huggingface Repository | ModelScope Repository | Description |
|---|---|---|---|
| lingbot-va-base Β | π€ robbyant/lingbot-va-base Β (opens in a new tab) | π€ Robbyant/lingbot-va-base Β (opens in a new tab) | LingBot-VA w/ shared backbone |
| lingbot-va-posttrain-robotwin Β | π€ robbyant/lingbot-va-posttrain-robotwin Β (opens in a new tab) | π€ Robbyant/lingbot-va-posttrain-robotwin Β (opens in a new tab) | LingBot-VA-Posttrain-Robotwin w/ shared backbone |
| lingbot-va-posttrain-libero-long Β | π€ robbyant/lingbot-va-posttrain-libero-long Β (opens in a new tab) | π€ Robbyant/lingbot-va-posttrain-libero-long Β (opens in a new tab) | LingBot-VA-Posttrain-LIBERO-LONG w/ shared backbone |
- Post-Training Dataset
| Dataset Name | Huggingface Repository | ModelScope Repository | Description |
|---|---|---|---|
| robotwin-clean-and-aug-lerobot Β | π€ robbyant/robotwin-clean-and-aug-lerobot (opens in a new tab) | π€ Robbyant/robotwin-clean-and-aug-lerobot (opens in a new tab) | Cleaned & augmented RoboTwin dataset in LeRobot format for post-training |
| libero-long-lerobot Β | π€ robbyant/libero-long-lerobot (opens in a new tab) | π€ Robbyant/libero-long-lerobot (opens in a new tab) | LIBERO-Long dataset in LeRobot format for post-training |
π οΈ Quick Start
Installation
Requirements β’ Python == 3.10.16 β’ Pytorch == 2.9.0 β’ CUDA 12.6
pip install torch==2.9.0 torchvision==0.24.0 torchaudio==2.9.0 --index-url https://download.pytorch.org/whl/cu126
pip install websockets einops diffusers==0.36.0 transformers==4.55.2 accelerate msgpack opencv-python matplotlib ftfy easydict
pip install flash-attn --no-build-isolation
β οΈ Important: attn_mode Configuration
You MUST change the
attn_modesetting depending on whether you are training or running inference. Since LingBot-VA is loaded viafrom_pretrained, this parameter is read from the model folder'stransformer/config.json. You need to manually edit this file before launching.
Mode attn_modevalueNotes Training "flex"Required for training. Will not work for inference. Inference / Evaluation "torch"or"flashattn"Required for inference. "flex"will cause errors at eval time.How to change: Open
<your-model-path>/transformer/config.json, find the"attn_mode"field, and set it to the appropriate value.
Deploying LingBot-VA for Inference
LingBot-VA supports both standalone execution and Server-Client architecture which separates the model environment from simulation. By isolating dependencies, the design avoids package clashes and supports distributed inference on GPUs, clusters, and other devices.
Evaluation on RoboTwin-2.0
Preparing the Environment
You can follow the official instructions from the original RoboTwin-2.0 repository:
https://robotwin-platform.github.io/doc/usage/robotwin-install.html (opens in a new tab)
In summary:
-
Install Vulkan dependencies:
sudo apt install libvulkan1 mesa-vulkan-drivers vulkan-tools -
Clone the RoboTwin repository:
git clone https://github.com/RoboTwin-Platform/RoboTwin.git && cd RoboTwin && git checkout 2eeec322 -
Modify
script/requirements.txtwith the following content:transforms3d==0.4.2 sapien==3.0.0b1 scipy==1.10.1 mplib==0.2.1 gymnasium==0.29.1 trimesh==4.4.3 open3d==0.18.0 imageio==2.34.2 pydantic zarr openai huggingface_hub==0.36.2 h5py # For Description Generation azure==4.0.0 azure-ai-inference pyglet<2 wandb moviepy imageio termcolor av matplotlib ffmpeg -
Modify line 8 of
script/_install.sh:pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable" --no-build-isolation -
Install dependencies:
bash script/_install.sh -
Download assets:
bash script/_download_assets.sh
Deploying the Inference Server
# single GPU
bash evaluation/robotwin/launch_server.sh
# multi-GPU
bash evaluation/robotwin/launch_server_multigpus.sh
Executing the Inference Client
# single GPU
task_name="adjust_bottle";
save_root="results/";
bash evaluation/robotwin/launch_client.sh ${save_root} ${task_name}
# multi-GPU
save_root="results/"
task_group_id=0;
bash evaluation/robotwin/launch_client_multigpus.sh ${save_root} ${task_group_id}
Related experiments results will be save in /path/to/your/RoboTwin/${save_root}. Please note that an eval_result folder is also generated. This is a native output from RoboTwin and is identical to the contents in the results folder; it can be safely ignored.
It is important to note that the inference server and client must be deployed on the same machine. For launching multi-GPU client, we padded the original 50 tasks to 56 via duplication and partitioned them into 7 groups to align with the 8-GPU configuration of our inference node. You can specify the task_group_id (0-6) to select a particular group for inference. For detailed grouping configurations, please refer to evaluation/robotwin/launch_client_multigpus.sh.
GPU Memory Requirements: Approximately 24GB VRAM for single-GPU RoboTwin evaluation with offload mode enabled (VAE and text_encoder offloaded to CPU).
Evaluation on LIBERO
Follow the official instructions to install LIBERO, then launch the server and client:
# server
bash evaluation/libero/launch_server.sh
# client
bash evaluation/libero/launch_client.sh
Run Image to Video-Action Generation
We also provide a script for image to video-action generation:
NGPU=1 CONFIG_NAME='robotwin_i2av' bash script/run_launch_va_server_sync.sh
GPU Memory Requirements: Approximately 18GB VRAM for single-GPU i2av inference with offload mode enabled (VAE and text_encoder offloaded to CPU).
Post-Training LingBot-VA
We support post-training (fine-tuning) LingBot-VA on custom robotic manipulation datasets. The training pipeline uses FSDP for distributed training and integrates with LeRobot (opens in a new tab) dataset format.
Additional Dependencies
On top of the base installation, post-training requires:
pip install lerobot==0.3.3 scipy wandb --no-deps
Data Preparation
Download the post-training dataset from HuggingFace:
huggingface-cli download --repo-type dataset robbyant/robotwin-clean-and-aug-lerobot --local-dir /path/to/your/dataset
Custom Dataset Preparation
If you want to fine-tune LingBot-VA on your own robotic manipulation data, follow these steps:
Example Dataset
We provide a converted example dataset based on data from Issue #29 (opens in a new tab). This dataset has been converted into the expected format and is fully supported for training. You can download it to understand the required data structure:
- Download: Example Dataset (opens in a new tab)
This example can serve as a reference for converting your own robotic manipulation data into the proper format.
Data Pipeline Overview
When preparing your custom dataset, the data goes through the following processing pipeline:
- Raw Data β Convert to LeRobot format (with metadata and video files)
- Add Action Segmentation β Add
action_configtoepisodes.jsonl - Extract Latents β Process videos through VAE according to video specifications
- Dataset Loading β Load processed data with proper action dimensions for training
The final data should conform to these specifications:
Action Format:
- Output dimension: 30 dimensions, structured as follows:
- Left arm EEF (end-effector): 7 dimensions
- Right arm EEF (end-effector): 7 dimensions
- Left arm joints: 7 dimensions
- Right arm joints: 7 dimensions
- Left arm gripper: 1 dimension
- Right arm gripper: 1 dimension
- In your dataset class loader, map your robot's action dimensions to this standard 30-dimensional format. Missing dimensions are padded with 0.
Video Format:
- During VAE latent extraction, resize videos to ~256 Γ 256 pixels and downsample to 5-15 fps as a reference (adjust based on your task requirements).
Implementation Steps
Step 1: Convert your data to LeRobot format
Follow the official LeRobot dataset documentation (opens in a new tab) to convert your raw data (e.g., HDF5, video files, etc.) into the standard LeRobot dataset format. Ensure that each episode contains the required observation videos, actions, and metadata.
Step 2: Add action_config field to episodes.jsonl
After converting to LeRobot format, you need to modify the meta/episodes.jsonl file to add an action_config field to each line. This field describes the temporal segmentation and natural language description of the robot's actions within each episode.
Each line in episodes.jsonl should follow this format:
{
"episode_index": 0,
"tasks": ["task description"],
"length": 450,
"action_config": [
{
"start_frame": 0,
"end_frame": 450,
"action_text": "Natural language description of the robot action in this segment.",
}
]
}
start_frame/end_frame: The frame range (0-indexed) of the action segment within the episode.action_text: A natural language description of what the robot does in this segment.
For episodes with a single continuous action, start_frame should be 0 and end_frame should equal the episode length. You can also define multiple segments per episode if your data contains sequential sub-tasks.
Step 3: Extract video latents with Wan2.2 VAE
LingBot-VA operates on video latent representations rather than raw pixels. You need to extract the latent features using the Wan2.2 VAE encoder and place them under the converted LeRobot dataset directory. Please refer to the Wan-Video documentation (opens in a new tab) for instructions on how to run the VAE encoder.
The extracted latent files should be placed under latents/ in your dataset directory, mirroring the structure of videos/:
your_dataset/
βββ videos/
β βββ chunk-000/
β βββ observation.images.cam_high/
β βββ episode_000000.mp4
β βββ ...
βββ latents/
β βββ chunk-000/
β βββ observation.images.cam_high/
β βββ episode_000000_0_450.pth # named as episode_{index}_{start_frame}_{end_frame}.pth
β βββ ...
βββ meta/
βββ episodes.jsonl
Each .pth file is a dictionary containing the following fields:
| Key | Type | Description |
|---|---|---|
latent | Tensor [N, C] (bfloat16) | Flattened VAE latent features (e.g., shape [latent_num_frames * latent_height * latent_width, C]) |
latent_num_frames | int | Number of temporal frames in the latent space |
latent_height | int | Spatial height in the latent space |
latent_width | int | Spatial width in the latent space |
video_num_frames | int | Number of frames in the (sampled) source video |
video_height | int | Original video height in pixels |
video_width | int | Original video width in pixels |
text_emb | Tensor [L, D] (bfloat16) | Text embedding of the action description (encoded by Wan2.2 text encoder) |
text | str | The raw action description text |
frame_ids | list[int] | Sampled frame indices from the original episode (at target fps) |
start_frame | int | Start frame index matching action_config in episodes.jsonl |
end_frame | int | End frame index matching action_config in episodes.jsonl |
fps | int | Target sampling fps used for latent extraction |
ori_fps | int | Original fps of the episode data |
The latent file naming convention episode_{index}_{start_frame}_{end_frame}.pth corresponds to the action_config segments defined in episodes.jsonl. For example, an episode with "start_frame": 0, "end_frame": 450 produces a latent file named episode_000000_0_450.pth.
Training
# RoboTwin
NGPU=8 CONFIG_NAME='robotwin_train' bash script/run_va_posttrain.sh
# LIBERO
NGPU=8 CONFIG_NAME='libero_train' bash script/run_va_posttrain.sh
For better training performance, use a larger global batch size (e.g., 32, 64). If you have limited GPU resources, you can increase gradient_accumulation_steps to achieve a larger effective batch size.
π Performance
We evaluate our model on both simulation benchmarks and real-world scenarios, and achieve state-of-the-art performance.
Simulation Evaluation
- RoboTwin 2.0
We are the first to propel RoboTwin 2.0 metrics performance past the 90+ thresholdοΌ
-
All metrics are reported in percentage (%). Higher values are bolded.
- LIBERO
-
All metrics are reported in percentage (%). Higher values are bolded.
Β
Real-world Deployment
Six manipulation tasks across three categories: longhorizon tasks (Make Breakfast, Pick Screws), precision tasks (Insert Tube, Unpack Delivery), and deformable & articulated object manipulation (Fold Clothes, Fold Pants). Our method achieves state-of-the-art performance on both metrics (Progress Rate and Success Rate) with only 50 trials per task, substantially outperforming strong baseline Ο0.5.
Progress Score (PS): The average score across all trials divided by the maximum possible score, expressed as a percentage:
PS = Average_Progress / Max_Steps Γ 100%
Success Rate (SR): The number of successful trials divided by the total number of trials, expressed as a percentage:
SR = Successful_Trials / N Γ 100%
-
All metrics are reported in percentage (%). Higher values are bolded.
πͺͺ License
This project is released under the Apache License 2.0. See LICENSE (opens in a new tab) file for details.
πCitation
@article{lingbot-va2026,
title={Causal World Modeling for Robot Control},
author={Li, Lin and Zhang, Qihang and Luo, Yiming and Yang, Shuai and Wang, Ruilin and Han, Fei and Yu, Mingrui and Gao, Zelin and Xue, Nan and Zhu, Xing and Shen, Yujun and Xu, Yinghao},
journal={arXiv preprint arXiv:2601.21998},
year={2026}
}
π§© Acknowledgments
This work builds upon several excellent open-source projects:
- Wan-Video (opens in a new tab) - Vision transformer backbone
- MoT (opens in a new tab) - Mixture-of-Transformers architecture
- The broader open-source computer vision and robotics communities
For questions, discussions, or collaborations:
- Issues: Open an issue (opens in a new tab) on GitHub
- Email: Contact Dr. Qihang Zhang (opens in a new tab) (liuhuan.zqh@antgroup.com (opens in a new tab)) or Dr. Lin Li (opens in a new tab) (fengchang.ll@antgroup.com (opens in a new tab))
Robotheca lists AI models as a reference: nothing is hosted or run here, and every fact links to where it was read.