ScoRe-Flow: Complete Distributional Control via Score-Based Reinforcement Learning for Flow Matching
Organizations: Zhejiang University, Hangzhou, China · Shanghai Innovation Institute · Shanghai Jiao Tong University, Shanghai, China · Infinigence-AI
Abstract
Flow Matching (FM) policies have emerged as an efficient backbone for robotic control, offering fast and expressive action generation that underpins recent large-scale embodied AI systems. However, FM policies trained via imitation learning inherit the limitations of demonstration data; surpassing suboptimal behaviors requires reinforcement learning (RL) fine-tuning. Recent methods convert deterministic flows into stochastic differential equations (SDEs) with learnable noise injection, enabling exploration and tractable likelihoods, but such noise-only control can compromise training efficiency when demonstrations already provide strong priors. We observe that modulating the drift via the score function, i.e., the gradient of log-density, steers exploration toward high-probability regions, improving stability. The score admits a closed-form expression from the velocity field, requiring no auxiliary networks. Based on this, we propose ScoRe-Flow, a score-based RL fine-tuning method that combines drift modulation with learned variance prediction to achieve decoupled control over the mean and variance of stochastic transitions. Experiments demonstrate that ScoRe-Flow achieves 2.4x faster convergence than flow-based SOTA on D4RL locomotion tasks and up to 5.4% higher success rates on Robomimic and Franka Kitchen manipulation tasks.
Figures & tables
| Task | BC (pretrain) | DPPO | ReinFlow-R | ReinFlow-S | Score-SDE | ScoRe-Flow (Ours) |
|---|---|---|---|---|---|---|
| D4RL Locomotion (Episode Reward ) | ||||||
| Hopper-v2 | 1578 28 | 3275 20 | 3204 36 | 3253 24 | 3118 87 | 3233 39 |
| Walker2d-v2 | 3185 38 | 3896 62 | 4092 11 | 4202 26 | 3900 57 | 4172 154 |
| Ant-v0 | 3750 118 | 3951 24 | 4021 25 | 4119 44 | 3980 29 | 4088 95 |
| Humanoid-v3 | 2415 65 | 5001 20 | 5041 6 | 4801 134 | 4896 91 | 5100 47 |
| Avg. | 2732 | 4031 | 4090 | 4094 | 3974 | 4148 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value (Common to Both) |
|---|---|
| Optimizer & Learning Rate Settings | |
| Actor Optimizer | Adam ( Kingma, 2014 ) |
| Actor LR Weight Decay | 0 |
| Actor LR Scheduler | CosineAnnealingWarmupRestart ( Loshchilov & Hutter, 2016 ) |
| Actor LR Cycle Steps | 100 ∗ |
| Critic Optimizer | Adam |
| Task | Method | Single Iteration (s) | Mean Std | ||
|---|---|---|---|---|---|
| S1 | S2 | S3 | |||
| Hopper-v2 | ReinFlow-R | 11.598 | 11.704 | 11.843 | 11.715 0.123 |
| ReinFlow-S | 12.051 | 12.127 | 12.372 | 12.290 0.141 | |
| DPPO | 99.502 | 99.616 | 98.021 | 99.046 0.890 | |
| FQL | 4.373 | 4.366 | 4.515 | 4.418 0.084 | |
| Score-SDE | 11.652 | 11.715 | 11.793 | 11.720 0.071 | |
| Domain | Task / Dataset | Model Framework | Rationale |
|---|---|---|---|
| Locomotion | OpenAI Gym (All Tasks) | Rectified Flow | Performance |
| Manipulation | Franka Kitchen (All Tasks) | Shortcut Model | Performance |
| Robomimic Can | Rectified Flow | Performance | |
| Robomimic Square | Rectified Flow | Performance | |
| Robomimic Transport | Shortcut Model | Efficiency & Performance |
| Method | Hopper | Walker2d | Ant | Humanoid |
|---|---|---|---|---|
| DPPO | 3275 24 | 3897 76 † | 3951 30 † | 4873 0 |
| FQL | 3032 65 † | 3709 14 † | 620 3 † | 2334 61 † |
| ReinFlow-R | 3204 44 | 4092 14 | 4021 31 | 4976 26 † |
| ReinFlow-S | 3253 29 | 4202 32 | 4119 53 | 4956 110 |
| Score-SDE | 3155 91 | 3922 78 † | 3975 51 † | 4928 113 † |
| ScoRe-Flow | 3235 34 | 4189 145 | 4096 87 | 5125 47 |
| Method | Can | Square | Transport | K-Complete | K-Mixed | K-Partial |
|---|---|---|---|---|---|---|
| DPPO | .993 .006 | .771 .033 | .528 .459 | 3.78 .17 | 3.40 .54 | 3.48 .47 |
| ReinFlow-S | .978 .003 | .744 .047 | .888 .030 | 3.92 .03 | 2.99 .01 | 3.39 .54 |
| Score-SDE | .957 .019 | .778 .024 † | .896 .060 | 3.97 .01 | 2.99 .01 | 3.18 .45 † |
| ScoRe-Flow | .979 .020 | .835 .032 | .940 .022 | 3.96 .02 | 3.00 .01 | 3.98 .02 |