DeFlow: Decoupling Behavior-Prior Modeling and Value Maximization for Offline Policy Extraction
Organizations: Peking University, Institute of Artificial Intelligence, China, Beijing.
Abstract
We present DeFlow, a decoupled offline RL framework that leverages flow matching to faithfully capture complex behavior manifolds. Optimizing generative policies is computationally prohibitive, typically necessitating backpropagation through ODE solvers. We address this by learning a lightweight refinement module within an explicit, data-derived trust region of the flow manifold, rather than sacrificing the iterative generation capability via single-step distillation. This way, we bypass solver differentiation and eliminate the need for balancing loss terms, ensuring stable improvement while fully preserving the flow's iterative expressivity. Empirically, DeFlow achieves superior performance on the challenging OGBench benchmark and demonstrates efficient offline-to-online adaptation.
Figures & tables
| Gaussian Policies | Flow / Generative Extraction | ||||||||
| Task Category | BC | IQL | ReBRAC | FAWAC | FBRAC | IFQL | SORL | FQL | DeFlow |
| antmaze-large (5) | |||||||||
| antmaze-giant (5) | |||||||||
| humanoidmaze-medium (5) | |||||||||
| humanoidmaze-large (5) | |||||||||
| antsoccer-arena (5) | |||||||||
| Task | IQL | ReBRAC | Cal-QL | RLPD | IFQL | FQL | DeFlow |
| humanoidmaze-medium | |||||||
| antsoccer-arena | |||||||
| cube-double | |||||||
| scene | |||||||
| puzzle-4x4 | |||||||
| antmaze-umaze-v2 |
| Family | Update path | Eval. budget | Proposal use |
| Iterative BPTT | solver + critic | update generator | |
| Shortcut / FQL | shortcut + critic | 1–few steps | compress actor |
| SORL-style | shortcut + critic | steps; optional ranking | scale inference |
| DeFlow | residual + critic | local residual |
| Method | Offline train | Online train | Inference |
| FQL | |||
| DeFlow | |||
| DeFlow (frozen prior) | – | – |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| cube-double | antmaze-large | puzzle-3x3 | antsoccer | |
| IAV |
| Quantity | Main benchmark protocol | Additional analysis / budget |
| Residual budget | Task-dependent IAV-guided choice; retained for O2O | diagnostic in Table 6 |
| Penalty | Adapted in log space; not a fixed-coefficient grid | Original nominal fixed settings in Table 9 |
| Residual architecture | Four hidden layers, width 512; no per-task depth tuning | One/two layers, width 512; four seeds per setting; Section C.4 |
| Prior and critic | FQL-based configuration; prior learns by flow matching | Held at the same architecture within each capacity comparison |
| Inference budget | Multi-step proposal followed by one residual | Ten Euler steps in capacity runs; no candidate ranking |
| Evaluation selection | Fixed-step main evaluation | Final scheduled checkpoint for capacity; 20 or 50 episodes per seed |
| Score |
| Diagnostic | Setting | Baseline | DeFlow / Variant |
| Mixed human/expert data | score | FQL: | DeFlow: |
| Refinement module | full action-conditioned | - | |
| Refinement module | remove action conditioning | - |
| Task | FQL | floq | DeFlow | DeFlow+floq |
| cube-double-play | ||||
| puzzle-3x3-play |
| Task | Phase | Adaptive | |||||
| cube-double | Offline | ||||||
| Online | |||||||
| puzzle-3x3 | Offline | ||||||
| Online |
| Task | Base flow only | Base flow + residual |
| cube-double task1 | ||
| puzzle-3x3 task2 |
| Task | One layer | Two layers | Four layers |
| cube-double task1 | |||
| puzzle-3x3 task2 | |||
| scene task2 |
| Task | One layer | Two layers |
| antmaze-large task2 | ||
| humanoidmaze-medium task2 | ||
| antsoccer-arena task2 | ||
| cube-single task2 | ||
| puzzle-4x4 task1 | ||
| pen-cloned |
| Task | Discount | Target aggregation | |
| cube-double task1 | mean | ||
| puzzle-3x3 task2 | mean | ||
| scene task2 | mean | ||
| antmaze-large task2 | min | ||
| humanoidmaze-medium task2 | mean | ||
| antsoccer-arena task2 | mean |
| IQL | ReBRAC | IDQL | SRPO | CAC | FAWAC | FBRAC | IFQL | FQL | DeFlow | |
| Task | ||||||||||
| antmaze-large-navigate-singletask-task1-v0 | ||||||||||
| antmaze-large-navigate-singletask-task2-v0 | ||||||||||
| antmaze-large-navigate-singletask-task3-v0 | ||||||||||
| antmaze-large-navigate-singletask-task4-v0 | ||||||||||
| antmaze-large-navigate-singletask-task5-v0 |
| IQL | ReBRAC | IDQL | SRPO | CAC | FAWAC | FBRAC | IFQL | FQL | DeFlow | |
| Task | ||||||||||
| cube-double-play-singletask-task1-v0 | ||||||||||
| cube-double-play-singletask-task2-v0 | ||||||||||
| cube-double-play-singletask-task3-v0 | ||||||||||
| cube-double-play-singletask-task4-v0 | ||||||||||
| cube-double-play-singletask-task5-v0 |
| Gaussian Policies | Diffusion Policies | Flow Policies | |||||||||
| Task | BC | IQL | ReBRAC | IDQL | SRPO | CAC | FAWAC | FBRAC | IFQL | FQL | Deflow |
| antmaze-large-navigate-singletask-task1-v0 (*) | |||||||||||
| antmaze-large-navigate-singletask-task2-v0 | |||||||||||
| antmaze-large-navigate-singletask-task3-v0 | |||||||||||
| antmaze-large-navigate-singletask-task4-v0 | |||||||||||
| antmaze-large-navigate-singletask-task5-v0 | |||||||||||
| Gaussian Policies | Diffusion Policies | Flow Policies | |||||||||
| Task | BC | IQL | ReBRAC | IDQL | SRPO | CAC | FAWAC | FBRAC | IFQL | FQL | Deflow |
| cube-double-play-singletask-task1-v0 | |||||||||||
| cube-double-play-singletask-task2-v0 (*) | |||||||||||
| cube-double-play-singletask-task3-v0 | |||||||||||
| cube-double-play-singletask-task4-v0 | |||||||||||
| cube-double-play-singletask-task5-v0 | |||||||||||
Offline RL
Offline reinforcement learning learns decision-making policies from fixed datasets without interacting with the environment during training.
See all 290 papers