Research Explainer · XiaoHu Explains

Gemma 4 Technical Report: How an Open Model Fights Bigger Ones With "Small Params + Thinking + Lean Memory"

Google DeepMind's Gemma 4 report isn't a feature list. What it really wants to prove is: you don't need a trillion-param MoE to close in on human preference and STEM — while still fitting on-device.
⬡ Report Core (read this first)

Gemma 4's throughline is one sentence: use three engineering tracks to push "capability" and "cost" in the favorable direction at the same time.

Track one lifts intelligence: thinking mode (reason first, then answer). Track two cuts cost: local/global attention ratio, p-RoPE, KV sharing, K=V, QAT quantization, MTP speculative decoding. Track three expands modality: native image/text/audio, plus a "no separate encoder" unified architecture for the 12B. Every model size, table, and Arena rank below is evidence for this one sentence.

01 Lift Intelligence

Thinking Mode

The main engine behind big math/code/STEM gains; almost every default eval has it on.

02 Cut Cost

Long Context + Quantization + Speculative Decoding

KV can't blow up as context grows; 31B goes from ~64GB down to ~19GB; decoding speeds up too.

03 Expand Modality

Native Multimodal + Unified 12B

Most sizes use a frozen encoder; the 12B ingests image patches and audio slices directly — two fewer big weight blobs.

60-Second Overview
  • Family: E2B (effective 2.3B), E4B (effective 4.5B), 12B, 26B-A4B MoE (~4B active), 31B dense. Apache 2.0.
  • Arena Text (2026-06-19): 31B Elo 1451 — reportedly #1 open dense model; the higher ranks nearby are mostly hundred-B-to-trillion-scale MoEs.
  • Vs. Gemma 3 27B: STEM/code gaps are huge, but in the tables 4th-gen defaults to thinking while 3rd-gen 27B is mostly non-thinking — this shouldn't be read as a pure architecture win.
  • On-device narrative: E2B closes in on 27B-class capability on several fronts (per official framing); audio encoder disk footprint goes from 390MB to 87MB.
Compiled from arXiv:2607.02770, "Gemma 4 Technical Report." All numbers are self-reported by the vendor. This page's interactivity explains the mechanisms — it doesn't replace the tables in the original PDF.
01

Which Question in the Open-Source Race Is This Answering

By 2026 the open leaderboards were often dominated by giant MoEs. Gemma 4 picked a different lane: dense small-to-mid size + thinking + deployment-friendly.

If you only remember "another 31B just shipped" from this report, you'll miss what it's actually contesting. At the time, the top of Arena was crowded with open models at 300B, 700B, 1T, even 1.6T total params — mostly MoEs. Gemma rewrote the story as:

ProblemBig models are strong, but local/private enterprise deployments can't fit or run them
Old open-source answerKeep piling on total params, or accept being clearly a tier behind
Gemma 4's answerThinking lifts scores + architecture cuts KV/weights + full coverage from edge to cloud

So the report's "core evidence" isn't a single SOTA point — it's a combination: the dense 31B holding its own against bigger MoEs (human preference); small models still fitting on-device (memory table + audio encoder size); long context without brute-forcing KV (RULER / LOFT).

HOW THE THREE LINES LOCK Thinking Mode AIME / Code / GPQA Lifts reasoning & problem-solving Efficiency Stack KV / QAT / MTP Cuts memory & latency Native Multimodal Image + Audio + Unified 12B Expands what it can ingest Result: small sizes can still compete on human preference + STEM + long context
The three tracks aren't a parallel ad slate: thinking is on the hook for scores, efficiency is on the hook for fitting and running, multimodality is on the hook for what kinds of input it can take. Miss one, and the story falls apart.
02

Pick a Size First, See Who It Was Designed to Be

Click the five model tabs below. Same family, very different jobs.

E2B: On-Device Entry Point, Effective ~2.3B

Uses per-layer embeddings (same lineage as Gemma 3n) — total params are larger, but the "effective" count is 2.3B. Ships with its own 150M vision + 305M audio encoder. The report compares it to Gemma 3 27B, arguing "roughly an order of magnitude fewer params, close on many fronts."

0.8 GBQuantized weight size (32k text, Table 3)
4:1Local/global attention ratio (leaner than the family's usual 5:1)
AIME 37.5Still far above G3 27B's 20.8 (though thinking settings differ between the two)
76MMTP draft head, purpose-built for speculative decoding

E4B: On-Device Workhorse, Effective ~4.5B

Same playbook — small encoders + aggressive quantization. On vision evals, the report writes that it's not below Gemma 3 27B on any listed item (e.g. MMMU Pro 52.6 vs 49.7, MATH-Vision 59.5 vs 46.0). Long context is already ahead of 27B on several fronts too.

2.3 GBQuantized weight size (Table 3)
128k RULER 86.6G3 27B on the same item: 66.0
Audio 87MBQuantized encoder on disk, vs. 390MB for 3n
CoVoST +10%Relative translation improvement over same-tier 3n (official)