AI model
Reactive Diffusion Policy
From github.com/xiaoxiaoxh/reactive_diffusion_policy (opens in a new tab)
- Humanoids and robot learning
- Apache-2.0 (code)
- MIT (weights)
A slow-fast visual-tactile policy learning system for contact-rich robot manipulation, built on diffusion policies and tested on bimanual real robots.
Facts
- Code last updated
- 12 Apr 2026Newest commit on main
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Advanced
- Hardware it needs, as the project states it
- A workstation running Ubuntu 22.04 with a GPU (e.g., NVIDIA RTX 3090), plus a Meta Quest 3 headset, 2 robot arms (Flexiv Rizon 4 by default, or Franka Research 3), 1-3 RealSense cameras, and optional GelSight Mini tactile sensors; a high-performance CPU (e.g., Core i9-13900K) is required for 24 FPS
Checked on GitHub on 21 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 824c5e8 (opens in a new tab), on 16 Oct 2026.
- Weights
- MIT (opens in a new tab)
Read on huggingface.co/WendiChen/reactive_diffusion_policy_model (opens in a new tab).
- Commercial use
- Yes
At a glance
- What it is
- Learns robot manipulation policies that combine visual and tactile sensing for contact-rich tasks.
- Includes data collection tooling built around a Meta Quest 3 teleoperation app and ROS2 services.
- Provides post-processing that converts recorded data into Zarr format for training.
- Offers training scripts for Diffusion Policy and Reactive Diffusion Policy with configurable control frequencies.
- Supports inference by running teleoperation, camera launcher and evaluation services in separate terminals.
- Extends to Franka Research 3 arms and single-arm teleoperation, with a guide for customized sensors and robots.
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); MIT (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 12 Apr 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/xiaoxiaoxh/reactive_diffusion_policy (opens in a new tab)
- The version Robotheca read824c5e8 (opens in a new tab)
- Latest releaseNone published on GitHub
- Model card on Hugging Facehuggingface.co/WendiChen/reactive_diffusion_policy_model (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 @xiaoxiaoxh, at commit 824c5e8, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
Reactive Diffuison Policy:
Slow-Fast Visual-Tactile Policy Learning for Contact-Rich Manipulation
RSS 2025
Best Student Paper Award Finalist
Han Xue (opens in a new tab)2*, Jieji Ren2*, Wendi Chen (opens in a new tab)12*,
Gu Zhang (opens in a new tab)345†, Yuan Fang2†, Guoying Gu (opens in a new tab)2, Huazhe Xu (opens in a new tab)345‡, Cewu Lu (opens in a new tab)12‡
<sup>1</sup>Shanghai Innovation Institute
<sup>2</sup>Shanghai Jiao Tong University
<sup>3</sup>Tsinghua University, IIIS
<sup>4</sup>Shanghai Qi Zhi Institute
<sup>5</sup>Shanghai AI Lab
<sup>*</sup>Equal contribution
<sup>†</sup>Equal contribution
<sup>‡</sup>Equal advising

News
- The code (opens in a new tab) of ImplicitRDP (opens in a new tab) has been open-sourced, feel free to explore it and give it a try (opens in a new tab)! 🚀
- We propose ImplicitRDP (opens in a new tab), an end-to-end version of RDP with a streamlined and simplified training pipeline — go check it out (opens in a new tab)! 🚀
TODO
- Release the code of TactAR and Quest3 APP (opens in a new tab).
- Release the code of RDP.
- Release the data (opens in a new tab).
- Release the checkpoints (opens in a new tab).
- Add guide for customized tasks, tactile / force sensors and robots (opens in a new tab).
- Add guide for creating the tactile dataset and the tactile embedding (opens in a new tab).
- Support more robots (e.g. Franka) and single-arm teleoperation.
⚙️ Environment Setup
📝 Use Customized Tactile / Force Sensors, Robots and Customized Tasks
Please refer to docs/customized_deployment_guide.md (opens in a new tab).
Hardware
Device List
- Meta Quest 3 VR headset.
- Workstation with Ubuntu 22.04 for compatibility with ROS2 Humble.
A workstation with a GPU (e.g., NVIDIA RTX 3090) is required. If GelSight Mini is used, a high-performance CPU (e.g., Core i9-13900K) is required to ensure 24 FPS tactile sensing.
- 2 robot arms with (optional) joint torque sensors.
We use Flexiv Rizon 4 (opens in a new tab) with the GRAV (opens in a new tab) gripper by default. We also support Franka Research 3 (opens in a new tab) with Frankahand (opens in a new tab) for teleoperation and policy rollout. We now support single-arm robot.
- 1-3 RealSense (opens in a new tab) cameras.
We use D435 for wrist camera and D415 for external cameras. Follow the official document (opens in a new tab) to install librealsense2. Download the CAD model (opens in a new tab) (redesigned, not the paper version) and 3D print the mount to attach the camera to the robot arm.
- (Optional) 1-2 GelSight Mini (opens in a new tab) tactile sensors with tracking marker gel (opens in a new tab).
We use 1 sensor for each robot arm. Download the CAD model (opens in a new tab) and 3D print the mount to attach the sensor to the GRAV gripper.
Software
Quest 3 Setup
Build and install the TactAR APP on the Quest 3 according to the README in our Unity Repo (opens in a new tab).
You can also adopt other Teleoperation system with force feedback.
Workstation Setup
-
Follow the official document (opens in a new tab) to install ROS2 Humble.
-
Since ROS2 has some compatibility issues with Conda, we recommend using a virtual environment with
venv.python3 -m venv rdp_venv source rdp_venv/bin/activate pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117 pip install -r requirements.txt -
(Optional) If you want to experiment on Franka, you can refer to docs/franka_setup_instructions.md (opens in a new tab) for configuration.
-
(Optional) Follow third_party/mvsdk/README.md (opens in a new tab) to install MindVision SDK. This package is needed only if you want to record experiment videos with MindVision cameras.
📦 Data Collection
TactAR Setup
- For the workstation,
the environment and the task have to be configured first and
then start several services for teleoperating robots, publishing sensor data and record the data.
- Environment and Task Configuration.
- Calibration.
Example calibration files are proviced in data/calibration (opens in a new tab).
Each
A_to_B_transform.jsoncontains the transformation from coordinate system A to coordinate system B.We use calibration files only for bimanual manipulation.
- Environment Configuration.
Edit reactive_diffusion_policy/config/task/real_robot_env.yaml (opens in a new tab)
to configure the environment settings including
host_ip,robot_ip,vr_server_ipandcalibration_path. - Task Configuration. Create task config file which assigns the camera and sensor to use. You can take reactive_diffusion_policy/config/task/real_peel_two_realsense_one_gelsight_one_mctac_24fps.yaml (opens in a new tab) as an example. Refer to docs/customized_deployment_guide.md (opens in a new tab) for more details.
- Calibration.
Example calibration files are proviced in data/calibration (opens in a new tab).
Each
- Start services. Run each command in a separate terminal.
You can use tmux to split the terminal.
# start teleoperation server python teleop.py task=[task_config_file_name] # start camera node launcher python camera_node_launcher.py task=[task_config_file_name] # start data recorder python record_data.py --save_to_disk --save_file_dir [task_data_dir] --save_file_name [record_seq_file_name]
- Environment and Task Configuration.
- For Quest 3, follow the user guide in our Unity Repo (opens in a new tab) to run the TactAR APP.
(Important) Data Collection Tips
Please refer to docs/data_collection_tips.md (opens in a new tab).
Example Data
We provide the data we collected on (opens in a new tab).
Generate your own tactile embedding
Please refer to the tactile embedding guide (opens in a new tab) for collecting your own tactile dataset and generate tactile embedding based on this dataset. You can also directly use our pre-calculated PCA transformation matrix for tactile embedding in data/PCA_Transform_GelSight (opens in a new tab).
Data Postprocessing
Change the config in post_process_data.py (opens in a new tab)
(including TAG, ACTION_DIM, TEMPORAL_DOWNSAMPLE_RATIO and SENSOR_MODE)
and execute the command
python post_process_data.py
We use Zarr (opens in a new tab) to store the data. After postprocessing, you may see the following structure:
├── action (25710, 4) float32
├── external_img (25710, 240, 320, 3) uint8
├── left_gripper1_img (25710, 240, 320, 3) uint8
├── left_gripper1_initial_marker (25710, 63, 2) float32
├── left_gripper1_marker_offset (25710, 63, 2) float32
├── left_gripper1_marker_offset_emb (25710, 15) float32
├── left_gripper2_img (25710, 240, 320, 3) uint8
├── left_gripper2_initial_marker (25710, 25, 2) float32
├── left_gripper2_marker_offset (25710, 25, 2) float32
├── left_gripper2_marker_offset_emb (25710, 15) float32
├── left_robot_gripper_force (25710, 1) float32
├── left_robot_gripper_width (25710, 1) float32
├── left_robot_tcp_pose (25710, 9) float32
├── left_robot_tcp_vel (25710, 6) float32
├── left_robot_tcp_wrench (25710, 6) float32
├── left_wrist_img (25710, 240, 320, 3) uint8
├── right_robot_gripper_force (25710, 1) float32
├── right_robot_gripper_width (25710, 1) float32
├── right_robot_tcp_pose (25710, 9) float32
├── right_robot_tcp_vel (25710, 6) float32
├── right_robot_tcp_wrench (25710, 6) float32
├── target (25710, 4) float32
└── timestamp (25710,) float32
You can also use your own data collection system to collect data and convert it to the same zarr format as ours.
📚 Training
- Task Configuration.
In addition to the task config file used in data collection,
another file is needed to configure dataset, runner, and model-related parameters such as
obsandaction. You can take reactive_diffusion_policy/config/task/real_peel_image_dp_absolute_12fps.yaml (opens in a new tab) as an example. Refer to docs/customized_deployment_guide.md (opens in a new tab) for more details.The
dp,atandldpin the config file name indicate the Diffusion policy, Asymmetric Tokenizer and Latent Diffusion Policy. - Generate Dataset with Correct Frequency.
The
fpsat the end of config file name indicates the control frequency. Make sure thecontrol_fpsin the task config file is consistent with dataset. For instance, we record 24fps data and want to train a model with 12fps control frequency, then we have to modify theTEMPORAL_DOWNSAMPLE_RATIOin post_process_data.py (opens in a new tab) to 2 to generate the correct dataset.We record 24fps data for experiments. We train DP with 12fps control frequency and RDP (AT + LDP) with 24fps control frequency.
- Run the Training Script.
We provide training scripts for Diffusion Policy and Reactive Diffusion Policy.
You can modify the training script to train the desired task and model.
# config multi-gpu training accelerate config # Diffusion Policy ./train_dp.sh # Reactive Diffusion Policy ./train_rdp.sh
🚀 Inference
- (Optional) Refer to
vcamera_server_ipandvcamera_server_portin the task config file and start the corresponding vcamera server# run vcamera server python vcamera_server.py --host_ip [host_ip] --port [port] --camera_id [camera_id] - Modify eval.sh (opens in a new tab) to set the task and model you want to evaluate
and run the command in separate terminals.
# start teleoperation server python teleop.py task=[task_config_file_name] # start camera node launcher python camera_node_launcher.py task=[task_config_file_name] # start inference ./eval.sh
Checkpoints
We provide the checkpoints in our experiments on (opens in a new tab).
❔ Q&A
Please refer to docs/Q&A.md (opens in a new tab).
🙏 Acknowledgement
Our work is built upon Diffusion Policy (opens in a new tab), VQ-BeT (opens in a new tab), Stable Diffusion (opens in a new tab), UMI (opens in a new tab) and Data Scaling Laws (opens in a new tab). Thanks for their great work!
🔗 Citation
If you find our work useful, please consider citing:
@inproceedings{xue2025reactive,
title = {Reactive Diffusion Policy: Slow-Fast Visual-Tactile Policy Learning for Contact-Rich Manipulation},
author = {Xue, Han and Ren, Jieji and Chen, Wendi and Zhang, Gu and Fang, Yuan and Gu, Guoying and Xu, Huazhe and Lu, Cewu},
booktitle = {Proceedings of Robotics: Science and Systems (RSS)},
year = {2025}
}
@article{chen2025implicitrdp,
title = {ImplicitRDP: An End-to-End Visual-Force Diffusion Policy with Structural Slow-Fast Learning},
author = {Chen, Wendi and Xue, Han and Wang, Yi and Zhou, Fangyuan and Lv, Jun and Jin, Yang and Tang, Shirun and Wen, Chuan and Lu, Cewu},
journal = {arXiv preprint arXiv:2512.10946},
year = {2025}
}
Robotheca lists AI models as a reference: nothing is hosted or run here, and every fact links to where it was read.