# Variance-Optimal State Resampling for Reinforcement Learning with Verifiable Rewards

*Yibo Wang, Yuanxin Liu, Zhaoran Wang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151544) · [Open on the map](../papers.html#p151544)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [Group-Relative Policy Optimization for LLM Fine-Tuning](../pgroup/601.md) · Type: new method · Keywords: variance-optimal sampling, policy gradient variance reduction, GRPO, reinforcement learning, sample efficiency, plug-in modification

Areas: [RL for LLMs & Agents](../areas/llm-rl.md) › LLM Policy Optimization › LLM Policy Optimization

## Summary
VSR (Variance-driven State Resampling) improves GRPO by resampling states according to a variance-optimal distribution, reducing token usage while outperforming baselines on reasoning and planning benchmarks.

## Explained to a 5-year-old
When a robot or computer program learns to do things, it tries many different actions. It looks at what happens after each action to see if it's good. Sometimes it spends a lot of time trying actions that don't give any useful information. This makes learning slower and uses more time. The paper figures out how to pick the most useful actions so we learn faster.

## Explained to a 5-year-old, longer
When a robot or computer program learns to do things, it tries many different actions. It looks at what happens after each action to see if it's good. Sometimes it spends a lot of time trying actions that don't give any useful information. This makes learning slower and uses more time. The paper asks how we can choose which actions to try so we get the most helpful information. It finds a rule that tells us how often to try each action based on how useful it might be. This rule is like a recipe for picking the best actions to try. It works without needing a special schedule or extra planning. The new method uses a simple trick to remember past actions and estimate usefulness quickly. This helps the learning process be faster and more efficient. It also works on puzzles and games where the robot has to think ahead. Overall, the idea helps machines learn better by focusing on the most helpful tries.

## For a technical reader
The paper addresses inefficient sampling in policy-gradient RL by deriving an optimal state distribution that minimizes estimator variance. It proposes a plug-in modification to GRPO that uses a prefix replay buffer and a cheap variance proxy to approximate this distribution. Experiments on reasoning benchmarks and planning tasks show improved performance with fewer generated tokens per update. The method requires no external curriculum schedule and can be easily integrated into existing GRPO pipelines.

## Problem
Reinforcement learning with verifiable rewards often wastes rollout budget on states that provide no learning signal, leading to inefficient policy gradient estimation. The problem is to allocate limited samples to states that most reduce estimator variance.

## Method
The approach formulates state sampling as a variance minimization problem, deriving a Neyman allocation that weights states by their visitation probability and gradient variance. It then implements this via a prefix replay buffer and a zero-cost variance proxy that approximates the needed statistics, enabling plug-in use with GRPO.

## Results
The approach achieves superior performance over GRPO and GiGPO on most benchmarks while using fewer generated tokens per update.

## Contributions
It provides a variance-optimal sampling distribution for policy-gradient estimation and a practical plug-in implementation that requires no external schedule. This yields more sample-efficient learning for verifiable reward RL.

## Research questions this paper is counted under

- [How can reinforcement learning be made more sample-efficient and computationally affordable when dealing with verifiable rewards or costly data collection?](../q/52.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151544)
