Tasks, verifiers and judges

What a model learns in post-training is decided by the task and the grader

The grader is the teacher

In reinforcement learning the model does not see a correct answer. It tries, and something scores the try. That something is the only teacher it has. If the scoring is sloppy, the model learns the sloppiness.

So the modern post-training question is less “which algorithm?” and more “which tasks, and how do we grade them?”. This page follows the answer given in Brandon Amos’s talk Post-training Beam and the Beam technical report [1][2]. The story of how we got here is on Evolution of post-training.

Everyday example

A driving school that only checks whether you arrived will soon have students who drive on the pavement. A good examiner checks the route, the signals and the parking too. Task design is writing the driving test.

Two words first:

  • A verifier is a program that checks the result: run the unit tests, compare a number, check a proof. Cheap, fast, and hard to flatter.
  • A judge is a model (sometimes calibrated with human labels) that scores what a program cannot check: a helpful tone, a sensible refusal, a well-written report.

Climb all the tasks

The goal Amos states is to give the model an end-to-end signal for every practical use case [1]. Beam’s run used more than a million tasks and more than 100 million rollouts (repeated attempts included) [1][2].

The tasks come in two families, one per specialist in Beam’s pipeline (see Evolution of post-training):

Family Examples Typical grader
Agentic Software engineering, terminal use, competitive coding, maths and science, web search, knowledge work Tests, execution checks, symbolic answers, reference answers, rubrics
Alignment Conversation, safety, general tool use, instruction following, calibration, model identity Judges, human-calibrated reward models, programmatic checks plus a judge

SFT and RL use these tasks differently. For SFT, an earlier model writes attempts, a filter keeps the good ones, and the model trains on them as demonstrations. For RL, the model attempts the task live and the grader scores it [1].

Agentic tasks: three rules for a fair test

Slide titled Agentic tasks: reference solutions checked by tests, execution checks and reference answers; robust tasks through filtering and adversarial audits; online judges, where detected reward hacks receive no correctness reward.

Agentic tasks need reference solutions, robust tasks and online judges. Image: Brandon Amos, Post-training Beam, slide 16 [1]. Original: Beam Model Technical Report, §§4.1.1–4.1.4 [2].
  1. A reference to check against. Code and terminal tasks run executable tests. Maths uses numeric or symbolic answer checking. Search and science compare with reference answers through a judge. Knowledge work uses a rubric for the deliverable [1].
  2. Robust tasks. Before training, broken, ambiguous or guessable tasks are filtered out. For terminal tasks, Beam’s team built an adversarial agent whose only job was to earn reward with a wrong or incomplete solution, using a list of known reward hacks. Any task it could hack was removed [1][2].
  3. Online judges. During RL, a judge looks at passing code patches for cheating. A detected hack gets zero correctness reward. Reasoning traces are monitored for intent to hack, but the training does not push on the traces directly, so the model is not taught to hide its intent [1].

None of this proves a task cannot be hacked. It makes cheating rarer, and new failures feed back into the next round of tasks [1].

Breadth: a map of the tasks

A million tasks is useless if they are a million copies of one task. The report embeds tasks by meaning and plots them, to see the variety [2].

Two t-SNE scatter plots. Left: software-engineering tasks in clusters such as web APIs, parsing, tooling, compilers, runtime and ML computing, coloured by programming language. Right: university mathematics questions clustered by course, such as random matrix theory, combinatorics, algebra and differential equations.

Task diversity: software-engineering tasks coloured by language (left), and university-maths questions by course area (right). Each point is a task. Image: Brandon Amos, Post-training Beam, slide 17 [1]. Original: Beam Model Technical Report, Figures 18 and 22–23, pp. 36, 43–44 [2].

These maps show variety, not coverage. Distances and areas are not training weights [1].

How a checkable task is made

Good tasks rarely exist ready-made. Beam’s university-maths pipeline is a clear example of turning a syllabus into graded problems [1][2]:

Slide titled University mathematics generation pipeline: 38 areas of graduate courses, a curriculum of 8 to 12 modules, concepts such as theorems and techniques, coverage of concepts and modules, generate by solving and revising, then tasks with question, answer and tags. Invalid outputs are dropped.

