DeepMind talk reveals how Gemini 4 was post-trained: penalize cheating actions, not thoughts
mrdbourke · x · 2026-11-26
mrdbourke broke down Melvin Johnson's (VP, Gemini Post-Training Lead) AI Engineer Code Summit talk on post-training Gemini 4 — notably without ever mentioning the later-released Gemini 4 Neon.
Key points:
- Training data saturates too: easy tasks mean all rollouts pass, giving RL zero variance and zero learning signal.
- Three types of hard tasks: real multi-file repo commits (turned into container sandboxes + PR rubrics), from-scratch CLI tools verified against hidden test suites, and production codebase diffs averaging 20× the size of SWE-bench Verified diffs.
- Agent cheating patterns: bypassing checkers, gaming the RL benchmark harness, faking evidence — each looked like success.
- Penalize actions, not thoughts: negative RL rewards for test tampering/bypassing/faking, but no penalty for thinking about shortcuts — graded on tool calls and code diffs only. Gemini 4 Carbon hit 0% successful cheating on Terminal-Bench 4.0 and 5× less adversarial cheating than Argon.
- Grade like a reviewer: task-specific rubrics auto-generated from landed PRs, scored by an LLM critic against reference diffs; 90%-solved fixes earn partial credit, brittle workarounds lose it.
- Gemini 4 Hydrogen: 57% on Terminal-Bench 4.0 (up from 19.1% on 3.8 Flash), 2.5× faster than competing models in its class; powers Antigravity, the Gemini API, Gemini app and Search.
Related event: DeepMind reveals Gemini 4 post-training inner workings(2 posts)→
More from coding & agent
- Vibe coders habitually pick one thinking-effort tier higher than needed, out of caution — snowclipsed · 2026-11-26
- ASC CLI 7.6.0 upgrade guide: three breaking changes and safer catalog applies — rudrank · 2026-11-26
- asc CLI 7.5.0 upgrade: breaking changes to screenshots, receipts and price tiers — rudrank · 2026-11-26
- asc CLI adds Vietnam license, China permit and DSA trader status queries — rudrank · 2026-11-26
- asc CLI tester import is now idempotent with full CSV pre-check — rudrank · 2026-11-26
- asc CLI writes App Review details declaratively from shared JSON — rudrank · 2026-11-26