Skip to content
Skip to lesson
Back to Topics
HardFine-Tuning & Training14 min read

RLVR & Verifiable Rewards

Train reasoning and agent models with executable verifiers, GRPO group advantages, reward-hacking defenses, and production rollout systems (token-in-token-out, observation loss masks, async staleness, and weight sync).

On this page

A compute cluster has 14 workers with 12 available slots each and one slot per job. How many concurrent jobs fit? The product is 168. A deterministic checker marks 168 right and 148 wrong in microseconds, with zero human raters and no learned reward model drifting out of distribution.

That single shift drives : replace a learned preference scorer with an executable check whenever correctness can be tested by code, symbolic math, a SQL engine, or a theorem prover.[1] Tülu 3 popularized the RLVR name, and DeepSeek-R1 scaled rule-based rewards inside a multi-stage reasoning pipeline.[1][2]

Replacing a neural reward model with code does not eliminate reward hacking; it aims optimization pressure straight at your parser rules and rollout infrastructure. A loose parser rewarding \boxed{168} anywhere invites multi-box answer spraying, an unisolated code sandbox invites test exfiltration, and an async rollout loop that drops observation masks or loses policy-version tracking silently corrupts gradients.

A math prompt (14 workers × 12 slots = 168) produces two completions: Trace A uses sound multiplication (14 × 12 = 168) and Trace B guesses a shortcut ("ends in 8"), yet both end with \boxed{168}. Because the deterministic verifier only extracts and checks the final answer (168 = 168), both receive reward r = 1, illustrating why outcome rewards alone do not verify intermediate reasoning.
A final-answer verifier grades only the extracted output token; trace soundness is separate. GRPO is one optimizer for turning those rewards into policy updates.

Where RLVR fits in post-training

RLVR complements , RLHF, and DPO rather than replacing them:

MethodSupervision signalBest-fit task scope
SFTReference demonstration tokens (cross-entropy)Base formatting, syntax, and distilled teacher traces
RLHFLearned scalar reward from preference pairs[3]Open-ended quality (tone, clarity, nuanced helpfulness)
DPOOffline chosen vs. rejected preference pairs[4]Direct preference alignment without online rollouts
RLVRExecutable programmatic checksExact verifiable properties (math, code, SQL, proofs)
Four-row visual comparison of post-training supervision signals for prompt 14 x 12 = 168: SFT applies dense per-token cross-entropy across every target token; RLHF scores a completion with a learned continuous scalar reward model r_phi before PPO; DPO directly widens the pairwise log-ratio margin between chosen 168 and rejected 148; RLVR runs a deterministic executable verifier producing exact binary 0 or 1 rewards for PPO or GRPO.
Demonstrations supply per-token targets, preference pairs supply continuous scores or pairwise margins, and executable checks supply binary rewards for PPO or GRPO.

Designing executable verifiers

In minimal outcome-only form, a verifiable reward r(x,y)r(x, y) returns 1 if completion yy passes verification for prompt xx and 0 otherwise:

