Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RxBrain: Embodied Cognition Foundation Model with Joint Language-Visual Reasoning and Imagination

Tencent Robotics X  ×  Futian Laboratory  ×  Tencent Hy Team

arXiv Model Project Page Demo License

RxBrain — capability overview

demo.mp4

📌 Introduction

RxBrain (Hy-Embodied-RxBrain-1.0) is a unified multimodal foundation model for embodied cognition — one model that delivers three core capabilities:

  • 🤖 Embodied Understanding & Reasoning — question answering and chain-of-thought over images and multi-frame video.
  • 🔮 World State Prediction — imagine the near-future frames an action produces in the physical world.
  • 🧩 Joint Subgoal Planning — decompose a task into steps, emitting for each step both the next action (language) and the goal image it should reach (vision).

📰 News

  • [2026-07] 🚀 We release the fine-tuning code for VQA, Multi Frames Generation and Interleave Generation — see train/.
  • [2026-07] 🎉 We release Hy-Embodied-RxBrain-1.0 — the technical report, inference code and model weights.

📋 TODO

  • Open-source RxBrain-Bench, a comprehensive benchmark for embodied cognition.
  • Open-source the fine-tuning code for Visual Question Answering (VQA), Multi Frames Generation, and Interleave Generation — see train/.
  • Release the technical report, inference code, and model weights.

🚀 Quick Start

1. Environment

git clone https://github.com/Tencent-Hunyuan/Hy-Embodied-RxBrain-1.0.git
cd Hy-Embodied-RxBrain-1.0
pip install -r requirements.txt

Requirements: Python 3.10+, a CUDA GPU (for flash-attn).

Repository layout:

model/        UnifiedMoT model definition (3 streams: text / vision / generation)
vae_model/    FLUX VAE autoencoder loader
inference/    inference entry points  — T2I, multi-frame, VQA, interleaved planning
train/        fine-tuning pipeline    — see train/README.md
demo_cases/   bundled scenes for the interleaved-planning demo

model/ and vae_model/ are shared by both inference/ and train/, so a checkpoint you fine-tune runs with the inference scripts unchanged.

2. Download weights

Model Params Download
Hy-Embodied-RxBrain-1.0 ~6.2 B 🤗 tencent/Hy-Embodied-RxBrain-1.0
FLUX VAE (ae.safetensors) 83.8 M Obtain from the FLUX distribution

3. Run inference

① Text-to-Image (T2I)
python inference/text2image.py \
    --ckpt ./ckpts/rxbrain --vae /path/to/ae.safetensors \
    --prompt "a watercolor painting of a cat" \
    --height 256 --width 256 --num_steps 25 --out out.png

# with classifier-free guidance
python inference/text2image.py \
    --ckpt ./ckpts/rxbrain --vae /path/to/ae.safetensors \
    --prompt "a watercolor painting of a cat" \
    --cfg_scale 5.0 --num_steps 50 --out out.png
② Multi-Frame World-Model Rollout (4 future frames from an observation)
python inference/multiframe.py \
    --ckpt ./ckpts/rxbrain --vae /path/to/ae.safetensors \
    --frames /path/to/obs.jpg --task "imagine the next frames" \
    --num_frames 4 --num_steps 50 --out_dir multiframe_out
③ Visual Question Answering (VQA) (image(s) + question → answer text)
python inference/vqa.py \
    --ckpt ./ckpts/rxbrain \
    --images demo_cases/bridgev2_move_toy/input/obs_1.jpg \
    --question "What objects are on the stovetop, and where is the green toy?" \
    --max_new_tokens 256
④ Run an Interleaved Embodied Planning on demo cases

Runs interleaved planning on a bundled scene. See demo_cases/README.md for more details.

CASE=umi_fold_sock
python inference/interleave.py \
    --ckpt ./ckpts/rxbrain --vae /path/to/ae.safetensors \
    --frames  demo_cases/$CASE/input/*.jpg \
    --task    "$(cat demo_cases/$CASE/prompt.txt)" \
    --max_frames 5 --num_steps 50 --out_dir out_$CASE

4. Fine-tune

Fine-tuning covers VQA / understanding, multi frames generation and interleave generation — See full instructions, data formats and config reference in train/README.md.


📄 License

Released under Apache License 2.0. See LICENSE for details.

📝 Citation

If you find RxBrain useful in your research, please consider citing our work:

@article{liang2026rxbrain,
  title={RxBrain: Embodied Cognition Foundation Model with Joint Language-Visual Reasoning and Imagination},
  author={Liang, Haotian and Chen, Mingkang and Huang, Yufei and Guo, Yuchun and Zhu, Xiaomeng and Shi, Xiangli and Wang, Kaixuan and Mao, Yunxuan and Zhou, Weijie and Chen, Ling and others},
  journal={arXiv preprint arXiv:2607.14187},
  year={2026}
}

About

RxBrain: Embodied Cognition Foundation Model with Joint Language-Visual Reasoning and Imagination

Resources

Stars

125 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages