LearnQuestion bank

What is reinforcement learning with verifiable rewards, how does GRPO work, and why has it become popular for reasoning and agentic-coding models?

Applied LLMTechnicalVery hard

Theme reported publicly: Isomorphic Labs

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • RLVR uses programmatic verifiers (tests pass, answer matches, execution succeeds) instead of a learned reward model, reducing reward-model exploitation but not test hacking.
  • GRPO samples a group of responses per prompt, normalizes rewards within the group into advantages, and optimizes a clipped PPO-style objective with optional KL, without a value network.
  • DAPO-style refinements add asymmetric clipping, drop groups with identical rewards, token-level loss, and overlong/length shaping.
  • It fits reasoning and agentic coding because outcomes are checkable; SFT warm-up mostly fixes format, and agentic tasks need sandboxes/tools plus verifiers.
  • Risks include entropy collapse, reward hacking, and high rollout compute cost.

In full

RLVR is reinforcement learning where the reward comes from a programmatic checker, such as unit tests passing, an answer matching a reference, or code executing successfully, rather than from a learned reward model; that makes the signal harder to game than a proxy reward, though it does not eliminate test hacking. GRPO works by sampling a group of responses for the same prompt, scoring each with the verifier, and turning the rewards into within-group normalised advantages (each reward minus the group mean, divided by the group standard deviation), then optimizing a clipped PPO-style objective with an optional KL term and no value network. DAPO-style refinements make this more stable and efficient by using asymmetric clipping, dropping groups whose rewards are identical because they carry no signal, using token-level loss, and shaping overlong outputs. It has become popular for reasoning and agentic-coding models because those tasks often have verifiable outcomes, so you can scale training with rollouts instead of collecting preference labels; SFT warm-up mostly teaches format and basic behaviour, while agentic settings additionally need sandboxes, tools, and reliable verifiers. The main risks are entropy collapse, reward hacking or gaming the checker, and the large rollout compute cost, so the method is powerful but not a free lunch.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Reward from a programmatic checker (tests pass, answer matches) instead of a learned reward model; less model-exploitation but test hacking remains possible
  • GRPO: sample a group of responses per prompt; advantage = reward normalised within the group; no value network; clipped PPO-style objective, optional KL
  • DAPO-style refinements: asymmetric clipping, dropping groups with identical rewards (zero signal), token-level loss, overlong shaping
  • Needs tasks with verifiers, not demonstrations; SFT warm-up mostly fixes format; sandboxes for agentic environments
  • Risks: entropy collapse, reward hacking, rollout compute cost

Common mistakes

  • Thinking RL needs expert trajectories rather than tasks
  • ignoring all-pass/all-fail groups that carry no gradient