Flow Matching Policy Gradients

David McAllister, Songwei Ge, Brent Yi, C. Kim, Ethan Weber, Hongsuk Choi, Hai-Wen Feng, Angjoo Kanazawa

arXiv:2507.21053 · 2026-11-08 공개 · arXiv · PDF

reinforcement-learning diffusion-models flow-matching on-policy flow-based-models continuous-control policy-gradients multimodal-distributions

Abstract

Flow-based generative models, including diffusion models, excel at modeling continuous distributions in high-dimensional spaces. In this work, we introduce Flow Policy Optimization (FPO), a simple on-policy reinforcement learning algorithm that brings flow matching into the policy gradient framework. FPO casts policy optimization as maximizing an advantage-weighted ratio computed from the conditional flow matching loss, in a manner compatible with the popular PPO-clip framework. It sidesteps the need for exact likelihood computation while preserving the generative capabilities of flow-based models. Unlike prior approaches for diffusion-based reinforcement learning that bind training to a specific sampling method, FPO is agnostic to the choice of diffusion or flow integration at both training and inference time. We show that FPO can train diffusion-style policies from scratch in a variety of continuous control tasks. We find that flow-based models can capture multimodal action distributions and achieve higher performance than Gaussian policies, particularly in under-conditioned settings.

한국어 요약

한 줄 요약

FPO는 조건부 플로우 매칭 손실을 기반으로 정책 최적화를 수행하는 간단한 온-포로이 강화 학습 알고리즘이다.

핵심 기여도

핵심 아이디어

기존의 diffusion-based RL 접근법은 특정 샘플링 방법에 의존적이었으나, FPO는 학습 및 추론 시 diffusion 또는 flow integration 방법에 무관하게 동작한다. 이는 샘플링 과정을 블랙박스로 취급함으로써 유연성을 확보한 점에서 차별화된다. FPO는 정책 최적화를 조건부 플로우 매칭(CFM) 손실 기반의 advantage-weighted ratio 최대화 문제로 재구성함으로써, 정확한 likelihood 계산 없이도 flow-based 모델의 생성 능력을 활용할 수 있다. 이는 기존의 policy gradient와 flow-based 모델의 장점을 결합한 새로운 접근법이다.

기술적 접근법

주요 결과

의의 및 한계

FPO는 flow-based 모델과 policy gradient를 결합한 새로운 RL 알고리즘으로, 기존 diffusion-based RL 접근법의 샘플링 방법에 대한 의존성을 제거함. flow-based 정책은 Gaussian 정책보다 복잡한 행동 분포를 모델링할 수 있어, under-conditioned 설정에서 유리함. 그러나 flow-based 정책의 학습 및 추론은 Gaussian 정책에 비해 계산 비용이 높으며, KL divergence 추정, 엔트로피 정규화 등의 기존 기법과의 호환성이 부족함. 또한, 이미지 생성 모델에 FPO를 적용하려면 self-generated data에 대한 불안정성이 존재함.

실용적 활용

FPO는 로봇 제어, 물리 시뮬레이션, 고차원 환경에서의 정책 학습에 적용 가능함. 특히, behavior-cloned diffusion 정책이 사전 학습된 로봇 분야에서 FPO의 호환성과 간단한 구현이 실용적 이점이 될 수 있음.