Skip to content

Tulu 3: Pushing Frontiers in Open Language Model Post-Training

optionalcorefrontierpaperrubric 12/122024 · ~40 min

Nathan Lambert, Jacob Morrison, Valentina Pyatkin, … Hannaneh Hajishirzi

Status

TL;DR. Tülu 3 is AI2’s fully open post-training recipe for Llama 3.1 base models at 8B, 70B and 405B. It releases data, code, checkpoints and the evaluation suite. The recipe has four stages: data curation, supervised fine-tuning (SFT), preference tuning with length-normalized DPO, and a final stage the paper names reinforcement learning with verifiable rewards (RLVR). In RLVR, a deterministic checker gives a fixed reward only when the answer is verifiably correct, and PPO maximizes it. RLVR gives modest but real gains on the targeted skills: GSM8K, MATH and instruction-following constraints.

Why it matters now. “RLVR” became the standard name for RL against answer checkers, the setting of every reasoning-RL paper in this section. Tülu 3 is also the clearest open example of where RL sits in a full post-training pipeline: last, small and targeted, after SFT and DPO have done most of the work. Its PPO details (critic initialization, KL, EOS penalty) and its reward-hacking examples are a good grounding before the critic-free, KL-free long chain-of-thought recipes that followed.

SFT teaches the skills from curated prompt–completion pairs. DPO (length-normalized, as in SimPO) then trains on about 354K preference pairs, many of them on-policy: completions from the Tülu 3 SFT model and others, labeled by an LLM judge. Only then does RLVR run, on a small set of prompts whose answers can be checked: 7,473 GSM8K, 7,500 MATH and 14,973 instruction-following prompts with verifiable constraints (for example, “use exactly 3 paragraphs”).

RLVR is the usual KL-regularized RLHF objective with the reward model replaced by a checker:

