Guided Flow Policy: Learning from High-Value Actions in Offline Reinforcement Learning

Franki Nguimatsia Tiofack, Théotime Le Hellard, Fabian Schramm, Nicolas Perrin-Gilbert, Justin Carpentier

In offline reinforcement learning (RL), agents must learn to perform tasks using only a static, pre-collected dataset—without the luxury of trial-and-error. The biggest hurdle in this setting is "extrapolation error": if an agent tries an action not present in the dataset, the value estimator (the "critic") might hallucinate that it's a great move, leading to catastrophic failure.

To prevent this, researchers typically rely on behavior regularization, which forces the agent's policy to stay close to the actions seen in the dataset. However, most current methods treat all data equally. If a dataset contains 90% "junk" (random or failing attempts) and 10% "gold" (successful runs), standard regularization forces the agent to imitate the junk alongside the gold.

Guided Flow Policy (GFP) is a new offline RL framework designed to solve this "garbage in, garbage out" problem. By selectively learning from the best actions in a dataset rather than imitating everything indiscriminately, GFP achieves state-of-the-art results across 144 tasks, showing massive improvements on suboptimal and noisy datasets.

The Guided Flow Policy Architecture

GFP introduces a dual-policy architecture that relies on a bidirectional guidance mechanism between a high-capacity generative model and a fast, one-step actor.

Guided Flow Policy Architecture

The architecture consists of three main components:

  1. Value-aware Behavior Cloning (VaBC): This is a multi-step "flow-matching" model (a type of generative model similar to diffusion but often more computationally efficient). Unlike standard behavior cloning, VaBC uses a guidance function ($g_\eta$) to weight the importance of dataset transitions. It essentially tells the model to pay more attention to cloning specific actions because the critic evaluates them as having high value.
  2. Distilled One-Step Actor: Because flow models require multiple iterations to sample an action, they can be slow during inference. GFP distills the knowledge of the VaBC into a fast, one-step actor. This actor maximizes the critic's reward while being regularized to stay near the "high-value" distribution learned by the VaBC.
  3. Bidirectional Loop: The actor and the flow policy mutually reinforce each other. The actor provides a baseline to help the flow policy filter for high-value actions, while the flow policy provides a safe, multimodal boundary that prevents the actor from drifting into out-of-distribution territory.

Additionally, GFP utilizes a modified Bellman target that averages value estimates from both the actor and the flow policy, providing a more conservative and stable learning signal.

Key Insights: Selective Regularization and Flow Matching

The core insight behind GFP is that agents shouldn't just regularize to the dataset; they should regularize to the best parts of the dataset. By making the regularization "value-aware," GFP avoids the performance ceiling typically imposed by suboptimal data.

Effect of filtering strength on the flow policy

This selective filtering is controlled by a temperature parameter ($\eta$). As shown above, adjusting this parameter allows the model to transition from soft filtering (imitating most of the dataset) to strong filtering (isolating only the highest-value modes).

Furthermore, the use of flow matching allows the model to represent complex, multimodal distributions (e.g., "to reach the goal, I could go left OR right"). Traditional Gaussian policies often fail in these scenarios by trying to average the two options, which can lead the agent straight into an obstacle.

Empirical Evaluation

The authors conducted a massive evaluation across 144 tasks from three benchmarks:

  • OGBench: A recently proposed, highly challenging benchmark featuring 100 state-based and 5 pixel-based tasks involving complex locomotion and manipulation.
  • Minari: 21 tasks representing the modern successor to the classic D4RL Gym-MuJoCo suite.
  • D4RL: 18 classic tasks (like AntMaze and Adroit) used for comparison with older literature.

Key Results

GFP set a new bar for performance, particularly on "noisy" and "explore" datasets where data quality is inherently poor:

  • OGBench Superiority: On the 105 OGBench tasks, GFP achieved an average score of 53.2, significantly higher than previous state-of-the-art methods like FQL (46.7) and ReBRAC (43.9).
  • Massive Gains on Noisy Data: In the highly suboptimal "Cube-Triple-Noisy" task, GFP scored 24.5, while the next best method (FQL) managed only 3.5.
  • Efficiency: Despite using advanced generative modeling, the JAX-based implementation is highly efficient, completing a full training run in under 30 minutes on a modern GPU.

(Note: A significant secondary contribution of the paper is a re-evaluation of prior SOTA methods. The authors found that simply tuning the discount factor and batch size on newer benchmarks significantly improved older methods like ReBRAC and FQL, though GFP still ultimately outperformed them.)

Limitations and Future Directions

While highly effective, GFP has a few limitations. Most notably, it exhibits a critic dependency. GFP relies heavily on having a reasonably accurate critic to provide guidance. If the reward signal is extremely sparse or the critic fails to learn early on, the guidance provided to the flow policy could be misleading.

Additionally, there is still some temperature sensitivity. While the authors demonstrate that GFP is less sensitive to the temperature parameter ($\eta$) than competing methods, finding the exact "sweet spot" for filtering still requires manual tuning.

Future work may explore ways to reduce this reliance on the critic or extend the framework to handle environments with sparse or delayed rewards more robustly.

Summary updated

BibTeX
@inproceedings{tiofack2026guided,
  author = {Franki NGUIMATSIA TIOFACK and Théotime Le Hellard and Fabian Schramm and Nicolas Perrin-Gilbert and Justin Carpentier},
  title = {{Guided Flow Policy: Learning from High-Value Actions in Offline Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=EBjy1rmpv0},
}
Figure