| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Tonghe Zhang$^1$, Chao Yu$^{2,3}$, Sichang Su$^4$, Yu Wang$^2$
$^1$ Carnegie Mellon University $^2$ Tsinghua University $^3$ Beijing Zhongguancun Academy $^4$ University of Texas at Austin
Installation |
Quick Start |
Implementation Details |
Add Dataset/Environment
Debug & Known Issues |
License |
Acknowledgement |
Citation
This is the official implementation of "ReinFlow: Fine-tuning Flow Matching Policy with Online Reinforcement Learning".
If you like our work, it will be wonderful if you give us a star ⭐!
ReinFlow is a flexible policy gradient framework for fine-tuning flow matching policies at any denoising step.
How does it work?
👉 First, train flow policies using imitation learning (behavior cloning).
👉 Then, fine-tune them with online reinforcement learning using ReinFlow!
🧩 Supports:
📈 Empirical Results: ReinFlow achieves strong performance across a variety of robotic tasks:
🧠 Key Innovation: ReinFlow trains a noise injection network end-to-end:
Learn more on our 🔗 project website or check out the arXiv paper.
Please follow the steps in installation/reinflow-setup.md.
To fully reproduce our experiments, please refer to ReproduceExps.md.
To download our training data and reproduce the plots in the paper, please refer to ReproduceFigs.md.
Please refer to Implement.md for descriptions of key hyperparameters of FQL, DPPO, and ReinFlow.
Please refer to Custom.md.
Please refer to KnownIssues.md to see how to resolve errors you encounter.
After training flow policies with RL in multiple benchmarks (OpenAI Gym, Franka Kitchen, Robomimic, LIBERO, ManiSkill, MetaWorld) and scaling model size from 3M to 3B, we discover that these hyperparameters are critical to RL's success, especially in visual manipulation from sparse reward:
Based on community feedback, we have added a limitations section to highlight the shortcomings of our algorithm and note important caveats. We hope this discussion will inspire future research.
This repository is released under the MIT license. See LICENSE. If you use our code, we appreciate it if you paste the license at the beginning of the script.
This repository was developed from multiple open-source projects. Major references include:
We also thank our collaborators from the open-source RL infrastructure project RLinf for their generous support, which enabled scaling ReinFlow to models of up to 3 billion parameters across 320 highly randomized visual manipulation environments with thousands of object-scene-task-pose combinations.
For more references, please refer to Acknowledgement.md.
@misc{zhang2025reinflowfinetuningflowmatching,
title={ReinFlow: Fine-tuning Flow Matching Policy with Online Reinforcement Learning},
author={Tonghe Zhang and Chao Yu and Sichang Su and Yu Wang},
year={2025},
eprint={2505.22094},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2505.22094},
}| Back | FazBrowse Home | New Git URL |