Design the prompt as a task interface: write a task spec, layer system, examples and context, separate format errors from wrong judgments with an eval set, and use data to decide when few-shot, chain-of-thought or structured output pays off. Includes a runnable ticket-triage experiment.
Synthetic data is generated by a model or a program and then used for training. It keeps helping only with an outside signal: a verifier, a stronger teacher or fresh real data. Two experiments show recursive training losing the tail and only a verifier letting self-training bootstrap.
Test-time compute is extra computation spent while answering each question: voting over samples, verifier selection, revision, search and RL-trained long chains of thought. A reproducible simulation shows what caps the gain, what a fooled verifier does and why wall-clock time differs.
Since o1 and DeepSeek-R1, making a model think longer before answering has become the main line of post-training. Why verifiable rewards (RLVR) can replace a reward model, how GRPO drops the value model, and the recipe and pitfalls of R1-Zero and R1.
Reasoning RL joins generation, grading, learning, and weight publication. Asynchronous execution overlaps work and introduces policy lag. A runnable scheduling simulation separates elapsed time, accepted batches, and discarded trajectories.
GDPO is NVIDIA's January 2026 fix for multi-reward RL. GRPO sums the rewards before normalizing, which can collapse different reward combinations into one advantage; GDPO normalizes each reward first. This post re-enumerates the paper's counts and flags claims that do not check out.
GSPO (Group Sequence Policy Optimization), from the Qwen team in 2025, replaces GRPO's per-token importance ratios and clipping with one length-normalized ratio per response, and reportedly needs no Routing Replay for MoE models. This post reviews it and verifies its gradients in code.
Qwen3 (2025) is a family of eight Apache-2.0 open models, six dense and two MoE. One checkpoint has thinking and non-thinking modes, thinking can be capped by a budget, and small models are distilled from large ones. This post recomputes all parameter counts and runs a budget experiment.
Using large-k pass@k, this study finds RL improves small-k success while base models often match or exceed coverage at large k, suggesting RL redistributes existing ability more than creating new reasoning.
DAPO, open-sourced by ByteDance Seed and partners, adds Clip-Higher, dynamic sampling, token-level loss and overlong reward shaping to GRPO and reaches 50 on AIME 2024 (avg@32) from a Qwen2.5-32B base, against 30 for naive GRPO. Code checks the mechanisms and numbers behind each trick.
s1 selects 1K high-quality, difficult and diverse trajectories from 59K candidates, fine-tunes Qwen2.5-32B and controls reasoning length through budget forcing with Wait.
DeepSeek-R1 shows that large-scale reinforcement learning with automatically checkable rewards lets a base model grow long chains of thought; a cold start and four stages make it usable. We recompute the paper's data and cost tables, list what does not add up, and cover later corrections.
rStar-Math co-evolves a 7B policy and process reward model over four rounds. MCTS generates stepwise trajectories and step preferences train the verifier, reaching 58.8% on MATH without GPT-4 distillation.
Snell et al. (2024) study how to spend inference compute on MATH: the best method depends on question difficulty, and allocating by difficulty needs up to about 4 times less compute than best-of-N. I recompute the paper's FLOPs exchange rate and replicate a small part with Qwen2.5.
DeepSeekMath 7B continues pretraining on 120B tokens of web math, then uses GRPO, reinforcement learning without a value model, to reach 51.7% on MATH with no tools or voting. This post covers the corpus pipeline, ablations, GRPO's math and a unified view of SFT, RFT, DPO, PPO and GRPO.
OpenAI compares outcome and process supervision on MATH. A reward model trained on 800K human step labels (PRM800K) solves 78.2% of problems at best-of-1860, against 72.4% for an outcome reward model and 69.6% for majority voting. A small simulation shows why step labels save data.
ReAct treats thought as an action: a model alternates thoughts, tool calls and observations in one trace, from a few examples and without parameter updates. This post covers the paper's four tasks, rechecks its tables, and compares four prompts with Qwen3-4B on a fictional wiki.
Chain-of-thought (CoT) prompting writes the intermediate steps into few-shot exemplars so a model reasons before it answers; with eight exemplars PaLM 540B rises from 17.9% to 56.9% on GSM8K. It rechecks the paper's tables and compares direct answers, filler dots and CoT on Qwen2.5 models.