← Home

Gemma 4: Open-Weight Multimodal Models with Encoder-Free Architecture

By James Trappett · 8 July 2026

4 min read

The Gemma 4 technical report (arXiv:2607.02770) documents Google DeepMind's latest generation of open-weight models, and it is worth reading carefully because it addresses several genuinely hard engineering problems simultaneously: how to handle audio, vision, and text in a single architecture without the memory overhead of stacked encoders; how to extend context length without KV cache explosion; and how to make smaller models competitive with much larger ones through architectural discipline rather than brute-force scaling.

The model family spans 2.3B to 31B parameters across dense and Mixture-of-Experts configurations, released under Apache 2.0. The headline result is that the 31B dense model tops the open-model leaderboard in Arena blind human evaluations, and both the 31B and the 26B-A4B MoE model match significantly larger open models on human-rated tasks. That is a meaningful result, not just a benchmark artefact.

Key Contributions

Several distinct technical contributions sit underneath the performance numbers:

Architecture and Methodology

The decoder-only Transformer backbone uses pre-norm and post-norm with RMSNorm, plus QKNorm. The per-layer embedding scheme from Gemma 3n is retained for the E2B and E4B models, which have 5B and 8B total parameters but 2.3B and 4.5B effective parameters respectively. This is an unusual design choice that trades raw parameter count for inference efficiency on constrained hardware.

The MoE variant (26B-A4B) activates only 3.8B parameters per forward pass from 26B total, following established sparse gating patterns. Pre-training used TPU v5p and v6e hardware at scales up to 12,288 chips, with sharding across data, sequence, and replica dimensions.

The encoder-free 12B architecture is the most architecturally novel contribution. Removing dedicated vision and audio encoders reduces memory fragmentation and eliminates the coordination overhead between separately trained encoder and decoder components. The tradeoff is that the LLM backbone must learn low-level perceptual representations that a dedicated encoder would otherwise provide. The paper's audio results suggest this tradeoff is favourable at the 12B scale, though it is not obvious the same would hold at smaller sizes, which is presumably why E2B and E4B retain conventional encoders.

The KV cache optimisation deserves attention. Reusing keys as values in global attention layers is an aggressive approximation; the paper cites Kayyam et al. 2026 (a future-dated reference, likely an internal or preprint citation) as the source. Combined with pp-RoPE, the 37.5% cache reduction is significant for long-context deployment on devices with limited HBM.

Results

Audio results are well-documented. On CoVoST speech-to-text translation across seven language pairs, Gemma 4 E2B achieves 35.4 average CorpusBLEU versus 31.6 for Gemma 3n E2B, a 12% relative gain with a much smaller encoder. On FLEURS ASR, E2B achieves 0.090 average WER versus 0.108 for Gemma 3n E2B, a 17% relative improvement. These are not trivial margins for a model that has shed most of its audio-specific parameters.

Human evaluation via Arena Elo places Gemma 4 31B at the top of the dense open-model category, with both the 31B and 26B-A4B competitive with substantially larger open models. The paper is appropriately careful not to overstate this, noting that Arena evaluations reflect human preference rather than any single capability dimension.

Safety evaluations show improvement over Gemma 3 and 3n across all content safety categories, with low unjustified refusal rates. Evaluations were conducted without safety filters to measure inherent model behaviour, which is the methodologically correct approach.

Limitations and Open Questions

The technical report is honest about what it does not cover in depth. The encoder-free architecture is only applied at 12B scale; it is unclear whether the approach degrades at 2.3B or scales cleanly beyond 31B. The key-reuse-as-value approximation in global attention is theoretically lossy and the empirical cost is not fully characterised across all tasks. The future-dated citation (Kayyam et al., 2026) for this technique is slightly awkward and suggests the underlying work has not yet been publicly released.

The thinking mode implementation details are sparse. The report confirms reasoning traces are generated before responses and that this helps on STEM tasks, but the training methodology for eliciting reliable reasoning traces is not described, which limits reproducibility for researchers wanting to replicate this aspect.

More broadly, the per-layer embedding scheme used in E2B and E4B reduces effective parameter count in a way that is not yet standard in the field. The interaction between this scheme, QAT, and speculative decoding across varied hardware targets would benefit from more systematic ablation than a technical report typically provides.

For practitioners, Gemma 4 is a serious option for on-device and edge deployment, particularly the quantized E2B and E4B variants. The Apache 2.0 licence removes the friction present in more restrictively licensed open models. For researchers, the encoder-free multimodal approach and the KV cache optimisation techniques are the most transferable ideas, and both warrant follow-up investigation at other scales.

Full paper: arXiv:2607.02770

LLMMultimodalOpen SourceEfficiencyReasoning

Related Articles

FLORA: Fixing the Generator-Validator Gap in LLMsWhen AI Audits Fail Silently: Five Benchmark Validity PitfallsRiddle: LLM Inference on a reMarkable via Handwriting