DeFlow: Decoupling Manifold Modeling and Value Maximization for Offline Policy Extraction
Zhancun Mu
TL;DR
DeFlow addresses the expressivity-optimization dilemma in offline RL by decoupling behavior modeling from value-based policy refinement. It uses multi-step flow matching to faithfully capture the behavior manifold and a lightweight, instance-aware refinement module to maximize $Q(s,a)$ without backpropagating through ODE solvers, guided by a dynamic constraint on action deviation $\delta$ via a learnable Lagrangian multiplier. The base flow $\mu_\psi$ is trained pure with Flow Matching, while $f_\phi$ optimizes locally within the manifold, enabled by a stop-gradient connection that avoids BPTT through the solver. Empirically, DeFlow achieves state-of-the-art or competitive results on the OGBench and D4RL benchmarks and demonstrates seamless offline-to-online adaptation, with automatic constraint tuning reducing hyperparameter engineering. This decoupled approach preserves manifold geometry, improves optimization stability, and enables robust online fine-tuning, suggesting a practical path for scalable policy extraction from expressive generative policies.
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.
