Soft Policy Optimization: Online Off-Policy RL for Sequence Models

Taco Cohen, David W. Zhang, Kunhao Zheng, Yunhao Tang, Remi Munos +1 more
3/7/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

RL-based post-training of language models is almost exclusively done using on-policy methods such as PPO. These methods cannot learn from arbitrary sequences such as those produced earlier in training, in earlier runs, by human experts or other policies, or by decoding and exploration methods. This results in severe sample inefficiency and exploration difficulties, as well as a potential loss of diversity in the policy responses. Moreover, asynchronous PPO implementations require frequent and costly model transfers, and typically use value models which require a large amount of memory. In this paper we introduce Soft Policy Optimization (SPO), a simple, scalable and principled Soft RL method for sequence model policies that can learn from arbitrary online and offline trajectories and does not require a separate value model. In experiments on code contests, we shows that SPO outperforms PPO on pass@10, is significantly faster and more memory efficient, is able to benefit from off-policy data, enjoys improved stability, and learns more diverse (i.e. soft) policies.

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{cohen2025soft,
  title  = {Soft Policy Optimization: Online Off-Policy RL for Sequence Models},
  author = {Taco Cohen and David W. Zhang and Kunhao Zheng and Yunhao Tang and Remi Munos and Gabriel Synnaeve},
  year   = {2025},
  eprint = {2503.05453},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.05453v1}
}

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

Discussion