ODE Policy: Robot Learning via Action Dynamics, Not Actions
Jindou Jia*‡, Jingliang Li*, Kuangji Zuo*, Tuo An*, Yuxuan Hu, Mengfei Zhao, Bofan Lyu, Jiaqi Bai, Daoyuan Zhu, Hengyu Dai, Junpeng Zhang, Jianfei Yang†
MARS Lab, Nanyang Technological University
*Equal contribution ‡Project lead †Corresponding author
Note
ODE policy is still young. It is a first step, and many parts (the field architecture, regularization on small datasets, the gripper and other discrete actions, solvers) are far from settled. Extensions, fixes and new benchmarks are very welcome, through issues or pull requests.
- [2026-11-21] 🦾 ManiSkill3 (8 tasks) and robomimic (4 tasks) added: faster early learning than FM-DiT, level by epoch 50, 5–10× faster inference. Details
- [2026-11-13] 🧩 New default configuration: gripper as a ramped ODE state, better LIBERO-plus zero-shot (51.3% vs 34.3%). Details
- [2026-11-09] ⚡ Euler is now the default solver (5.7 ms per chunk on LIBERO).
policy_config.solver=rk4restores the paper's runs. - [2026-11-03] 📄 Paper on arXiv: 2611.01729.
- [2026-10-28] 🌿 Code released: ODE policy, ten baselines, LIBERO, LIBERO-plus, 2D navigation, and branches for real robots, VLA and RL. Details
Important
main holds the ODE policy, the baselines and the simulation benchmarks.
ImageWAM ODE, real-robot, VLA and RL implementations live on their own branches, each with its own setup and usage guide.
| Code / branch | Setting | Contents | Status |
|---|---|---|---|
main |
🖥️ Sim | ODE policy and imitation-learning baselines, LIBERO, LIBERO-plus, ManiSkill3 and robomimic training and evaluation, and 2D navigation. | ✅ available |
wam-imagewam |
🧠 WAM (Sim) | ImageWAM ODE full training and evaluation on standard LIBERO and LIBERO Plus. Guide: WAM. | ✅ available |
real-g1 |
🦾 Real | GR00T ODE training and Unitree G1 deployment, with SONIC whole-body control and direct dexterous-hand control. Guide: GR00T G1. | ✅ available |
real-r1lite |
🦾 Real | Galaxea R1 Lite, one or two arms in joint space: data conversion, multi-GPU training and a deployment server. Guide: ode_policy/real/. |
✅ available |
vla-pi05 |
🧠 VLA | ODE action head for the π0.5 VLA (openpi), replacing its flow-matching action expert. Guide: vla/pi05_ode/. |
✅ available |
rl-supermimic |
🏃 RL | ODE policy as the actor of SuperMimic (world-model RL, Unitree G1 whole-body motion tracking on LAFAN1), with the PPO baseline. Guide: rl/supermimic_ode/. |
✅ available |
ODE policy learns how the action changes, not the action itself. A direct-action policy predicts each action chunk independently, so the motion jumps where chunks meet. ODE policy replaces only the action head: a neural ODE learns the vector field of the action over the robot's physical time, and every action is integrated from the previous one.
- 🌊 Continuous by construction. Each chunk continues from the end of the previous one, so the executed motion has no jumps, and each action can be sent as soon as it is integrated.
- 📈 Learns within one epoch. Usable after a single pass over the data.
- ⚡ Fast and light. A small vector field integrated in a few steps, as fast as single-pass policies.
- 🔀 Multi-modal. A lightweight diversity head randomizes the direction of the field at the start of a chunk.
- 🤖 One head, many models. A visuomotor policy, the action head of VLAs and world action models, or an RL actor.
Against 14 baselines, in simulation and on four real robots:
- 📈 Learning efficiency. On LIBERO, 79.2% after one epoch, 5.9× flow matching (FM-DiT). It matches FM-DiT with less than half of the demonstrations, and with 1.5M parameters beats the 48M FM-DiT.
- 🧠 At scale. As a randomly initialized head of π0.5 with about 3% of the parameters of its action expert, 96.0% after one epoch against 75.5%. In ImageWAM, 82.6% against 24.6% for the original head.
- ⚡ Execution. 5.7 ms per chunk of 8 actions, 10.8× faster than FM-DiT, with the lowest end-effector jerk.
- 🌐 Generalization and multi-modality. After one epoch, 5.4× the zero-shot success of flow matching on LIBERO-plus and 3.9× its mode balance on a four-route navigation task.
- 🦾 Real robots. Highest success rate on all 18 tasks across single-arm, dual-arm, dexterous-hand and humanoid robots, and mostly smoother than the human demonstrations.
- 🏃 Reinforcement learning. As the actor of SuperMimic, a 30% higher evaluation return after 0.4 hours and still ahead after 3 hours (0.885 against 0.845).
| I want to... | Start here |
|---|---|
| Check the installation in minutes | Quick start: 2D navigation |
| Train and evaluate on LIBERO | LIBERO |
| Train and evaluate on ManiSkill3 or robomimic | ManiSkill3 and robomimic |
| Train ImageWAM ODE and evaluate on LIBERO / LIBERO Plus | WAM guide |
| Train GR00T ODE and deploy it on a Unitree G1 | GR00T G1 guide |
| Reproduce the paper's simulation experiments | docs/REPRODUCE.md |
| Run ODE policy on a Galaxea R1 Lite | real-r1lite: ode_policy/real/ |
| Put an ODE head on the π0.5 VLA | vla-pi05: vla/pi05_ode/ |
| Use ODE policy as an RL actor | rl-supermimic: rl/supermimic_ode/ |
| Bring ODE policy to my own robot or dataset | docs/PORTING.md |
| Read what worked and what did not | docs/METHOD_NOTES.md |
z = E(c, s) # observation c and proprioception s, encoded once per chunk
da/dt = f(a, z) # vector field of the action state a
The action state a is the reference the controller tracks (on LIBERO the virtual target, see
docs/METHOD_NOTES.md). A discrete gripper is one more state, ramped over a few steps in the
data. Every H = 8 steps the policy encodes z and integrates the field with Euler for 8 steps, starting from the
last integrated action, so consecutive chunks join without a jump.
Training. Integrate from the demonstrated action and match the whole path (MSE, backpropagated through the solver). A contractive start perturbation teaches the field to pull drift back. An optional diversity head samples a start direction for multi-modal data and leaves the plain ODE unchanged when off.
| Policy | Name | Action head |
|---|---|---|
| ODE-MLP (ours) | ode |
velocity field = FiLM residual MLP |
| ODE-DiT (ours) | ode_dit |
velocity field = adaLN DiT blocks |
| FM-DiT / FM-UNet | fm_dit / fm_unet |
conditional flow matching |
| A2A-DiT / A2A | a2a_dit / a2a |
flow from the action history |
| DDPM-DiT / DDPM-UNet / DDIM-UNet | ddpm_dit / ddpm_unet / ddim_unet |
diffusion (Diffusion Policy) |
| MARS | mars |
flow matching with a history / noise router |
| ACT | act |
CVAE + transformer decoder |
All share the same observation encoder (ResNet18, 8 frames, frozen CLIP instruction embedding).
Two defaults in ode.yaml changed after the paper:
| Paper | Now | |
|---|---|---|
Proprioception s |
into the vector field | into the observation condition (cond_use_s=true) |
| Discrete gripper | classification head | a ramped ODE state (grip_ode=true, data --grip_ramp 5) |
Fed into the field, proprioception lets the policy copy its own state instead of reading the scene, and a stateless field stalls on demonstrations that pause after a grasp.
| Success % (one seed) | Paper configuration | New default |
|---|---|---|
| LIBERO, four suites, epochs 1 / 5 / 10 / 20 | 79.2 / 95.0 / 92.8 / 93.0 | 75.0 / 91.8 / 92.8 / 92.0 |
| LIBERO-plus, libero_10 zero-shot (epoch 20) | 34.3 | 51.3 |
| ManiSkill3 PickCube, demos that pause after the grasp | 33 (stalls) | 100 |
The paper's configuration: policy_config.field_use_s=true policy_config.cond_use_s=false policy_config.grip_ode=false policy_config.solver=rk4 with ODE_ZARR=data_policy/libero_4suite_50demo_ode_vt.zarr.
Linux, an NVIDIA GPU and conda. One script installs the exact versions behind the paper (Python 3.10, PyTorch 2.5.1
- CUDA 12.1, robosuite 1.4.1, MuJoCo 2.3.5, LIBERO at a pinned commit):
git clone https://github.com/NTUMARS/ODE-POLICY.git && cd ODE-POLICY
bash scripts/setup_env.sh # conda env "ode_policy"; options ENV_NAME, ENV_PREFIX, TORCH_CUDA
conda activate ode_policyA circle agent passes one of four gaps in a wall, all four demonstrated equally often (the paper's multimodality task):
bash scripts/run_nav2d.sh ode # also: fm_dit | a2a_dit | mars; optional 2nd arg: seedIt trains for 20 epochs and reports success, route frequencies and the mode balance γ in
il_outputs/ode_nav2d_s42/nav2d/eval/.
bash scripts/prepare_libero_data.sh # ≈34 GB, 4 suites, 2000 demonstrations
bash scripts/train_libero.sh ode # or any policy name above
bash scripts/eval_libero.sh il_outputs/ode/libero_4suite/checkpoints/100.ckpt # optional 2nd arg: one suiteOne model is trained on all 40 tasks (100 epochs, batch 32) and tested on 10 tasks × 20 episodes per suite. Each
evaluation also records completion time, jerk, smoothness and inference time (__exec__ in the result json).
Tip
To reproduce the paper's experiments, see docs/REPRODUCE.md.
One model per method is trained on all tasks of a benchmark, as on LIBERO.
| ManiSkill3 | robomimic | |
|---|---|---|
| Tasks | 8: PushCube, PickCube, StackCube, PullCube, LiftPegUpright, PlaceSphere, PullCubeTool, StackPyramid | 4: Tool Hang, Square, Can, Lift |
| Demonstrations | 200 per task, motion planning | 200 per task, proficient human |
| Input, action | 128 px base camera, joint state; joint targets | agent-view and wrist cameras at 240 px; end-effector pose |
| ODE setting | gripper state sent as the command (grip_cmd=raw) |
same, plus dropout 0.3 on the field's pose outputs |
| Mean success %, epochs 1 / 5 / 10 / 20 / 50: ODE | 34.1 / 52.8 / 64.8 / 69.6 / 72.5 | 8.2 / 43.8 / 65.5 / 86.8 / 85.8 |
| FM-DiT | 9.4 / 28.4 / 40.5 / 55.0 / 71.1 | 9.3 / 35.0 / 50.2 / 64.2 / 83.3 |
| Inference per chunk, ODE vs FM-DiT | 5.7 vs 55.0 ms | 12.3 vs 68.1 ms |
| End-effector jerk, ODE vs FM-DiT | 4.4 vs 8.2 m/s³ | 4.3 vs 10.6 m/s³ |
One seed, 100 test episodes per task and checkpoint; time and jerk at epoch 50.
# ManiSkill3 (environment: ode_policy/maniskill/README.md)
bash scripts/prepare_maniskill_data.sh
bash scripts/train_maniskill.sh ode # or fm_dit
bash scripts/eval_maniskill.sh il_outputs/ode/ms_8task/checkpoints/50.ckpt
# robomimic
bash scripts/prepare_robomimic_data.sh
bash scripts/train_robomimic.sh ode
bash scripts/eval_robomimic.sh il_outputs/ode/rm4/checkpoints/50.ckptSmall datasets overfit. With 200 demonstrations per task the ODE fits robomimic's training paths almost exactly.
Dropout on the vector field (policy_config.field_dropout=0.3 policy_config.field_dropout_pose=true) fixes this,
e.g. Square 73% → 93% at epoch 100. LIBERO and ManiSkill3 do not need it.
The step that matters is choosing the action state a so that the controller reproduces the demonstration from it.
See docs/PORTING.md, and docs/METHOD_NOTES.md for what did and did not work.
Click to expand
ode_policy/
├── policies/ode/ode_image_policy.py # the ODE policy: vector fields, integration, loss, diversity head
├── policies/{fm,a2a,dp,mars,act}/ # baselines
├── configs/policy_config/ # one yaml per policy
├── libero/ # LIBERO: data conversion, env wrapper, training runner, evaluators
│ ├── build_ode_zarr.py # demonstrations -> virtual-target poses for the ODE policy
│ ├── pose.py # pose representation and the pose -> OSC command tracker
│ ├── eval_ode_policy.py # ODE evaluator
│ ├── libero_eval_runner.py # evaluator for every other policy
│ └── libero_plus_eval_runner.py # LIBERO-plus zero-shot evaluation
├── maniskill/ # ManiSkill3: demo generation, rendering, multi-task set, evaluator
├── robomimic/ # robomimic: rendering, multi-task set, evaluator
├── nav2d/ # 2D multimodal navigation task
├── datasets/ utils/ runners/ # zarr datasets, encoders, normalizers, checkpointing
└── train.py # Hydra training entry point
scripts/ # setup, data, train, eval
docs/ # reproduction guide, porting guide, method notes
The training and policy infrastructure descends from RoboVerse and Diffusion Policy. The ACT baseline builds on ACT (DETR). We thank the authors of LIBERO and LIBERO-plus for the benchmarks and demonstrations.
Apache License 2.0, see LICENSE.
If you find ODE policy useful, please cite:
@article{jia2026ode,
title = {{ODE} Policy: Robot Learning via Action Dynamics, Not Actions},
author = {Jia, Jindou and Li, Jingliang and Zuo, Kuangji and An, Tuo and Hu, Yuxuan and Zhao, Mengfei
and Lyu, Bofan and Bai, Jiaqi and Zhu, Daoyuan and Dai, Hengyu and Zhang, Junpeng and Yang, Jianfei},
journal = {arXiv preprint arXiv:2611.01729},
year = {2026}
}
