VAPO: Efficient and Reliable Reinforcement Learning for Advanced Reasoning Tasks
TL;DR. After R1, the common view was that critics do not work for long chain-of-thought RL, so GRPO-style group baselines took over. VAPO, from the same ByteDance Seed group as DAPO, argues the opposite: the paper identifies critic training as a major failure mode of PPO with a learned value model in its setup. With a pretrained critic, decoupled GAE (the critic uses ) and a length-adaptive for the policy, plus DAPO’s tricks, Qwen2.5-32B reaches 60.4 on AIME 2024. That compares with 5 for vanilla PPO and 50 for DAPO.
Why it matters now. This is the main counterweight to “the critic is obsolete”. Group baselines give every token of an answer the same credit. A critic can give more credit to the step where the value changed, which matters for agents whose trajectories mix good and bad steps, such as a search agent that issues one bad query and then recovers. VAPO shows what it takes to make that work on long sequences.
Key idea
Section titled “Key idea”PPO’s advantage comes from generalized advantage estimation (GAE) over the token-level MDP. With and a single reward at the end:
With the advantage is the Monte Carlo return minus a baseline: unbiased, but noisy. With it leans on the critic’s own estimates. In the running example, a prompt the policy solves 25% of the time with rewards , an accurate critic gives . The first-token advantages are and , exactly the Dr. GRPO and RLOO-style weights. The difference is later in the answer: once a key step is made and jumps to, say, 0.9, the tokens after it get only . Credit then goes to the step that changed the outlook. The paper names three problems that break this on long chain-of-thought, and a fix for each.
1. Value-model bias over long sequences
Section titled “1. Value-model bias over long sequences”Vanilla PPO initializes the critic from a reward model. A reward model scores finished answers and gives low scores to incomplete prefixes, so rises along every response. Then almost everywhere, whether the answer ends up right or wrong, and early tokens get a positive advantage either way. GAE with makes it worse: the final reward reaches token with weight , which is just 100 tokens back. The early advantages are then nearly all bias. Vanilla PPO collapses to short answers that skip reasoning (AIME 5).
Fixes, from VC-PPO. Value pretraining: fit the critic to Monte Carlo returns from a fixed policy until value loss and explained variance look good, before policy training starts. Decoupled GAE: train the critic with , so its target is the true return, while the policy uses its own .
2. Very different response lengths
Section titled “2. Very different response lengths”A fixed treats a 100-token and a 10,000-token answer differently: shorter responses receive relatively more terminal-reward influence (more variance), although early tokens can still be dominated by bootstrapping (the first token of a 100-token answer gets weight ); long ones get almost pure bootstrapping (more bias). VAPO makes the effective horizon proportional to length:
For , and this gives , and , with horizons of 5, 50 and 500 tokens, always 5% of the response. It also uses DAPO’s token-level loss, dividing by the total tokens in the batch instead of averaging per answer first, so long answers are not down-weighted.
3. Sparse 0/1 rewards
Section titled “3. Sparse 0/1 rewards”Correct answers to hard prompts are rare, so VAPO tries to get more from each one. It uses DAPO’s clip-higher (, ) to keep exploring. A positive-example NLL loss adds on correct answers with , which is a little STaR-style imitation inside RL. Group sampling uses 512 prompts × 16 samples rather than many prompts sampled once, so each prompt gets contrasting right and wrong answers.
Key results
Section titled “Key results”- Main result (§5.2, Fig. 1). Qwen2.5-32B base reaches 60.4 on AIME 2024 (avg@32) within 5,000 steps. It matches DAPO’s 50 in 60% of DAPO’s steps, and three repeated runs all peak at 60–61.
- Leave-one-out ablation (Table 1, AIME 2024 avg@32). Full VAPO 60. Without value pretraining 11; without decoupled GAE 33; without length-adaptive GAE 45; without clip-higher 46; without token-level loss 53; without positive-example NLL 54; without group sampling 55. Baselines: vanilla PPO 5, DeepSeek-R1-Zero-Qwen-32B 47, DAPO 50.
- Setup (§5.1). Actor learning rate 1e-6, critic 2e-6 (the critic must keep up), 50 critic warm-up steps before policy training, 512 prompts × 16 samples per rollout, minibatch 512, evaluation at temperature 1.0 and top-p 0.7.
- Training dynamics (§5.3). Smoother curves and faster reward growth than DAPO, with longer responses. Entropy ends lower than DAPO’s, which the authors read as more stable, with little cost to accuracy.
Limitations & open questions
Section titled “Limitations & open questions”- One base model, one domain and one 30-problem benchmark. Only the full recipe has seed repeats.
- No row removes the critic while keeping everything else, so the table does not isolate the critic’s own contribution. The NLL term and the second 32B network also mean the DAPO comparison is not at matched compute.
- The value-pretraining recipe is described loosely (“until metrics are sufficiently low”; 50 warm-up steps in §5.1), and the paper links no code.
- Lower final entropy may limit large-k coverage; the paper reports avg@32 only, not pass@k (see Does RL really incentivize reasoning?).
- Whether critics help more in multi-step agent settings, where state values really change mid-trajectory, is the interesting open question for search agents.
Connections
Section titled “Connections”- The algorithm it repairs: PPO, with GAE and actor–critic advantages.
- The critic-free side of the debate: DeepSeekMath / GRPO, DeepSeek-R1 (App. A.3), Kimi k1.5.
- Tricks it borrows: DAPO. The same length-weighting issue: Dr. GRPO.
- PPO with a reward-model-initialized critic in a short-answer setting: Tülu 3.
- Entropy dynamics: The Entropy Mechanism.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
VAPO sets the policy's GAE parameter to λ = 1 − 1/(α·l) with α = 0.05. Compute λ for responses of 100, 1,000 and 10,000 tokens, the effective horizon 1/(1 − λ), and roughly how much weight the final reward has at the first token. Compare with a fixed λ = 0.95.
What a strong answer covers
- λ = 0.8, 0.98 and 0.998; horizons 5, 50 and 500 tokens, always 5% of the length (α·l).
- Weight of the final reward at the first token is λ^(l−1): about 2.55e−10, 1.72e−9 and 2.02e−9 for 100, 1,000 and 10,000 tokens. As l grows this approaches (1 − 1/(αl))^l → e^(−1/α) = e^(−20) ≈ 2.06e−9, so e^(−20) is a large-length limit (poor at l = 100, though all these weights are tiny): the same relative shape.
- Fixed 0.95: horizon 20 tokens for all lengths; weight 0.95^99 ≈ 0.006 for 100 tokens and essentially 0 for 1,000 or more.
- So with a fixed λ, shorter responses receive relatively more terminal-reward influence, but early tokens can still be dominated by bootstrapping (0.006 at 100 tokens); long answers get almost pure bootstrapping. Length-adaptive λ makes the bias–variance trade the same fraction of every answer.
- Either way the policy relies on the critic for early tokens, which is why the critic must be trained well (λ_critic = 1, pretraining).
- Mechanism
VAPO (following VC-PPO) says that initializing the value model from a reward model biases early advantages upward, and that GAE with λ = 0.95 makes this worse. Using δ_t = r_t + V(s_t+1) − V(s_t) with γ = 1, explain where the bias comes from, why it hides the outcome from early tokens, and how value pretraining and λ_critic = 1 fix it.
What a strong answer covers
- A reward model scores complete answers at the end-of-sequence token and gives low scores to short, incomplete prefixes, so V rises along the response.
- Then δ_t = V(s_t+1) − V(s_t) is positive at almost every step, regardless of whether the final answer is right; GAE sums these, so early tokens get positive advantage for correct and wrong answers alike.
- With λ = 0.95 the final reward is discounted by 0.95 per token, so for long answers the early advantages are almost entirely these biased TD terms.
- Value pretraining fits V to Monte Carlo returns from a fixed policy first; λ_critic = 1 makes the value target the full return R, so the critic learns an unbiased estimate of success probability.
- Symptom in the paper: vanilla PPO collapses to short answers that skip reasoning (AIME 5).
- What if…
Table 1 removes each of VAPO's seven changes from the full recipe (60): no value pretraining 11, no decoupled GAE 33, no length-adaptive GAE 45, no clip-higher 46, no token-level loss 53, no positive-example NLL 54, no group sampling 55. What does this leave-one-out design show that DAPO's cumulative ladder did not, and what can you not conclude?
What a strong answer covers
- Leave-one-out measures each change's marginal value given all the others, so the order of addition does not matter.
- The drops add up to about 123 points, far more than the 55-point gap to vanilla PPO, so the parts interact strongly: the critic fixes are necessary conditions, not additive bonuses.
- Value pretraining and decoupled GAE dominate; the DAPO-borrowed tricks are worth 5–14 points each here.
- Only the full recipe has seed repeats (60–61 over three runs); each ablation is one run on 30 AIME problems, so differences of a few points are within noise.
- There is no "same recipe without a critic" row, so the table does not isolate the critic itself.
- Critique
VAPO is often cited as proof that value-based PPO beats critic-free methods (60 vs DAPO's 50). Identify what differs between the two runs besides the critic, and design the experiment that would actually test whether the critic is responsible.
What a strong answer covers
- VAPO also adds an NLL loss on correct answers (weight 0.1) and the critic adds a second 32B network, so the comparison is not at matched compute.
- Both use clip-higher, token-level loss and 512 × 16 sampling, but VAPO does not list dynamic sampling and DAPO has no NLL term; hyperparameters and step counts differ.
- The DAPO number comes from a different paper's run; only VAPO reports seed repeats.
- Test: DAPO plus the positive-example NLL versus VAPO, same base, data, steps and total FLOPs including the critic, several seeds, on AIME plus a second benchmark, reporting pass@k as well as avg@32.
- Connect
DeepSeek-R1 (App. A.3) found that PPO with λ = 0.95 was far worse than GRPO, but λ = 1.0 nearly matched it; Kimi k1.5 argued value functions are unsuitable for long chain-of-thought. Explain how VAPO's findings fit with both.
What a strong answer covers
- R1's result says a poorly trained critic hurts when you bootstrap from it; with λ = 1 the critic is only a baseline, close to GRPO's group mean.
- VAPO keeps λ near 1 for long answers (0.998 at 10,000 tokens) and trains the critic on full returns, so it avoids the failure R1 saw.
- Kimi's argument (a recovered wrong step gets negative credit) is about credit assignment; a good critic gives that step negative credit but the recovery positive credit, which may be the right signal.
- So the evidence supports "critics need careful training on long sequences", not "critics cannot help".
- Design
You are training a multi-turn search agent with RL, where an episode has 3–30 tool calls and the reward is answer correctness at the end. Decide whether to use a critic, and if so, how you would adapt value pretraining and length-adaptive GAE to episodes with retrieved text in the context.
What a strong answer covers
- A critic is attractive here: episodes are long and the value of a state changes visibly after a good or bad retrieval, which gives step-level credit a group baseline cannot.
- Count only model-generated tokens (mask retrieved passages) when computing l and token-level losses; consider λ per turn rather than per token.
- Pretrain the value model on Monte Carlo returns of SFT-policy episodes until explained variance is high, before any policy updates; use λ_critic = 1.
- Baseline against GRPO or DAPO with the same rollouts and compute, and check whether the critic's value jumps line up with useful retrievals.