Reasoning

Wiki chapters and blog posts about Reasoning.

Wiki

Test-Time Compute: Spending Compute on Inference

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.

Advanced 28 min read

Reinforcement Learning for Reasoning: RLVR and GRPO

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.

Advanced 21 min read

Reasoning RL systems: asynchronous rollouts and policy lag

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.

Intermediate 9 min read

Blog posts

GDPO: Why Multi-Reward RL Should Normalize Each Reward on Its Own

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.

Paper notes arXiv 2026

GSPO: Moving Importance Ratios and Clipping From Tokens to Whole Responses

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.

Paper notes arXiv 2025

Does RL expand reasoning capacity? Evidence from pass@k

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.

Paper notes arXiv 2025

DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning

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.

Paper notes arXiv; Nature 645 (2025) 2025

rStar-Math: Self-evolved MCTS for mathematical reasoning

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.

Paper notes arXiv 2025

DeepSeekMath: Math Corpus, GRPO and a Unified View of Reinforcement Learning

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.

Paper notes arXiv 2024

Topics