Reinforcement Learning via Value Gradient Flow

Haoran Xu, Kaiwen Hu, Somayeh Sojoudi, Amy Zhang
4/15/2026
6 citations
cs.LGcs.AI
rl

No official code found. Best implementation: ryanxhr/vgf (15 stars, Python, MIT, last commit 2026-04-17).

Abstract

We study behavior-regularized reinforcement learning (RL), where regularization toward a reference distribution (the dataset in offline RL or the base model in LLM RL finetuning) is essential to prevent value over-optimization caused by erroneous out-of-distribution extrapolation. Existing methods either rely on reparameterized policy gradient, which are difficult to scale to large generative models, or on reject sampling, which can be overly conservative when attempting to move beyond the behavior support.

Show full abstract

In this paper, we propose Value Gradient Flow (VGF), a scalable new paradigm for behavior-regularized RL. VGF casts behavior-regularized RL as an optimal transport problem that maps the reference distribution to the value-induced optimal policy distribution. We solve this transport problem via discrete gradient flow, where value gradients guide particles initialized from the reference distribution. Our analysis shows that VGF imposes regularization implicitly by controlling the transport budget. VGF eliminates explicit policy parameterization while remaining expressive and flexible, this enables adaptive test-time scaling by adjusting the transport budget. Extensive experiments demonstrate that VGF significantly outperforms prior methods, achieving state-of-the-art results on offline RL benchmarks (D4RL, OGBench) and LLM RL tasks. Code and runs can be found at https://ryanxhr.github.io/vgf.

View on arXivView PDF

Code Implementations(1)

ryanxhr/vgfCommunity62%
MIT

[ICLR 2026] The official implementation of "Reinforcement Learning via Value Gradient Flow"

151Python, Shell7 months agoMIT

Similar Papers

Cite this paper

@article{xu2026reinforcement,
  title  = {Reinforcement Learning via Value Gradient Flow},
  author = {Haoran Xu and Kaiwen Hu and Somayeh Sojoudi and Amy Zhang},
  year   = {2026},
  eprint = {2604.14265},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.14265v1},
  journal = {ICLR 2026 2026}
}

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/2604.14265.svg)](https://codeofpaper.com/paper/2604.14265)

Discussion