← AI glossary

AI glossary · Advanced · Reinforcement learning · Language models

RLVR

RLVR (Reinforcement Learning with Verifiable Rewards) is a method of training AI models with reinforcement learning, using as the reward criteria that can automatically check right and wrong, such as matching against the correct answer or running tests.

About this term
Level
Advanced · Specialist terms that need the inner workings
Added
2026-10-08
In plain words It is similar to studying with a math workbook that has clear grading criteria. You only need to check against the answer key, so you get a score right away without a teacher's subjective evaluation. It also shares the same limitation: as long as the answer is right, you can get points even if the working is sloppy.

How it works

The model is given problems whose answers can be checked, such as math problems or coding tasks, and generates several answers itself (rollouts). A verifier then compares the final answer with the correct one or runs the code against tests, giving a high reward if it is right and a low reward if it is wrong. The model is updated so that the approaches that produced high-reward answers appear more often. Repeating this process leads the model to find better ways of solving problems on its own.

The RLVR training loopProblem → LLM; LLM → Generate multiple answers; Generate multiple answers → Automatic verification; Automatic verification → Reward; Reward → Model update; Model update → LLM(Repeat)ProblemMath and coding tasksLLMGenerate multipleanswersRolloutAutomaticverificationAnswer matching, testexecutionRewardRight/wrongModel updateRepeat
The RLVR training loop When the model produces several answers, a verifier scores them automatically, the model is updated with those rewards, and it produces answers again, in a repeating cycle.

Why it matters

Reward models trained on human preferences (the RLHF approach) are expensive to build, and models can easily exploit their weaknesses. Because RLVR scores precisely by rules, these problems are reduced, and it is easy to run automated training on large numbers of problems. It is especially effective on problems that require multi-step thinking, such as math and coding, so it is regarded as a key technique for building reasoning models that think through a long CoT before answering.

Things to know

It can be applied directly only in areas where answers can be checked automatically. It is hard to apply to tasks such as writing or counseling, where the criteria for a good answer are vague. Also, if the verifier has loopholes, for example if the tests are weak, reward hacking can occur, where the model passes the tests without properly solving the problem. When only the final answer is scored, there is no separate guarantee that the intermediate reasoning is correct.

Example

As in the paper 'TRACE: Rollout-based QAT (quantization-aware training) for FP4 reinforcement learning of MoE language models', covered on this site, the computational cost of rollouts (the stage where the model generates answers itself) is a heavy burden when training language models with reinforcement learning, and research to reduce it is active. Because RLVR is built around generating large numbers of such rollouts and scoring them automatically, the cost issue is especially important. In real services, it is used to train reasoning models that solve math problems step by step and coding agents that write code that passes tests.

Where it came up on this site

Related terms