RL-finetuning LLMs from on- and off-policy data with a single algorithm

Yunhao Tang, Taco Cohen, David W. Zhang, Michal Valko, Rémi Munos
3/25/2025
cs.LG

No confident code implementation found for this paper.

Abstract

We introduce a novel reinforcement learning algorithm (AGRO, for Any-Generation Reward Optimization) for fine-tuning large-language models. AGRO leverages the concept of generation consistency, which states that the optimal policy satisfies the notion of consistency across any possible generation of the model. We derive algorithms that find optimal solutions via the sample-based policy gradient and provide theoretical guarantees on their convergence. Our experiments demonstrate the effectiveness of AGRO in both on-policy and off-policy settings, showing improved performance on the mathematical reasoning dataset over baseline algorithms.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tang2025rlfinetuning,
  title  = {RL-finetuning LLMs from on- and off-policy data with a single algorithm},
  author = {Yunhao Tang and Taco Cohen and David W. Zhang and Michal Valko and Rémi Munos},
  year   = {2025},
  eprint = {2503.19612},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.19612v2}
}

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

Discussion