Skip to content
microsoftPublic

About

Official implementation of CogACT2, a simple VLA model for generalist robot manipulation.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

CogACT2:
Pretraining Simple Vision-Language-Action Models
for Strong and Generalizable Robotic Manipulation

arXiv Project Page Hugging Face Model License: MIT

CogACT2 overview: training data, model architecture, and benchmark results.

CogACT2 is a deliberately simple VLA model for generalist robot manipulation. Our model combines a vision-language model with an action transformer and contains only 2.4B total parameters. We curate heterogeneous robot demonstrations and unify their actions in camera space through robust calibration. To extend supervision, we introduce ImageAct, which uses scene geometry to convert still images into robot motion targets. Despite its simplicity and compact size, our model outperforms a broad range of state-of-the-art models on diverse simulation benchmarks and achieves strong performance across three real robots on bimanual manipulation and dexterous hand tasks. Comprehensive analysis demonstrates the effectiveness of ImageAct and identifies key training and inference choices that contribute to strong VLA performance. These results demonstrate that simple VLA architectures can achieve strong generalist manipulation capabilities through scalable supervision and effective pretraining.


🚩 News

  • [2026-11-26] 🚀 Released core codebase, fine-tuned models, and evaluation pipelines.

⏳ Planned Releases

  • Core codebase, fine-tuned models, and evaluation pipelines.
  • Pretrained model and fine-tuning code. [2026-12]
  • ImageAct code and data.
  • Robot camera calibration data and scripts.

📑 Contents


1. Installation

On Linux with Conda and an NVIDIA GPU, install the model and its cogact-infer command.

git clone https://github.com/microsoft/cogact2.git
cd cogact2
conda create -n cogact2 python=3.10 -y
conda activate cogact2
python -m pip install -e .

Acceleration (optional)

FlashAttention

The server uses PyTorch SDPA by default. To use FlashAttention, install a version compatible with your GPU, PyTorch and CUDA environment and pass --attn-backend fa4 or --attn-backend fa2.

Qwen3.5 kernels

Qwen3.5 can use causal-conv1d and flash-linear-attention for its fast path.

pip install flash-linear-attention==0.6.0
MAX_JOBS=8 pip install causal-conv1d==1.7.0 --no-build-isolation

2. Inference

cogact-infer serves a local checkpoint or a Hugging Face model over HTTP. It takes a task instruction, camera images and robot state and returns a sequence of actions. To try it on one GPU, start the server with the released LIBERO checkpoint.

CUDA_VISIBLE_DEVICES=0 cogact-infer \
  --checkpoint microsoft/CogACT2-LIBERO --arms right \
  --image-types IMAGE_HISTORY_HEAD IMAGE_HISTORY_RIGHT IMAGE_HEAD IMAGE_RIGHT \
  --cfg-scale 1.5 --cfg-baseline visual_only

In a second terminal at the repository root, send the recorded observation. The response contains 16 right-arm targets.

gzip -dc benchmarks/libero/sample_observation.json.gz | \
  curl -fsS http://127.0.0.1:5600/infer -H 'Content-Type: application/json' --data-binary @-

For your own robot, match the arms and camera order to your checkpoint. The server selects the sole robot configuration automatically. If the checkpoint contains several, select one with --dataset-class NAME. For checkpoint files, request fields and action shapes, see the Inference API reference.


3. Benchmark Evaluation

Pass a Hugging Face model ID, its model page URL, or a local checkpoint directory to benchmarks/run.sh with --checkpoint.

Hugging Face checkpoint Benchmarks
microsoft/CogACT2-LIBERO LIBERO, LIBERO-Pro, LIBERO-plus
microsoft/CogACT2-RoboTwin-CleanRandom RoboTwin, RoboTwin-Instr
microsoft/CogACT2-RoboTwin-Clean RoboTwin
microsoft/CogACT2-RoboDojo RoboDojo

For environment setup, evaluation commands, and scoring, see the benchmark evaluation guide.


Citation

@article{liang2026cogact2,
  title={CogACT2: Pretraining Simple Vision-Language-Action Models for Strong and Generalizable Robotic Manipulation},
  author={Yaobo Liang and Lin Luo and Chengtang Yao and Zhenhua Liu and Xi Chen and Sicheng Xu and Xingyuming Liu and Qingwen Yang and Huizhi Liang and Lingyu Kong and Zili Lin and Huanshuo Dong and Zhiyan Zhang and Qixiu Li and ZhiYuan Feng and Yuchen Lin and Yizhong Zhang and Hao Chen and Lijun Sun and Chenren Xu and Ziqing GU and Xin Jin and Baining Guo and Jiaolong Yang},
  journal={},
  year={2026}
}

License

This project is licensed under the MIT License; see LICENCE.txt. Third-party components retain their respective licenses; see THIRD_PARTY_NOTICES.md.

About

Official implementation of CogACT2, a simple VLA model for generalist robot manipulation.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages