🤖 AI Summary
In offline reinforcement learning, one-step policy generation struggles to model multimodal action distributions, while existing flow-based approaches rely on knowledge distillation and two-stage training. This paper proposes MeanFlow-Recon: a single-stage, end-to-end flow-based policy that unifies velocity field modeling and noise-to-action mapping within a single residual network—eliminating separate estimation steps and enabling stable, efficient one-shot sampling. Crucially, MeanFlow-Recon natively integrates with Q-learning without requiring distillation. Evaluated across 73 tasks from OGBench and D4RL, it significantly improves both offline performance and offline-to-online transfer. It achieves high sampling efficiency while enhancing training stability. MeanFlow-Recon establishes a concise, robust, and scalable paradigm for multimodal action modeling in offline RL.
📝 Abstract
We introduce a one-step generative policy for offline reinforcement learning that maps noise directly to actions via a residual reformulation of MeanFlow, making it compatible with Q-learning. While one-step Gaussian policies enable fast inference, they struggle to capture complex, multimodal action distributions. Existing flow-based methods improve expressivity but typically rely on distillation and two-stage training when trained with Q-learning. To overcome these limitations, we propose to reformulate MeanFlow to enable direct noise-to-action generation by integrating the velocity field and noise-to-action transformation into a single policy network-eliminating the need for separate velocity estimation. We explore several reformulation variants and identify an effective residual formulation that supports expressive and stable policy learning. Our method offers three key advantages: 1) efficient one-step noise-to-action generation, 2) expressive modelling of multimodal action distributions, and 3) efficient and stable policy learning via Q-learning in a single-stage training setup. Extensive experiments on 73 tasks across the OGBench and D4RL benchmarks demonstrate that our method achieves strong performance in both offline and offline-to-online reinforcement learning settings. Code is available at https://github.com/HiccupRL/MeanFlowQL.