AI model
villa-X
By Microsoft, United States (checked on github.com/microsoft (opens in a new tab)), from github.com/microsoft/villa-x (opens in a new tab)
- Humanoids and robot learning
- MIT (code)
- MIT (weights)
A vision-language-latent-action model for robots, from Microsoft Research, that learns latent actions from video and uses them to predict future frames. Released so far: the latent action model.
Facts
- Code last updated
- 16 Sept 2026Newest commit on main
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
Checked on GitHub on 22 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 9b44899 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Learns latent action tokens aligned with robot states and actions by adding an extra proprio forward dynamics model.
- Jointly trains a latent action expert and a robot action expert through joint diffusion in the policy model.
- Extracts latent actions from a video with the pre-trained latent action model and reconstructs future frames from them.
- Ships a pre-trained latent action model of 955M parameters on Hugging Face, with inference code and a Jupyter notebook demo.
- The actor model is not yet released; it is listed as pending in the release plan.
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
- MIT (code); MIT (weights). Commercial use: Yes. Where it was read
- Load it
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 16 Sept 2026.
Use it
How to load it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/microsoft/villa-x (opens in a new tab)
- The version Robotheca read9b44899 (opens in a new tab)
- Latest releaseNone published on GitHub
- Model card on Hugging Facehuggingface.co/microsoft/villa-x (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 Microsoft, at commit 9b44899, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here

villa-X: A Vision-Language-Latent-Action Model
(opens in a new tab) (opens in a new tab) (opens in a new tab)
This is the official repository for villa-X: Enhancing Latent Action Modeling in Vision-Language-Action Models (opens in a new tab).
📖 Overview

-
We improve latent action learning by introducing an extra proprio FDM, which aligns latent tokens with underlying robot states and actions and grounds them in physical dynamics.
-
We propose to jointly learn a latent action expert and a robot action expert through joint diffusion in the policy model, conditioning robot action prediction on latent actions to fully exploit their potential.
-
Our method demonstrates superior performance on simulated environments as well as on real-world robotic tasks. The latent action expert can effectively plan into future with both visual and proprio state planning.
🔥 News
- 2025/08/01: Initial release of the paper, project website, pre-trained Latent Action Model (LAM), and LAM inference code.
📋 Release plan
- Latent Action Model
- Actor Model
🔧 Setup
- Clone the repository.
git clone https://github.com/microsoft/villa-x.git
cd villa-x
- Install the required packages.
sudo apt-get install -y build-essential zlib1g-dev libffi-dev libssl-dev libbz2-dev libreadline-dev libsqlite3-dev liblzma-dev libncurses-dev tk-dev python3-dev ffmpeg -y
curl -LsSf https://astral.sh/uv/install.sh | sh # Skip this step if you already have uv installed
uv sync
➡️ Getting Started
Inference with Pre-trained Latent Action Model
-
Download the pre-trained models from Hugging Face (opens in a new tab).
-
Load the latent action model.
from lam import IgorModel
lam = IgorModel.from_pretrained("LOCAL_MODEL_DIRECTORY").cuda()
- Extract the latent actions from a video.
def read_video(fp: str):
from torchvision.io import read_video
video, *_ = read_video(fp, pts_unit="sec")
return video
video = read_video("path/to/video.mp4").cuda() # Load your video here
latent_action = lam.idm(video)
- Use image FDM to reconstruct future frames from the latent actions.
frames = []
for i in range(len(latent_action[0])):
pred = lam.apply_latent_action(video[i], latent_action[0][i])
frames.append(pred)
We also provide a Jupyter notebook (opens in a new tab) for a step-by-step guide on how to use the pre-trained latent action model.
🤗 Pre-trained Models
| Model ID | Description | Params | Link |
|---|---|---|---|
microsoft/villa-x/lam | Latent action model | 955M | 🤗 Link (opens in a new tab) |
📑 BibTeX
@article{chen2025villa0x0,
title = {villa-X: Enhancing Latent Action Modeling in Vision-Language-Action Models},
author = {Xiaoyu Chen and Hangxing Wei and Pushi Zhang and Chuheng Zhang and Kaixin Wang and Yanjiang Guo and Rushuai Yang and Yucen Wang and Xinquan Xiao and Li Zhao and Jianyu Chen and Jiang Bian},
year = {2025},
journal = {arXiv preprint arXiv: 2507.23682}
}
Credits
We are grateful for the open-source projects like Open Sora (opens in a new tab), taming-transformers (opens in a new tab), open-pi-zero (opens in a new tab), MAE (opens in a new tab) and timm (opens in a new tab). Their contributions have been invaluable in the development of villa-X.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com (opens in a new tab).
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct (opens in a new tab). For more information see the Code of Conduct FAQ (opens in a new tab) or contact opencode@microsoft.com (opens in a new tab) with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines (opens in a new tab). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
Privacy Notice
This code does not collect, store, or transmit any user data. For details on how Microsoft handles privacy more broadly, please refer to Microsoft Privacy Statement (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.