floq: Training Critics via Flow-Matching for Scaling Compute in Value-Based RL

Bhavya Agrawalla, Michal Nauman, Khush Agrawal, Aviral Kumar
9/8/2025
cs.LGcs.AI

No official code found. Best implementation: CMU-AIRe/floq (46 stars, last commit 2026-04-07).

Abstract

A hallmark of modern large-scale machine learning techniques is the use of training objectives that provide dense supervision to intermediate computations, such as teacher forcing the next token in language models or denoising step-by-step in diffusion models. This enables models to learn complex functions in a generalizable manner. Motivated by this observation, we investigate the benefits of iterative computation for temporal difference (TD) methods in reinforcement learning (RL). Typically they represent value functions in a monolithic fashion, without iterative compute. We introduce floq (flow-matching Q-functions), an approach that parameterizes the Q-function using a velocity field and trains it using techniques from flow-matching, typically used in generative modeling. This velocity field underneath the flow is trained using a TD-learning objective, which bootstraps from values produced by a target velocity field, computed by running multiple steps of numerical integration. Crucially, floq allows for more fine-grained control and scaling of the Q-function capacity than monolithic architectures, by appropriately setting the number of integration steps. Across a suite of challenging offline RL benchmarks and online fine-tuning tasks, floq improves performance by nearly 1.8x. floq scales capacity far better than standard TD-learning architectures, highlighting the potential of iterative computation for value learning.

View on arXivView PDF

Code Implementations(1)

CMU-AIRe/floqCommunity61%

Code Release for floq: Training Critics via Flow-Matching for Scaling Compute In Value-Based RL

465PythonOct 22, 20256 months ago

Similar Papers

Cite this paper

@article{agrawalla2025floq,
  title  = {floq: Training Critics via Flow-Matching for Scaling Compute in Value-Based RL},
  author = {Bhavya Agrawalla and Michal Nauman and Khush Agrawal and Aviral Kumar},
  year   = {2025},
  eprint = {2509.06863},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.06863v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.06863.svg)](https://codeofpaper.com/paper/2509.06863)

Discussion