max⁡πθ Ey∼πθ(⋅∣x)[v(x,y)]−β KL[πθ(⋅∣x) ∥ πref(⋅∣x)],v(x,y)={αif correct0otherwise\max_{\pi_\theta}\ \mathbb E_{y\sim\pi_\theta(\cdot\mid x)}\big[v(x,y)\big]-\beta\,\mathrm{KL}\big[\pi_\theta(\cdot\mid x)\,\|\,\pi_{\text{ref}}(\cdot\mid x)\big], \qquad v(x,y)=\begin{cases}\alpha & \text{if correct}\\ 0 & \text{otherwise}\end{cases}

with α=10\alpha=10 (set from pilot runs, not tuned) and the DPO model as πref\pi_{\text{ref}}. The final 8B run used β=0.05\beta=0.05.

Worked example. A correct answer whose summed KL to the reference is 4 nats gets 10−0.05⋅4=9.810-0.05\cdot4=9.8. A wrong one with 2 nats gets −0.1-0.1. Divide everything by α\alpha and you get 0.980.98 and −0.01-0.01: the same problem as a 0/1 reward with β=0.005\beta=0.005. PPO whitens the advantages (subtracts their mean and divides by their std), which removes any overall scale. At fixed trajectories, though, GAE advantages scale uniformly only if rewards, terminal penalties, value predictions and bootstrap values are all scaled together; only then does whitening make the update depend on β/α\beta/\alpha alone (apart from numerical epsilon). Changing α\alpha in a real run need not be equivalent, because critic fitting and optimizer dynamics also change. Still, divide by the reward scale before comparing KL coefficients across papers.

Tülu 3 optimizes this objective with standard PPO and a learned critic. In the running example, one math prompt with a 25% success rate and four answers rewarded [10,0,0,0][10,0,0,0], an ideal critic predicts V=2.5V=2.5 at the prompt. With γ=λ=1\gamma=\lambda=1 and no KL, the correct answer’s advantage is +7.5+7.5 and each wrong one’s is −2.5-2.5. GRPO’s group mean is also 2.52.5 here: it is a 4-sample estimate of the same baseline, with no network to train. The critic’s extra power is giving different values to different prefixes. Tülu’s responses are short (at most 2,048 tokens), which keeps the critic learnable. The long-CoT papers later argue it is not (DeepSeek-R1) or fix it (VAPO).

The paper lists the PPO details that mattered (§6.1):

  • Value model initialized from a general reward model (trained on UltraFeedback). This beat initializing it from the DPO policy.
  • Dropout disabled. Log-probs at sampling and training time must match so that the ratio is exactly 1 in the first PPO epoch. Random dropout noise could push ratios outside the clip range and zero the gradient.
  • −10 for responses with no end-of-sequence token, so running out of length is never free.
  • Advantage whitening, and about 13 passes over the GSM8K prompts in the ablations, reshuffled each time.
  • Asynchronous training. Generation runs in vLLM on dedicated GPUs while the learner trains. For reproducibility the learner always uses the second-latest batch of generations, so data is one step stale.
The Tülu 3 recipe: SFT, then DPO, then RL with verifiable rewards trained by PPO Top row: a Llama 3.1 base model is supervised fine-tuned on the Tülu 3 SFT mix, then preference-tuned with length-normalized DPO on about 354 thousand mostly on-policy preference pairs, then trained with RLVR on about 30 thousand prompts with checkable answers from GSM8K, MATH and verifiable instruction-following constraints. Bottom: the RLVR loop. The policy samples a response, a deterministic verifier returns 10 if it is correct and 0 otherwise, a KL penalty times beta against the frozen DPO reference is subtracted, and responses that never emit an end-of-sequence token get minus 10. PPO updates the policy using advantages from a value model that was initialized from a general reward model. Generation runs on separate vLLM GPUs, and the learner trains on the second-latest batch of generations. Tülu 3: four stages, the last one is RLVR Llama 3.1 base8B / 70B / 405B SFTcurated skill mix DPO (len-norm)354K pairs RLVR (PPO)~30K prompts The RLVR step, zoomed in policy samples yvLLM, own GPUs verifier v(x, y)10 if correct, else 0 r = v − β·KLref = DPO model PPO updatewhitened GAE adv. value modelinit from general RM new weights; learner uses the second-latest batch extras no EOS: −10 dropout off no RM score in reward RLVR prompts: GSM8K 7,473 · MATH 7,500 · IF constraints 14,973. Final 8B: β = 0.05.
Original sketch. The four Tülu 3 stages and the RLVR loop: checker reward minus KL to the DPO reference, PPO with a value model initialized from a general reward model.
  • Final models (Table 23, Llama 3.1 Instruct → Tülu 3 DPO → Tülu 3 with RLVR). 8B: average 62.2 → 64.4 → 64.8; MATH 42.5 → 42.0 → 43.7; GSM8K 83.4 → 84.3 → 87.6; IFEval 80.6 → 81.1 → 82.4. 70B: average 73.4 → 75.9 → 76.0; MATH 56.4 → 62.3 → 63.0; GSM8K flat at 93.5; IFEval 82.6 → 83.2 (Llama 3.1 Instruct: 88.0). Most of the gain over Llama 3.1 Instruct comes from SFT and DPO; RLVR adds the last point or so.
  • Some 8B runs reached GSM8K 89.4 and IFEval 84.8 but scored worse on other benchmarks, so a checkpoint with a better overall average was released instead.
  • 405B (§6.4, App.). RLVR on MATH only, since GSM8K was saturated and IFEval data did not help. MATH rose by more than 5 points within 25 steps. Training stopped at 75 steps because of infrastructure limits.
  • Ablations (§6.2, Figs. 19–22). RLVR raises the training reward and test scores on each targeted task. A value model from a general RM works best. Adding RM scores to the checker reward hurts. Starting from SFT reaches the same reward as starting from DPO, but with more KL and usually worse test scores. Lower β means more KL and usually lower averages.
  • Cost (§6.3). The final RL runs took 65 h on 8 GPUs (8B), 60 h on 48 GPUs (70B) and 46 h on 256 GPUs (405B).
  • RLVR gains are small and single-run. The checkpoint was picked on the development suite, so part of the gain may be selection.
  • Short responses (2,048 tokens) and a KL anchor: this is not the long chain-of-thought regime of DeepSeek-R1 or DAPO, which drop the KL and often the critic.
  • The instruction-following checker is gameable (App. B.4: printing a required word 25 times and nothing else). A checker that tests a necessary property is not a full task reward; see Reward hacking with noisy verifiers.
  • There is a typo-level inconsistency on the 70B KL coefficient: the Table 21 caption says β = 0.07, while §6.4 says 0.7. Check the released configs before reusing it.
  • The recipe has since been superseded by AI2’s Olmo 3 reports; Tülu 3 remains the clearest description of the RLVR stage on its own.

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.

  1. Derive / compute

    Tülu 3 RLVR uses reward α·1[correct] − β·KL with α = 10 and β = 0.05. Compute the reward of a correct answer whose summed KL to the reference is 4 nats and of a wrong answer with 2 nats. Then rescale so a correct answer is worth 1. Under what additional assumptions does whitening make the policy update depend only on β/α, and which parts of actual PPO training can break that equivalence?

    What a strong answer covers
    • Correct: 10 − 0.05·4 = 9.8. Wrong: 0 − 0.05·2 = −0.1.
    • Dividing by α = 10 gives 0.98 and −0.01: the same problem as a 0/1 reward with β = 0.005.
    • At fixed trajectories, GAE advantages scale uniformly only if rewards, terminal penalties, value predictions and bootstrap values are all scaled together (GAE mixes rewards with value predictions). Whitening (subtract mean, divide by std) then removes that scale, apart from numerical epsilon.
    • What breaks it in a real run: the −10 no-EOS penalty must be rescaled too; the critic is trained on the old scale and must be refit, and the value loss changes scale, so critic fitting and optimizer dynamics differ.
    • So under these idealized conditions α = 10 is not an independent knob, and reported β values are best compared after dividing by the reward scale; changing α in a real run need not be equivalent.
  2. Mechanism

    Explain three PPO implementation details Tülu 3 reports for RLVR (value model initialized from a general reward model, dropout disabled, a −10 penalty for responses without an end-of-sequence token) and the failure each one prevents.

    What a strong answer covers
    • Value from a general RM: the critic starts with a sense of response quality instead of random or policy weights; the paper finds it gives the best GSM8K and average scores (Fig. 22).
    • Dropout off: the log-probs computed at sampling time and at training time must match, so the first PPO epoch has ratio 1. With dropout they differ randomly, and many ratios can be clipped, giving zero gradient.
    • No-EOS penalty: responses are cut at the maximum length; without the penalty, rambling past the limit costs nothing extra, and the model never learns to finish.
    • All three are about making the PPO signal mean what it should, not about the verifier itself.
  3. What if…

    Section 6.2 reports four RLVR ablations: a β sweep on each task, value-model initialization, adding reward-model scores to the verifiable reward, and starting from SFT instead of DPO. State each finding and one reason it may not transfer to long chain-of-thought RL on a stronger base model.

    What a strong answer covers
    • Lower β gives more KL and, beyond a point, lower average scores: over-optimization, even with a checker.
    • Value from a general RM beats value from the DPO policy.
    • Adding RM scores to the verifiable reward adds noise and hurts; use the checker alone.
    • SFT and DPO starts reach the same training reward, but SFT pays more KL and usually ends with lower test scores.
    • Transfer limits: responses capped at 2,048 tokens, 8B Llama with modest gains, a few seeds, single checkpoints chosen on a dev set. Long-CoT RL (R1, DAPO) drops KL and the critic and runs far longer.
  4. Critique

    Appendix B.4 shows the RLVR model answering an instruction to use the word craspedodromous 25 times by printing just that word 25 times. Explain why the IFEval-style verifier rewards this, what that says about verifiable rewards in general, and propose a reward that would not.

    What a strong answer covers
    • The checker tests only the constraint (word count), not whether the task (measuring the pen) was done, so a response that meets the constraint and ignores the task gets full reward.
    • A verifier checks a property that is necessary but not sufficient for a good answer; RL finds the cheapest response with that property. This is reward hacking with a perfectly accurate checker.
    • Fix: combine the constraint check with a task-completion check (reference answer, rubric or judge) and give credit only when both hold; or keep a KL anchor and stop early.
    • Math checkers are closer to sufficient (the final answer is the task), which is why RLVR on GSM8K or MATH is less hackable than on instruction constraints.
  5. Connect

    Take one math prompt whose current success rate is 25%, with four sampled answers rewarded [10, 0, 0, 0] in Tülu's scale. Compare the advantage of the correct answer under PPO with an ideal critic, ignoring KL, with the GRPO group-mean baseline. When does the critic help, and when does the group help?

    What a strong answer covers
    • An ideal critic predicts V = 0.25·10 = 2.5 at the prompt, so with γ = λ = 1 the correct answer gets about +7.5 and each wrong one −2.5, before whitening.
    • GRPO's group mean is 2.5 here too, so the baseline matches (+7.5 and −2.5; dividing by std then rescales).
    • The group mean is an unbiased 4-sample estimate of the critic's value at the prompt, with no network to train, but it is noisy for small G and gives one advantage to every token.
    • A trained critic can assign different values to different prefixes (token-level credit), but on long reasoning it is hard to learn and can be biased; Tülu's responses are short, which makes PPO workable.
  6. Design

    Design an RLVR stage for a retrieval-augmented question-answering model, using only signals you can check automatically. List the verifiers you would use, the hack you expect from each, and how you would decide that RL helped rather than just raising the training reward.

    What a strong answer covers
    • Verifiers: exact match or normalized-answer match on short-answer QA; citation check that the cited passage contains the answer string; format check for the citation syntax.
    • Expected hacks: listing many candidate answers to hit exact match, citing every retrieved passage, copying an answer-shaped span without reasoning.
    • Guards: cap answer length, require precision as well as recall on citations, keep a KL anchor, and use a held-out judge or human spot checks.
    • Evaluation: held-out questions, plus a general suite like Tülu's to catch regressions; track KL and length alongside reward; compare at matched compute against more DPO or SFT.

Done with this page?

Status