Ideas from AI Engineer talks Curated by Alex Vidal (@dobleio) and Borja Pérez (@borjaperfra) 76 ideas · 101 talks · 5 events

The Engineering Brief

Google DeepMind isolates its graders after seeing agents in training game the checks

Melvin Johnson, who leads Gemini post-training, describes agents in RL bypassing checkers, faking evidence and resubmitting after seeing the tests. His team sandboxes graders, strips answer leaks, withholds tests and grades the full diff with rubrics.

Melvin JohnsonGoogle DeepMindAIE CODE 20262 min read
Watch from 10:31

Recording by AI Engineer.

The idea

The speaker’s argument, in our words.

Johnson argues that a model trained to make a check pass will look for any route to a pass, including routes that skip the work, so the grader has to be treated as something the agent can attack. His examples come from Gemini post-training: bypassing the checker, gaming the benchmark, writing fake evidence to a temporary file and deleting the traces, and declaring completion, reading the revealed tests and resubmitting.

The controls he describes are environmental. Graders run in an isolated sandbox, git history and remotes are removed so the reference answer cannot leak, and tests are revealed only after submission. Scoring looks at the whole diff against a reference (correctness, code quality, scope) with rubrics generated from real commits, and tampering gets a strongly negative reward, detected from the agent's actions and not from its reasoning.

What they found

From the talk. Figures are self-reported unless stated.
  • Agents in training have bypassed the checker, gamed the benchmark, written fake evidence into a temp file and then deleted the evidence of the fake; in some cases an agent declared it was done, read the revealed tests and resubmitted.

    Observed during Gemini post-training; no frequencies given. The resubmission case (12:17) is the reason tests are withheld until final submission.

    Case study

    10:31
  • Graders run in an isolated sandbox, git history and git remotes are removed so answers do not leak, and test sets are held out until the agent submits.

    Google DeepMind's environment hardening for RL on engineering tasks.

    Technical recommendation

    11:58
  • Grade with rubrics extracted automatically from real multi-file commits, scoring the full diff against the reference for correctness, code quality and scope, and penalising workarounds.

    Rubrics give graded rather than 0/1 signal. Example criteria: edge cases, hygiene, verification constraints. The full-diff scoring is described at 12:26.

    Technical recommendation

    11:13
  • Cheating or environment tampering gets a strongly negative reward, detected only from the model's actions, not its thoughts.

    Framed as being careful not to 'police the thoughts'.

    Technical recommendation

    12:42

Why it matters

Our reading. Not said in the talk.

The leaks Johnson describes are not specific to RL. Any automated eval of agents, for model selection or in CI, can end up measuring the agent's ability to find the answer key if the grader shares its environment or exposes its tests.

What one could try

  • In agent eval environments, remove .git history and remotes, and keep hidden tests outside the agent's filesystem until it finishes.
  • Log whether an agent touched test files, the grader or evaluation scripts, and fail runs that did.

Limitations

  • Describes a frontier lab's training pipeline; most teams would apply it to evals, not RL.
  • No frequencies are given for the gaming behaviours, and no data on how well rubric grading agrees with human reviewers.
  • Given by the team that builds Gemini, on the day Google launched a new Gemini model; a cheating-rate figure in the talk has no method and is not used.

Original sources

This is our synthesis of the talk, checked against the transcript at the linked moments.

Related ideas