Analysis updated 2026-05-18
Train a flow-matching policy and a critic separately on offline reinforcement learning data.
Improve a trained policy's actions at inference time without retraining or joint actor-critic training.
Reproduce the paper's experiments on OGBench robot manipulation benchmarks.
Generate SLURM batch scripts to run the full set of paper experiments on a compute cluster.
| zhouzypaul/qgf | bhartiyashesh/purelymailcalendar | biao994/docpaws | |
|---|---|---|---|
| Stars | 55 | 55 | 55 |
| Language | Python | Python | Python |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 5/5 | 4/5 | 3/5 |
| Audience | researcher | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires GPU or TPU hardware, JAX, and downloading large OGBench datasets before running experiments.
This repository is the research code for Q-Guided Flow (QGF), an algorithm in the field of reinforcement learning (RL), a branch of AI where a system learns to make decisions by receiving feedback on whether its actions achieve a goal. The problem QGF addresses is a common one in offline RL: you have a large dataset of recorded behavior, and you want to learn a policy (a decision-making system) that does better than what was recorded, without collecting additional experience by interacting with the environment. Most approaches to this combine training the policy and a critic (a system that estimates how good an action is) together in a loop, which can be unstable or slow. QGF separates these two concerns. During training, it independently trains a flow-matching policy using behavioral cloning (learning to imitate the recorded actions) and trains a critic using TD-learning (a standard technique for estimating action value). Flow-matching is a type of generative model that produces outputs by progressively refining a noisy starting point through a learned denoising process. At inference time, rather than retraining the policy, QGF uses gradients from the critic to steer the denoising process toward actions the critic rates more highly, achieving policy improvement at test time without any joint actor-critic training. The codebase is written in JAX, a Python library for fast numerical computation on GPUs and TPUs. Experiments use the OGBench benchmark, a suite of offline RL environments based on simulated robot manipulation tasks (cube stacking, scene arrangement, puzzle solving). The repository also includes implementations of several baseline RL algorithms for comparison, and scripts that generate SLURM batch jobs for running the full set of paper experiments on a compute cluster. The paper associated with this code is available on arXiv (2606.11087). The project does not have a license file mentioned in the README.
Research code for Q-Guided Flow, an offline reinforcement learning method that improves actions at test time using a separately trained critic.
Mainly Python. The stack also includes Python, JAX.
The README does not state a license for this project.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.