Skip to content
mentoor

Topic 4 of 5 · 5 min read

Verifier agents that miss wrong results

Goal: Judge whether a verifier agent's check would catch a wrong result and strengthen it with independent evidence.

A verifier agent only helps if its check can fail for the right reason: it needs evidence the producer did not control. A verifier that reads the producer's answer and says "looks good" adds cost and a false sense of safety.

Check yourself · 1 of 3

A verifier checks that an agent's report has the correct headings and valid JSON. Why is that insufficient?

Choose one answer

Why it matters

The MAST study lists task verification as its own group of failures: stopping before the task is complete, no verification at all, and incomplete or incorrect verification. A common pattern in the traces is a verifier that checks surface features, such as whether the code compiles or the JSON parses, while the answer itself is wrong.

Three weak verifiers

  1. Format checker. It confirms the report has the right headings and a summary. It cannot tell if the numbers are right.
  2. Same-model reviewer. The reviewer is the same model with a similar prompt. It shares the producer's blind spots, and tends to agree with fluent text. Studies of LLM judges also report a preference for answers written in their own style.
  3. Early stopper. The run ends the first time an agent says "task complete", without any test.

Making a check that can fail

  • Run, don't read. For code, run the tests or the failing request. For a calculation, recompute with a tool.
  • Use independent evidence. Re-fetch the source, query the database, or compare against a stored expected value. The check must not rely on the producer's own claims.
  • Test the negative. Ask "what would a wrong answer look like here?" and make sure the check would catch it.
  • Different eyes. If a model must judge, use a different model or a different prompt that lists concrete criteria, and have it quote the evidence.
  • Define done in advance. The stop condition is the check passing, not an agent's statement.

Before and after

# Before
verifier: Review the answer and reply APPROVED if it looks correct.
producer: Refund total is 118.40 EUR.
verifier: APPROVED. The answer is clearly formatted.
# After
verifier: Recompute the refund from orders.json: sum(item.price * qty) - discount + shipping.
  Reply PASS only if your total equals the producer's total to the cent.
  Reply FAIL with your total and the lines you used.

The second verifier uses data the producer did not write, and it can disagree.

What goes wrong

  • Rubber stamping. The verifier is told to "confirm", so it does.
  • Checking the summary. It reads the agent's report on the test run rather than the test output.
  • Checking too little. One happy-path case passes and the edge cases never run.

Examples

Passing JSON, wrong answer

A data agent returns {"churn_rate": 0.52} for a SaaS product. The verifier checks that the JSON matches the schema and the value is between 0 and 1, so it passes. Real monthly churn from the billing table is 0.052: the agent was off by a factor of ten. A verifier that queries the billing table and compares within a tolerance would have failed it.

The agreeable reviewer

A code agent writes a function, and a reviewer agent on the same model and prompt style replies "LGTM, handles edge cases." No test was run. Running the existing suite shows 3 failures on empty input. Fix: the reviewer must run the tests and quote the failing output, and the run only ends when the suite is green.

Key points

  • A verifier is useful only if its check can fail for the right reason.
  • A format check confirms structure, not correctness; the answer can be well formed and wrong.
  • A verifier on the same model with a similar prompt shares the producer's blind spots.
  • Prefer running a test or recomputing from source data over reading the producer's report.
  • Define done as a passing check, never as an agent saying the task is complete.

Common mistakes

  • Asking the verifier to "confirm" or "approve" instead of to find faults.
  • Using the same model, prompt and context for the producer and the checker.
  • Treating a passing schema or compile check as proof the content is right.
  • Stopping when the producing agent says it is finished.

Check yourself · 2 of 3

Which verifier is most likely to catch a wrong refund total?

Choose one answer

Check yourself · 3 of 3

When does a multi-agent run correctly stop?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic