Target Policy Optimization
Abstract
In RL, given a prompt, we sample a group of completions from a model and score them. Two questions follow: which completions should gain probability mass, and how should the parameters move to realize that change? Standard policy-gradient methods answer both at once, so the update can overshoot or undershoot depending on the learning rate, clipping, and other optimizer choices. We introduce Target Policy Optimization (TPO), which separates the two questions. Given scored completions, TPO constructs a target distribution and fits the policy to it by cross-entropy. The loss gradient on sampled-completion logits is , which vanishes once the policy matches the target. On tabular bandits, transformer sequence tasks, and billion-parameter LLM RLVR, TPO matches PG, PPO, GRPO, and DG on easy tasks and substantially outperforms them under sparse reward. Code is available at https://github.com/JeanKaddour/tpo.
Figures & tables
| TPO token | 58 | 74 | 103 | 102 |
|---|---|---|---|---|
| GRPO token | 904 | 141 | 124 | 148 |
| DG | 199 | 273 | 314 | 393 |
| PPO | 872 | 181 | 191 | 259 |
| Reward | Target | TPO token | GRPO token | DG | PPO |
|---|---|---|---|---|---|
| Bag of tokens | Copy | 81 | 338 | 219 | 170 |
| Flip | 56 | 104 | 201 | 146 | |
| Rev. copy | 55 | 352 | 202 | ||
| Rev. flip | 59 | 209 | 200 | 143 | |
| Sequential | Copy | 295 | 439 | ||
| Flip | 321 | 349 |
| Prompt-matched | Interaction-matched | |||||||
|---|---|---|---|---|---|---|---|---|
| TPO | 6.9 | 8.6 | 6.1 | 7.4 | 1.8 | 2.8 | 5.3 | 19.0 |
| GRPO | 14.5 | 27.6 | 30.0 | 50.4 | 9.6 | 23.2 | 36.2 | 48.7 |
| GRPO (no KL) | 66.6 | 92.5 | 78.1 | 83.8 | ||||
| PPO | 12.0 | 26.3 | 90.6 | 38.6 | 62.1 | 66.2 | ||
| DG | 33.8 | 58.8 | 47.7 | 69.4 | ||||
| Method | Update rule | Group | Critic | Fixed ref. |
| REINFORCE | PG + baseline | ✗ | ✗ | ✗ |
| REINFORCE++ | PG + per-token KL baseline | ✗ | ✗ | ✓ |
| ReMax | PG + greedy baseline | ✗ | ✗ | ✓ |
| TRPO | PG + KL trust region | ✗ | ✗ | ✗ |
| PPO | Clipped PG surrogate | ✗ | ✗ | ✗ |
| DG | Sigmoid-gated PG | ✗ | ✗ | ✗ |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Final error (%) | Steps to 1% | |
|---|---|---|
| 0.25 | 1.0 | 72 |
| 0.50 | 0.0 | 67 |
| 1.00 (default) | 0.7 | 96 |
| 2.00 | 1.0 | 141 |
| 4.00 | 0.8 | 260 |
Policy Optimization
Policy optimization develops algorithms for improving decision rules in reinforcement learning, language models, and sequential decision systems.
See all 224 papers