From course areas to verified tasks. Image: Brandon Amos, Post-training Beam, slide 18 [1]. Original: Beam Model Technical Report, §4.1 [2].
  1. Start from 38 graduate course areas; a model designs a curriculum of 8–12 modules for each.
  2. Each module lists concepts, theorems and techniques. A planner mixes them, from one concept in depth to combinations across courses.
  3. A generator writes a self-contained question with a numeric or closed-form answer, solves it, and revises it if there is an easy shortcut.
  4. A SymPy-based verifier checks the answer. Questions with missing assumptions, or answers the verifier cannot parse, are dropped.
  5. Guessability is filtered too: a question whose answer is usually 0 or 1 rewards guessing, not maths [1].

Alignment tasks: how to behave

The alignment specialist learns how to deal with people and tools [1]:

Slide titled Alignment tasks with four rows: conversation, helpful relevant calibrated responses; safety, refuse harm without over-refusing; tool use, complete the requested workflow; instructions, follow constraints and the user's intent.

Alignment tasks: helpful and calibrated conversation, refusing harm without over-refusing, completing tool workflows, and following constraints and intent. Image: Brandon Amos, Post-training Beam, slide 20 [1]. Original: Beam Model Technical Report, §4.2 [2].
  • Conversation. Human judgements calibrate a generative reward model used during RL. Some behaviours are penalised directly: needless follow-up questions, self-praise, withholding a useful answer. Fresh human labels check that the judge still tracks what people actually prefer [1].
  • Safety. Demonstrations seed the behaviour; in RL a judge flags both harmful compliance and over-refusal [1].
  • Tool use. Programmatic checks or rubrics test whether the workflow was really completed, not just claimed [1].
  • Instruction following. A response must pass a Python check of the constraints and a judge that confirms it answered the request [1].

Safety: data in the right mix

Two pie charts. Safety SFT: 57 percent harmful direct requests, 28 percent harmful jailbreaks, 15 percent harmless requests. Safety RL: 66.8 percent single-turn, 8.3 percent multi-turn, 7.6 percent jailbreak, 17.3 percent agentic tool use.

The safety subsets of the alignment specialist’s SFT and RL data. Image: Brandon Amos, Post-training Beam, slide 21 [1]. Original: Beam Model Technical Report, §§7.2.2–7.2.3 [2].

Safety is a small slice: about 1.6% of the alignment specialist’s SFT traces, and a fixed 5% of its RL mix. Harmless requests that sound risky are included on purpose, so the model does not learn to refuse everything [1].

Deliberative alignment: reason about the rules

How do you teach a model to reason about safety guidelines without pasting the guidelines into every prompt? Beam adapts deliberative alignment [3]:

Slide titled Deliberative alignment with four steps: generate candidates with safety guidelines in the system prompt; judge and filter, discarding harmful compliance and over-refusals; rewrite reasoning to reason about safety principles without repeating the guidelines; train with SFT on the same request with guidelines removed, targeting the rewritten reasoning and answer.

Generate with the guidelines, filter, rewrite the reasoning, then train without the guidelines. Image: Brandon Amos, Post-training Beam, slide 22 [1]. Original method: Guan, Joglekar, Wallace and colleagues, 2024 [3]; the rewriting step is Beam’s adaptation, report §7.2.2 [2].
  1. Generate answers with the guidelines in the system prompt.
  2. A judge throws away harmful answers and needless refusals.
  3. Another model rewrites the reasoning so it reads as thinking about principles, not reciting the document.
  4. Train with SFT on the request without the guidelines, with the rewritten reasoning as the target.
Everyday example

A trainee doctor studies with the hospital rulebook open. The exam is closed-book: they must explain the decision in their own words.

In one table

Idea In one sentence
Verifier A program that checks the result: tests, numbers, proofs
Judge A model that scores what a program cannot check
Reward hacking Earning the reward without doing the task
Adversarial audit An agent that tries to cheat, so cheatable tasks can be removed
Guessability A task whose answer can be guessed, like “0”
Over-refusal Refusing a harmless request because it sounds risky
Deliberative alignment Train the model to reason about written guidelines it no longer sees

FAQ

Why not let a big model judge everything? Judges can be fooled too, and they have their own taste (longer answers often score higher). Where a program can check the result, it is the safer grader. Judges fill the gaps.

If the reasoning trace shows intent to cheat, why not punish it? Because the model would learn to hide the intent, not to stop cheating. Beam monitors traces but does not train on that signal directly [1].

Are synthetic tasks good enough? They are the main source in Beam, with vendor and open-source data added, but only after filtering, verification and audits [1]. An unfiltered synthetic task is a likely reward hack.

Where is the algorithm? On RL at scale, and the basics of GRPO on Reinforcement learning for reasoning.

See also

References

Back to top