Abstract
Flow-based policies have recently emerged as a powerful tool in offline and offline-to-online reinforcement learning, capable of modeling the complex, multimodal behaviors found in pre-collected datasets. However, the full potential of these expressive actors is often bottlenecked by their critics, which typically learn a single, scalar estimate of the expected return. To address this limitation, we introduce the Distributional Flow Critic (DFC), a novel critic architecture that learns the complete state-action return distribution. Instead of regressing to a single value, DFC employs flow matching to model the distribution of return as a continuous, flexible transformation from a simple base distribution to the complex target distribution of returns. By doing so, DFC provides the expressive flow-based policy with a rich, distributional Bellman target, which offers a more stable and informative learning signal. Extensive experiments across D4RL and OGBench benchmarks demonstrate that our approach achieves strong performance, especially on tasks requiring multimodal action distributions, and excels in both offline and offline-to-online fine-tuning compared to existing methods.
Introduction: The Information Bottleneck
In recent years, flow-based policies have become a state-of-the-art tool for offline reinforcement learning. Unlike standard Gaussian policies, flow-based models can capture complex, multimodal behaviors, such as an agent deciding between multiple distinct paths around an obstacle.
However, these expressive actors are often paired with critics that only estimate a single scalar value: the expected return $Q(s, a)$. This creates an information bottleneck; a single number is a low-dimensional summary of a potentially chaotic and stochastic future. For a high-capacity actor to reach its full potential, it requires a critic that understands the full range of possible outcomes—the entire return distribution. While Distributional RL exists, applying complex generative models like flow matching directly to critics usually leads to computational instability during training.
Methodology: Distributional Flow Critics (DFC)
The Distributional Flow Critic (DFC) integrates flow matching into the critic architecture using a two-stage distillation process designed for stability and expressivity:
- Target Distributional Flow Critic ($Z_{\tilde{\phi}}$): This is a powerful, multi-step flow model. It uses flow matching to learn the complex target distribution of returns derived from the Bellman equation, representing highly non-Gaussian, multimodal return distributions.
- Main Distributional Critic ($Z_{\phi}$): Because backpropagating through an ODE solver (required by flow models) is slow and unstable for policy updates, the knowledge from the target flow critic is distilled into a simpler, one-step "main" critic using Quantile Regression.
- Synergistic Training: The actor (based on the Flow Q-Learning framework) is updated using the mean of this distilled distributional critic. This setup allows the system to benefit from the expressivity of flow matching while maintaining the training stability of quantile-based methods.
This architecture avoids the "Backpropagation Through Time" (BPTT) problem typically associated with differentiating through ODE solvers in reinforcement learning.
Experimental Evaluation
The authors evaluated DFC across 73 diverse tasks to test its robustness and performance:
- D4RL: Focusing on the challenging AntMaze (navigation) and Adroit (dexterous manipulation) suites.
- OGBench: A comprehensive benchmark including 50 state-based tasks (locomotion and manipulation) and 5 visual manipulation tasks. These datasets are known for containing highly suboptimal and multimodal data.
Results and Key Insights
DFC achieved the best or near-best performance on most of the 73 tasks, registering a comprehensive performance gain of more than 10% over existing state-of-the-art methods like Flow Q-Learning (FQL).
Key Findings:
- Hard Task Mastery: On the notoriously difficult
antmaze-large-playandantmaze-large-diversetasks, DFC achieved success rates of 91% and 95%, respectively. - Superior Fine-Tuning: In offline-to-online settings, DFC showed significantly better adaptability and sample efficiency than unimodal or non-distributional baselines.
- The Expressivity Match: An expressive actor needs an equally expressive critic. If the actor can represent multiple paths to a goal, the critic must represent the distinct value distributions of those paths. DFC excels particularly in environments where data is multimodal; in these cases, a scalar critic provides a "blurry" signal, whereas DFC provides a sharp, distributional signal that guides the actor more effectively.
- Ablation Success: Experiments showed that a "Flow-only" critic was too unstable to train, and a "Distributional-only" (quantile) critic lacked the performance of the full DFC model, validating the two-stage flow-distillation design.
Conclusion and Future Work
While the distillation process makes actor updates efficient, training the multi-step target flow critic still adds computational complexity compared to simple scalar critics. Future work could explore applying DFC to partially observable environments (POMDPs), where uncertainty is even higher, or integrating DFC into hierarchical RL frameworks where distributional signals could help high-level planners manage long-term risk and multi-goal uncertainty.
Summary updated