Overview of ReinFlow
releaseReinFlow is a policy gradient framework designed for fine-tuning flow matching policies using online reinforcement learning.
Workflow
- Imitation Learning: Train flow policies using behavior cloning (SFT).
- Reinforcement Learning: Fine-tune the trained policies using ReinFlow.
Key Features
- Flexible Denoising: Supports fine-tuning at any denoising step.
- Model Support: Compatible with 1-Rectified Flow, Shortcut Models, and any policy defined by ODEs.
- Noise Injection Network: Trains a noise injection network end-to-end, making policy probabilities tractable even with very few denoising steps (e.g., 1, 2, or 4 steps).
- Scalability: Capable of scaling to large Vision-Language-Action (VLA) models (up to 3B parameters) via the RLinf infrastructure.
Supported Task Domains
- Legged Locomotion (OpenAI Gym)
- State-based manipulation (Franka Kitchen)
- Visual manipulation (Robomimic, LIBERO, ManiSkill, MetaWorld)