r(x,y)={1if y passes verification0if y fails verificationr(x, y) = \begin{cases} 1 & \text{if } y \text{ passes verification} \\ 0 & \text{if } y \text{ fails verification} \end{cases}

Variants adjust scale and auxiliary terms: Tülu 3 scored +10+10 pass, 00 fail, and −10-10 for missing EOS under PPO,[1] while DeepSeek-R1-Zero summed accuracy and <think>...</think> format rewards.[5] Keep format credit strictly smaller than correctness so spotless wrong answers never outrank correct ones.

Outcome blindness and infrastructure quarantine

Outcome grading scores only the final extracted answer, not the reasoning trace: a lucky shortcut ("97 ends in 7, so it is prime. \boxed{Yes}") earns the same 1.0 as a valid divisibility check, while a 40-step proof with one arithmetic slip on line 39 gets 0.0. (Process supervision, such as learned Process Reward Models[6] or tactic checkers, localizes mid-trace errors when step labels exist.[7])

Verifiers across math, code, SQL, and formal proofs

exact-math-verifier.py
NUM_RE = re.compile(r"-?[0-9]{1,20}(?:\.[0-9]{1,20})?")

def extract_single_boxed(text: str) -> str | None:
    if len(text) > 4096 or text.count(r"\boxed") != 1:
        return None
    m = re.findall(r"\\boxed\{(-?[0-9]{1,20}(?:\.[0-9]{1,20})?)\}", text)
    return m[0] if len(m) == 1 else None

def parse_exact(val: int | str) -> Fraction:
    if NUM_RE.fullmatch(str(val)) is None:
        raise ValueError(f"Invalid reference: {val!r}")
    return Fraction(Decimal(str(val)))

def verify_math(resp: str, truth: int | str, tol: str = "0") -> float:
    exp, eps = parse_exact(truth), parse_exact(tol)
    ans = extract_single_boxed(resp)
    return 0.0 if ans is None else float(abs(Fraction(Decimal(ans)) - exp) <= eps)

for name, r, t, tol in [("correct", r"14*12=168. \boxed{168}", 168, "0"),
                        ("ambiguous", r"\boxed{168} or \boxed{148}", 168, "0"),
                        ("in_tol", r"\boxed{50.36}", "50.35", "0.01"),
                        ("out_tol", r"\boxed{50.361}", "50.35", "0.01")]:
    print(f"{name:9s}: reward={verify_math(r, t, tol)}")
Output
correct  : reward=1.0
ambiguous: reward=0.0
in_tol   : reward=1.0
out_tol  : reward=0.0
code_sql_proof_verifiers.py
from collections import Counter
import json, sqlite3, subprocess, sys

def code_verifier(code: str, cases: list[tuple[tuple[int, ...], int]]) -> float:
    for inputs, expected in cases:
        runner = code + f"\nimport json\nprint(json.dumps(solve(*{inputs!r})))\n"
        try:
            proc = subprocess.run([sys.executable, "-I", "-c", runner], capture_output=True, text=True, timeout=1.0)
        except subprocess.TimeoutExpired:
            return 0.0
        if proc.returncode != 0: return 0.0
        try: val = json.loads(proc.stdout)
        except json.JSONDecodeError: return 0.0
        if type(val) is not int or val != expected: return 0.0  # reject bool (True == 1)
    return 1.0

def sql_verifier(query: str, expected_rows: list[tuple]) -> float:
    conn = sqlite3.connect(":memory:")
    conn.execute("CREATE TABLE jobs (slots INT)")
    conn.executemany("INSERT INTO jobs VALUES (?)", [(4,), (None,), (7,), (None,)])
    try: rows = conn.execute(query).fetchall()
    except sqlite3.Error: return 0.0
    finally: conn.close()
    return float(Counter(rows) == Counter(expected_rows))

allowed = {"Classical.choice", "propext", "Quot.sound"}
cases = [((14, 12), 168), ((8, 12), 96)]
print("code good/bad/bool:", code_verifier("def solve(a,b): return a*b", cases),
      code_verifier("def solve(a,b): return a+b", cases), code_verifier("def solve(a,b): return True", [((1,1),1)]))
exp = [(4,), (None,), (7,), (None,)]
print("sql order/distinct:", sql_verifier("SELECT slots FROM jobs ORDER BY slots DESC", exp),
      sql_verifier("SELECT DISTINCT slots FROM jobs", exp))
print("proof valid/sorryAx:", float({"Classical.choice"} <= allowed), float({"sorryAx"} <= allowed))
Code, SQL, and proof verifiers
code good/bad/bool: 1.0 0.0 0.0
sql order/distinct: 1.0 0.0
proof valid/sorryAx: 1.0 0.0

Open-ended writing, architectural judgment, and nuanced safety tone still lack exact executable rules and belong to RLHF/DPO or human review.

Group Relative Policy Optimization (GRPO)

RLVR defines the reward source; and define the policy update. Standard PPO trains a separate critic Vϕ(st)V_\phi(s_t), doubling model and optimizer state.[13] DeepSeekMath introduced GRPO to drop the critic completely, and DeepSeek-R1 scaled it across reasoning post-training.[14][2]

For each prompt qq, sample GG completions {o1,…,oG}\{o_1, \dots, o_G\}, verify each, and normalize against the group mean and population standard deviation:

Ai=ri−mean({r1,…,rG})std({r1,…,rG})A_i = \frac{r_i - \text{mean}(\{r_1, \dots, r_G\})}{\text{std}(\{r_1, \dots, r_G\})}

With G=8G = 8 rollouts where four hit 168 (r=1r=1) and four miss (r=0r=0), mean 0.5 and std 0.5 assign Ai=+1.0A_i = +1.0 to passes and −1.0-1.0 to misses. Uniform groups ([1,1,1,1] or [0,0,0,0]) receive guarded Ai=0A_i = 0 (zero comparative reward gradient, though an enabled KL term still emits gradients).

Mean 0.5 and population std 0.5 yield advantages +1 and −1; uniform groups receive guarded zero advantages.

GRPO optimizes a PPO-clipped token surrogate over included generated tokens TiT_i, regularized by per-token KL estimator ki,t=exp⁡(ℓi,t)−ℓi,t−1k_{i,t} = \exp(\ell_{i,t}) - \ell_{i,t} - 1 (ℓi,t=log⁡πref−log⁡πθ\ell_{i,t} = \log\pi_{\text{ref}} - \log\pi_\theta):[14]

L=−1G∑i=1G1Ti∑t=1Ti[min⁡ ⁣(ρi,tAi,clip⁡(ρi,t,1−ϵ,1+ϵ)Ai)−βki,t]\mathcal L = -\frac{1}{G}\sum_{i=1}^{G}\frac{1}{T_i}\sum_{t=1}^{T_i} \left[\min\!\left(\rho_{i,t}A_i,\operatorname{clip}(\rho_{i,t},1-\epsilon,1+\epsilon)A_i\right)-\beta k_{i,t}\right]

Here ρi,t=exp⁡(log⁡πθ−log⁡πold)\rho_{i,t} = \exp(\log\pi_\theta - \log\pi_{\text{old}}) compares the current policy to the frozen rollout policy. Note two practical distinctions: evaluating ki,tk_{i,t} on tokens sampled from πθ\pi_\theta matches reverse KL DKL(πθ∥πref)D_{\text{KL}}(\pi_\theta \parallel \pi_{\text{ref}}) in value in expectation, whereas differentiating ki,tk_{i,t} on fixed sampled tokens yields the forward KL gradient ∇θDKL(πref∥πθ)\nabla_\theta D_{\text{KL}}(\pi_{\text{ref}} \parallel \pi_\theta) in expectation and therefore differs from differentiating full categorical reverse KL; and trainers such as TRL GRPOTrainer and DAPO[15][16] expose global active-token averaging, decoupled upper/lower clip thresholds, optional β=0\beta = 0, and dynamic filtering of zero-variance groups under a hard generation cap (at a 1% pass rate with G=64G = 64, only 1−0.0164−0.9964≈47.4%1 - 0.01^{64} - 0.99^{64} \approx 47.4\% of groups are mixed).

categorical-policy-update.py
import torch

def group_adv(r: torch.Tensor) -> torch.Tensor:
    std = r.std(correction=0)
    return torch.zeros_like(r) if std == 0 else (r - r.mean()) / std

def clip_surr(ratio: torch.Tensor, adv: torch.Tensor, eps: float = 0.2) -> torch.Tensor:
    return torch.minimum(ratio * adv, ratio.clamp(1.0 - eps, 1.0 + eps) * adv)

rewards = torch.tensor([1., 0., 0., 1., 0., 1., 0., 1.], dtype=torch.float64)
adv = group_adv(rewards)
logits = torch.zeros(8, dtype=torch.float64, requires_grad=True)
ref_lp = logits.detach().log_softmax(dim=0)

for step in range(1, 11):
    old_lp = logits.detach().log_softmax(dim=0)
    lp = logits.log_softmax(dim=0)
    kl = ((ref_lp - lp).exp() - (ref_lp - lp) - 1.0).mean()
    loss = -clip_surr((lp - old_lp).exp(), adv).mean() + 0.05 * kl
    logits.grad = None; loss.backward()
    with torch.no_grad():
        logits -= 0.4 * logits.grad
        p_pass = logits.softmax(dim=0)[rewards == 1].sum().item()
    if step in (1, 5, 10):
        print(f"step={step:2d} | pass_prob={p_pass:.4f} | kl={kl.item():.5f}")

grads = []
for rv, av in [(1.3, 1.0), (0.7, -1.0), (0.7, 1.0), (1.3, -1.0)]:
Output
step= 1 | pass_prob=0.5250 | kl=0.00000
step= 5 | pass_prob=0.6218 | kl=0.02050
step=10 | pass_prob=0.7284 | kl=0.11546
clip grads [0, 0, 1, -1]: [0.0, 0.0, 1.0, -1.0]
DimensionPPOGRPO
Baseline valueLearned critic network Vϕ(st)V_\phi(s_t)Group mean reward over GG rollouts
Extra model stateCritic parameters, optimizer states, activationsNo critic network; rollout buffer still required
Primary failure modeCritic value driftZero-variance groups yield zero reward advantage
Best fitDense or sparse rewards with small batch sizesVerifiable tasks where GG rollouts are cheap to grade

Note also that trainer class names (such as TRL's GRPOTrainer) hide critical objective choices: always log the exact loss reduction (per-response mean vs. global active-token mean, which eliminates length bias across uneven responses), clipping thresholds, advantage normalization, and KL differentiation convention alongside benchmark numbers.[16]

RLVR training systems: rollouts, masks, and async weight sync

Scaling RLVR to multi-turn coding, SQL, and tool-use agents exposes four systems failure modes that corrupt training even when verifier and GRPO math are exact.[17]

Diagram showing Prompt batch, Generator (TI-TO + loss_masks), actions / observations, and Sandbox / Verifier.

Token-in-token-out (TI-TO) rollouts

Never decode sampled token IDs to chat text and re-tokenize them in the trainer. BPE tokenizers are not round-trip injective across turn edges, so re-tokenizing shifts merges and makes the trainer evaluate log⁡πθ\log\pi_\theta on different token IDs than the sampler emitted. carries raw sampled response_ids and behavior logprobs directly from inference to trainer, appending tokenized observations as integer IDs.[18]

Observation loss_masks in multi-turn trajectories

In multi-turn trajectories, model actions ([11, 12]) interleave with observations ([90]) and repair actions ([21, 22]). Observation 90 must remain in context for downstream attention, yet must carry loss_mask = 0 so policy gradients and KL penalties apply only to model-generated action tokens (loss_mask = 1). Unmasked environment stdout trains the policy to predict tool errors and corrupts importance ratios.

Async rollout staleness and off-policy correction

Synchronous RL stalls the cluster behind slow sandboxes or long traces. Asynchronous RL (AReaL,[19] SkyRL[20]) overlaps persistent rollout workers with trainer updates under an aggregate staleness budget. With lag staleness⁡i=si−gi\operatorname{staleness}_i = s_i - g_i, mini-batch BB, and max_staleness_steps =S= S, the controller enforces at step ss:

accepted+running≤(S+s) B\text{accepted} + \text{running} \le (S + s)\,B

Since (s−1)B(s - 1)B groups are already consumed, at most B(S+1)B(S + 1) groups sit buffered or in flight simultaneously (individual stragglers can still finish with lag >S> S, so monitor the full lag histogram alongside filtered zero-variance groups).[21] Keep the original sampling behavior logprobs as πold\pi_{\text{old}} and pair PPO clipping with truncated ; even at zero lag, FSDP trainer kernels and vLLM inference kernels (or MoE routing) drift slightly without behavior logprobs.[22]

rlvr_masks_and_staleness.py
import numpy as np

masks = np.array([1, 1, 0, 1, 1], dtype=bool)
lp = np.array([-0.2, -0.4, 0.0, -0.6, -0.8], dtype=np.float32)
def masked_nll(x, m): return float(-np.mean(x[m]))

obs_mut, act_mut = lp.copy(), lp.copy()
obs_mut[2], act_mut[4] = -99.0, -1.2
print(f"nll: base={masked_nll(lp, masks):.2f} | obs_mut={masked_nll(obs_mut, masks):.2f} | act_mut={masked_nll(act_mut, masks):.2f}")

B, S = 1, 2
for step, grp, started, acc, run in [(1,"A",1,2,1), (2,"B",1,3,1), (3,"C",2,3,1), (4,"L",1,4,0)]:
    out = acc - (step - 1) * B + run
    assert acc + run <= (S + step) * B and out <= B * (S + 1)
    print(f"step={step} group={grp} lag={step - started} outstanding={out}")
Observation masks and async staleness
nll: base=0.50 | obs_mut=0.50 | act_mut=0.60
step=1 group=A lag=0 outstanding=3
step=2 group=B lag=1 outstanding=3
step=3 group=C lag=1 outstanding=2
step=4 group=L lag=3 outstanding=1

Actor-to-inference weight synchronization

After each optimizer step, updated weights must reach inference replicas cleanly:[23]

Sync transportMechanismTradeoff
NCCL broadcast / RDMAPause disaggregated vLLM replicas; broadcast tensors over GPU linksFastest step sync at scale; requires coordinated pause/finish handshake
CUDA IPC handlesColocated trainer/sampler share GPU memory (/sleep, /wake_up)Zero network copy; couples rollout and train GPU counts
Shared disk / object storeTrainer saves files; replicas reload from storageSimple isolation, but disk I/O stalls frequent RL steps

Safe sync pauses generation (preserving in-flight KV if resuming paused turns, while salting prefix-cache keys by policy version so stale KV blocks never leak across versions),[20] broadcasts weights, verifies every replica finished its handshake and reports the target version (quarantining stragglers), and only then resumes. Keep ephemeral sampler sync separate from durable training checkpoints (which persist optimizer moments, LR schedulers, and prompt cursors).

DeepSeek-R1 pipeline, reward hacking, and distillation

Multi-stage reasoning pipeline and emergent behaviors

DeepSeek-R1-Zero applied pure GRPO with accuracy and format rewards directly to DeepSeek-V3-Base, rising from 15.6% to 71.0% pass@1 on AIME 2024 (86.7% with 64-sample majority voting; 77.9% in the expanded report), proving strong reasoning emerges without human demonstrations, though traces mixed languages and hurt readability.[5][2] DeepSeek-R1 resolved those issues across four stages:

  1. Cold-start SFT: Fine-tune DeepSeek-V3-Base on several thousand curated, readable reasoning traces so RL begins from clean formatting in the target language.
  2. Reasoning RL (GRPO): Scale verifiable math, coding, science, and logic RL with an accuracy reward plus a language-consistency reward.
  3. Rejection sampling + SFT: Filter roughly 600k verified reasoning traces plus 200k general non-reasoning samples and fine-tune the base model from scratch on all 800k examples.
  4. Final RL: Combine rule-based reasoning rewards with preference reward models (grading helpfulness and harmlessness) to balance reasoning and general assistant utility.

Under terminal verifiable rewards, models spontaneously lengthen chains of thought and exhibit self-verification, backtracking, and extended . Still, always run controlled baselines and track : Shao et al. found that on Qwen2.5-Math-7B even random rewards raised MATH-500 by 21.4 points (vs 29.1 for ground truth), whereas Llama 3 and OLMo 2 saw weak or negative gains, showing how strongly pretraining priors interact with RLVR clipping.[24]

Reward hacking and degenerate failure modes

Adversarially test every parser and reward weight before burning GPU hours. Giving independent credit to formatting tags teaches spotless wrong answers: watch a broken reward function that pays 0.7 for any \boxed{...} integer outrank a plain-text correct answer (0.3), while a correctness-first rule scores the wrong box 0.0:

format-reward-trap.py
def boxed_int(text: str) -> int | None:
    if text.count(r"\boxed") != 1:
        return None
    m = re.findall(r"\\boxed\{([0-9]{1,20})\}", text)
    return int(m[0]) if len(m) == 1 else None

def broken_reward(text: str, expected: int) -> float:
    return 0.7 if boxed_int(text) is not None else (0.3 if str(expected) in text else 0.0)

def strict_reward(text: str, expected: int) -> float:
    return 1.0 if boxed_int(text) == expected else 0.0

wrong_boxed, right_plain = r"The answer is \boxed{148}.", "The answer is 168."
print(f"broken_prefers_wrong={broken_reward(wrong_boxed, 168) > broken_reward(right_plain, 168)} | strict_wrong={strict_reward(wrong_boxed, 168)}")
Format reward trap
broken_prefers_wrong=True | strict_wrong=0.0
A response string containing two contradictory answer boxes (\boxed{168} ... actually \boxed{148}, gold = 168) is scanned by two parser rules. First-match extraction stops at the first box (168) and erroneously awards r = 1 while ignoring the contradiction. Single-box validation scans the entire response, counts 2 boxes, rejects the ambiguity, and returns r = 0. Below, a clean single-box output \boxed{168} parses as Fraction(168) = gold and earns r = 1.
First-match extraction misses a contradictory second box and awards 1; single-box validation rejects ambiguity first.

Harden your RLVR pipeline against four recurring failure modes:

  • Format gaming and trailing loopholes: Enforce single-box extraction, keep format credit strictly subordinate to correctness, and validate full structure (for example, checking total line count on a 3-bullet rule rather than sum(line.startswith("- ")) == 3).
  • Held-out generalization checks: Hold fresh test suites out of optimization prompts so lookup-table memorization is caught immediately.
  • Truncation cliffs: Monitor truncation rates and evaluate soft overlong penalties near the context cap so long traces finish cleanly instead of cutting off before the final answer.[15]
  • General capability drift: Heavy reasoning RL can erode instruction following or inflate unnecessary refusals; evaluate reasoning, instruction adherence, and refusal slices side by side before promoting a checkpoint.

RLVR and distillation work in sequence

RLVR discovers high-reward reasoning trajectories through online exploration; distillation transfers filtered teacher traces into smaller, cheaper students via SFT without running online RL on the student:

DimensionRLVRDistillation
Supervision originExecutable checks on the policy's own rolloutsFiltered teacher traces or teacher logits
Optimization objectivePolicy gradient (GRPO / PPO) maximizing verifier scoreCross-entropy / KL matching teacher targets
Core dependencyReliable verifiers, nonzero rollout variance, clean weight syncCapable teacher and curated training mixture
Primary riskVerifier loopholes, zero-variance collapse, off-policy driftInheriting teacher blind spots

DeepSeek-R1 distilled ~800k curated samples into smaller Qwen and Llama students: distilled Qwen2.5-32B reached 72.6% pass@1 on AIME 2024 versus 47.0% for direct RLVR on the same 32B base model.[5] Use RLVR to push the frontier teacher, then distill into fast, low-cost students.

Check your understanding

Mastery Check

Check each question as you go, or answer all of them and check together. Score 75% or higher to complete this lesson.

0 of 5 answered
1.Run K exceeds its candidate time limit on a healthy worker. In run M, the verifier service times out offline. In run P, the reference is malformed and the candidate omits the answer field. What should the grader record for (K, M, P)?
2.Four responses earn rewards [9, 3, 11, 5]. What are the group mean, population standard deviation, and GRPO advantages (3 decimals)?
3.Token A has ratio 1.4 and advantage +2; token B has ratio 1.5 and advantage -2. With epsilon = 0.2, what are the clipped surrogate terms (A, B) before negating for loss, and which policy supplies the ratio denominator?
4.A multi-turn trajectory has loss_masks [1, 0, 1, 1, 0, 1] and logprobs [-0.2, -9.0, -0.6, -1.0, -7.0, -0.8]. What is the action-only masked mean NLL, and why use token-in-token-out rollouts?
5.An async RLVR run uses B = 2 and S = 1. During weight sync across three vLLM replicas, broadcast RPC returns 200, two replicas report version 13, and replica 3 reports version 12. Should generation resume, and what is the max outstanding group headroom?

5 questions remaining.

References

Tülu 3: Pushing Frontiers in Open Language Model Post-Training

Lambert, N., et al. · 2024 · arXiv preprint

https://arxiv.org/abs/2411.15124

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

DeepSeek-AI · 2025

https://arxiv.org/abs/2501.12948

Training Language Models to Follow Instructions with Human Feedback (InstructGPT).

Ouyang, L., et al. · 2022 · NeurIPS 2022

https://arxiv.org/abs/2203.02155

Direct Preference Optimization: Your Language Model is Secretly a Reward Model.

Rafailov, R., et al. · 2023

https://arxiv.org/abs/2305.18290

DeepSeek-R1: Original January 2025 Report (v1)

DeepSeek-AI · 2025

https://arxiv.org/html/2501.12948v1

Let's Verify Step by Step.

Lightman, H., et al. · 2024 · ICLR 2024

https://arxiv.org/abs/2305.20050

Training Verifiers to Solve Math Word Problems (GSM8K).

Cobbe, K., et al. · 2021

https://arxiv.org/abs/2110.14168

Math-Verify: Extraction, Parsing, and Comparison

Hugging Face Contributors · 2026

https://github.com/huggingface/Math-Verify

Firecracker: Production Host Setup Recommendations

Firecracker Contributors · 2026

https://github.com/firecracker-microvm/firecracker/blob/main/docs/prod-host-setup.md

gVisor Security Model

gVisor Contributors · 2026

https://gvisor.dev/docs/architecture_guide/security/

SQLite SELECT: Ordering Semantics

SQLite Contributors · 2026

https://sqlite.org/lang_select.html

Axioms

Lean Contributors · 2026

https://lean-lang.org/doc/reference/latest/Axioms/

Proximal Policy Optimization Algorithms.

Schulman, J., et al. · 2017

https://arxiv.org/abs/1707.06347

DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models

Shao, Z., et al. · 2024

https://arxiv.org/abs/2402.03300

DAPO: An Open-Source LLM Reinforcement Learning System at Scale

Yu, Q., et al. · 2025 · arXiv

https://arxiv.org/abs/2503.14476

GRPO Trainer.

Hugging Face · 2026

https://huggingface.co/docs/trl/grpo_trainer

SkyRL

NovaSky AI · 2026

https://github.com/NovaSky-AI/SkyRL

SkyRL-Gym Generator

NovaSky AI · 2026

https://docs.skyrl.ai/docs/tutorials/skyrl_gym_generator

AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning

Fu, W., et al. · 2025 · arXiv

https://arxiv.org/abs/2505.24298

Fully Asynchronous Training

NovaSky AI · 2026

https://docs.skyrl.ai/docs/tutorials/fully_async

SkyRL Fully Asynchronous Trainer (955c3e2)

NovaSky AI and Contributors · 2026

https://github.com/NovaSky-AI/SkyRL/blob/955c3e23bf8939b28a9d6c424308a762dcb8a2e7/skyrl/train/fully_async_trainer.py

Off-Policy Correction at bce9ee9

NovaSky AI · 2026

https://github.com/NovaSky-AI/SkyRL/blob/bce9ee9a80fbd262db44c79d5af12291ced5492d/docs/content/docs/algorithms/off_policy_correction.mdx

SkyRL Inference Architecture

NovaSky AI · 2026

https://docs.skyrl.ai/docs/getting-started/inference_architecture

Spurious Rewards: Rethinking Training Signals in RLVR

Shao, R., et al. · 2025

https://arxiv.org/abs/2506.10947

Discussion

Questions and insights from fellow learners.

Discussion loads when you reach this section.