# RLVR (reinforcement learning with verifiable rewards)

Canonical page: https://www.theglitch.ai/ai-glossary/rlvr

A post-training method that rewards a model only when an automated deterministic check — like unit tests passing or a math answer matching — verifies the final output.

[RLVR (reinforcement learning with verifiable rewards), common card \#265 in The Glitch AI glossary: A post-training method that rewards a model only when an automated deterministic check — like unit tests passing or a math answer matching — verifies the final output.](https://www.theglitch.ai/images/cards/glossary/rlvr.png?v=22ebe01a8ec983d1)

GLS 265 · common

Also called: Verifiable rewards, Reinforcement learning with verifiable rewards.

For: Builders

## Why it matters

Human preference scores are expensive and noisy, and models learn to game them with fluent fluff. Verifiable rewards scale cleanly for coding, math and structured reasoning tasks.

## In practice

During post-training, a model generates eight candidate patches for a bug. A test runner executes the repository’s unit suite on each patch: those that compile and pass every assertion get reward 1, everything else gets 0, teaching genuine problem-solving habits.

## Watch for

RLVR only works where a cheap, reliable verifier exists. If your test suite is weak, the model can learn reward hacking — deleting assertions or hardcoding test inputs instead of solving the task.

## How it compares

- [RLHF](https://www.theglitch.ai/ai-glossary/rlhf): RLHF trains on human preference ratings via a learned reward model; RLVR replaces subjective ratings with deterministic ground-truth checks like unit tests or formal solvers.

- [Reasoning model](https://www.theglitch.ai/ai-glossary/reasoning-model): A reasoning model is the resulting product that thinks before answering; RLVR is a core training technique that builds those reasoning habits.

## Related terms

[Reinforcement learning](https://www.theglitch.ai/ai-glossary/reinforcement-learning) · [Reasoning model](https://www.theglitch.ai/ai-glossary/reasoning-model) · [RLHF](https://www.theglitch.ai/ai-glossary/rlhf) · [Post-training](https://www.theglitch.ai/ai-glossary/post-training)

## Try it here

[27 AI terms to know in 2027](https://www.theglitch.ai/learn/ai-terms-2027) · [AI coding agents for 2027, compared](https://www.theglitch.ai/learn/ai-coding-agents-2027)

## Sources

- [Lambert et al. (2024) · Tülu 3: Pushing Frontiers in Open Language Model Post-Training](https://arxiv.org/abs/2411.15124)

- [DeepSeek-AI (2025) · DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via RL](https://arxiv.org/abs/2501.12948)

Use in an AI agent: connect MCP at https://www.theglitch.ai/mcp and call get\_glossary\_term with rlvr, or read the [Markdown edition](https://www.theglitch.ai/ai-glossary/rlvr.md).

Definition updated 2026-11-28.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
