ReinFlow: Fine-tuning Flow Matching Policy with Online Reinforcement Learning

Tonghe Zhang, Chao Yu, Sichang Su, Yu Wang

arXiv:2505.22094 · 2026-07-27 공개 · arXiv · PDF

reinforcement-learning flow-matching rectified-flow online-learning robotic-control diffusion-rl shortcut-models visual-manipulation

Abstract

We propose ReinFlow, a simple yet effective online reinforcement learning (RL) framework that fine-tunes a family of flow matching policies for continuous robotic control. Derived from rigorous RL theory, ReinFlow injects learnable noise into a flow policy's deterministic path, converting the flow into a discrete-time Markov Process for exact and straightforward likelihood computation. This conversion facilitates exploration and ensures training stability, enabling ReinFlow to fine-tune diverse flow model variants, including Rectified Flow [35] and Shortcut Models [19], particularly at very few or even one denoising step. We benchmark ReinFlow in representative locomotion and manipulation tasks, including long-horizon planning with visual input and sparse reward. The episode reward of Rectified Flow policies obtained an average net growth of 135.36% after fine-tuning in challenging legged locomotion tasks while saving denoising steps and 82.63% of wall time compared to state-of-the-art diffusion RL fine-tuning method DPPO [43]. The success rate of the Shortcut Model policies in state and visual manipulation tasks achieved an average net increase of 40.34% after fine-tuning with ReinFlow at four or even one denoising step, whose performance is comparable to fine-tuned DDIM policies while saving computation time for an average of 23.20%. Project webpage: https://reinflow.github.io/

한국어 요약

한 줄 요약

ReinFlow는 온라인 강화학습을 통해 흐름 일치 정책을 미세 조정하여 로봇 제어 성능을 향상시키는 프레임워크로, Rectified Flow와 Shortcut Models를 1단계의 디노이징으로 40.34% 성공률 증가를 달성했다.

핵심 기여도

핵심 아이디어

ReinFlow는 기존 흐름 일치 정책이 결정적인 경로를 따라 이동하여 탐색이 어려운 문제를 해결하기 위해, 정책의 결정적 경로에 학습 가능한 노이즈를 주입함으로써 이산 시간 마르코프 과정으로 변환한다. 이는 정확한 로그 확률 계산을 가능하게 하며, 탐색과 활용의 균형을 자동으로 조절할 수 있는 구조를 제공한다. 특히, Rectified Flow와 Shortcut Models와 같은 다양한 흐름 모델 변형을 1단계의 디노이징으로도 안정적으로 미세 조정할 수 있다는 점에서 혁신적이다. 이는 기존 확산 정책 기반 DPPO와 비교해 뛰어난 성능과 시간 효율성을 보여준다.

기술적 접근법

주요 결과

의의 및 한계

ReinFlow는 흐름 일치 정책의 미세 조정을 온라인 강화학습으로 가능하게 하여, 제한된 데이터와 탐색 부족 문제를 해결하는 데 기여한다. 특히, 1단계 디노이징에서도 안정적인 학습이 가능하다는 점에서 실용적 가치가 높다. 그러나, 샘플 효율성은 DPPO보다 낮으며, 실제 환경에서의 적용 가능성은 아직 검증되지 않았다는 한계가 있다. 또한, 다양한 정책 기울기 방법과의 결합 가능성은 향후 연구 주제로 남아 있다.

실용적 활용

ReinFlow는 로봇 제어, 특히 시각 기반 조작 및 장기 계획 임무에서 유용하게 사용될 수 있다. 제한된 데이터 환경에서도 빠른 학습과 높은 성능을 유지할 수 있어, 산업 로봇 및 서비스 로봇 분야에서 실용적 활용이 기대된다.