Skip to content
Apixo
Blog
news· 3 min read· via Latent Space

Inside Gemini 4: How Google DeepMind Trains Models for Real Engineering Tasks

Google DeepMind's Melvin Johnson and Omar Sanseviero discuss Gemini 4 post-training, TPU co-design, and multi-day engineering agents on the Latent Space podcast.

Inside Gemini 4: How Google DeepMind Trains Models for Real Engineering Tasks

In a recent session at the AI Engineer CODE conference hosted by the Latent Space podcast, Google DeepMind researchers Melvin Johnson and Omar Sanseviero provided technical context on how Gemini 4 is trained to perform real-world engineering work. The discussion detailed the architecture, post-training strategies, and testing pipelines required to move AI models from simple code completion to managing multi-day engineering tasks. Additionally, following the recording of the conversation, Google launched Gemini 4 Neon, which features interactive capabilities including a Blender demonstration.

Post-training, internal scale, and TPU integration

A primary focus of Google DeepMind's strategy involves defining what post-training owns across three core dimensions: capability, behavior, and usability. During his presentation, Johnson detailed how post-training mechanisms refine how models evaluate technical output, specifically training models to grade code like a human engineering reviewer. This approach targets common issues in automated software development, such as scenarios where a model generates a syntactically correct patch that nevertheless fails standard mergeability tests in production codebases.

To refine these models before general release, Google relies heavily on extensive internal testing. Over 100,000 internal users interact with Google's Antigravity platform, generating operational data that directly shapes post-training adjustments and agent capabilities. The development process also emphasizes hardware co-design, aligning model structures closely with Tensor Processing Units (TPUs). This co-design strategy extends across Google's model suite, influencing features such as Gemma 3n's per-layer embeddings.

Benchmarking, safety, and model variants

Evaluating how agents execute long-horizon technical tasks requires specialized benchmark design. The researchers highlighted the role of Kaggle in benchmark construction and discussed specific evaluation suites, including FelonyBench, which measures model behavior and safety compliance. System governance for agent interactions is supported by tools like the Decisions API, which aids in managing how models navigate choice structures during complex tasks.

To accommodate varying technical demands, Google DeepMind offers distinct model options, such as the Carbon and Hydrogen variants. These options allow teams to select the appropriate model architecture based on the specific balance of performance, speed, and resource constraints required for a given job.

What it means for developers

For developers and technical leads, the design choices behind Gemini 4 reflect a broader shift toward agents capable of handling sustained software engineering workflows. The focus on patch mergeability, code reviewer grading styles, and multi-day task management indicates that frontier models are increasingly structured around realistic repository conditions rather than isolated code generation prompts.

As AI teams deploy complex agents, selecting and testing model variants becomes a central part of engineering execution. Developers looking to evaluate these architectures alongside other leading systems can try top AI models cheaply through one API at https://apixoai.online.

By combining massive internal usage data via Antigravity, tight TPU hardware co-design, and targeted benchmark frameworks like FelonyBench, Google DeepMind continues to iterate on the infrastructure needed to support autonomous technical workflows across its Gemini and Gemma model lineups.


Source: How Gemini 4 Put Google DeepMind Back at the Frontier — Melvin Johnson & Omar Sanseviero — Latent Space. Written by the Apixo team from that report.

#ai-news#gemini#deepmind#ai-engineering#tpu#post-training
Try it with your own tools

One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.

Get your API key

Keep reading