Gemma 4 Technical Report
Summary
Gemma 4 introduces a new generation of open-weight, natively multimodal language models, featuring dense architectures from 2.3B to 31B parameters and a 26B total parameter Mixture-of-Experts variant with 3.8B active parameters. Key innovations include a "thinking mode" for enhanced reasoning, an encoder-free architecture for the 12B model that processes raw audio and image patches, and significant efficiency improvements. These include long-context optimizations reducing global KV cache footprint by up to 37.5%, compute efficiency via an MTP drafter for speculative decoding, and memory efficiency through quantization-aware training, achieving a 78% reduction in audio encoder on-disk footprint. Gemma 4 demonstrates a performance leap across STEM, multimodal, and long-context benchmarks, rivaling larger open models in human-rated tasks, and is released under an Apache 2.0 license.
Key takeaway
For Machine Learning Engineers building multimodal applications or optimizing for edge deployment, Gemma 4 provides a highly efficient and capable open-weight foundation. You should explore its "thinking mode" for enhanced reasoning in complex domains like mathematics and coding. Utilize its Quantization-Aware Training for significant memory footprint reduction, such as the 78% reduction in audio encoder size, and consider the 12B encoder-free model for streamlined raw audio and image patch processing, enabling broader hardware compatibility and faster inference.
Key insights
Gemma 4 advances open-weight multimodal LLMs with architectural innovations for efficiency, reasoning, and performance across diverse modalities.
Principles
- Multimodal integration can be achieved with encoder-free architectures.
- Reasoning traces improve model capabilities in complex domains.
- Strategic attention patterns and KV cache reuse enhance long-context efficiency.
Method
Gemma 4 employs a decoder-only Transformer architecture, pre-norm/post-norm with RMSNorm and QKNorm, and uses $p$-RoPE positional encoding for long contexts. It integrates an MTP drafter for speculative decoding and applies Quantization-Aware Training.
In practice
- Utilize "thinking mode" for math and coding tasks.
- Apply QAT for reduced memory footprint and latency.
- Leverage Apache 2.0 models for custom development.
Topics
- Gemma 4
- Multimodal LLMs
- Mixture-of-Experts
- Quantization-Aware Training
- Long-Context Efficiency
- Speculative Decoding
Best for: AI Engineer, Research Scientist, CTO, AI Scientist, Machine Learning Engineer, AI Architect
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.