Gemma 4 Narrows Open Model Gap With Efficient Multimodality

Dense and MoE variants combine thinking traces, local-global attention, QAT, and MTP drafting, reaching 1451 Arena Elo with a 31B dense model.

Editorial Desk·July 28, 2026·5 min readstrong

Underlying Paper

Gemma 4 Technical Report

Gemma TeamSherif El AbdVaibhav AggarwalRobin AlgayresAlek AndreevOlivier BachemIan BallantyneCormac BrickVictor C\u{a}rbuneMichelle CasbonMayank ChaturvediAditya ChawlaVictor CotrutaAlice CouckePhil CullitonRobert DadashiLucas DixonMohamed ElhawatyUtku EvciCl\'ement FarabetJohan FerretFilippo GalganiSertan GirginJean-Bastien GrillMaarten GrootendorstJiaxian GuoCassidy HardinYanzhang HeSteven M. HernandezOmri HomburgerL\'eonard HussenotJuyeong JiArmand JoulinAishwarya KamathParnian KassraieOlivier LacombePreethi LahotiGa\"el LiuGus MartinsLuciano MartinsTatiana MatejovicovaRamona MerhejNikola MomchevSneha MondalRyan MullinsSindhu Raghuram PanyamShreya PathakSarah PerrinAndr\'e Susano PintoEtienne PotAng\'eline PougetAlexandre Ram\'eSabela RamosDouglas ReidDavid RimMorgane Rivi\`ereKarsten RothLouis RouillardOmar SansevieroPier Giuseppe SessaShane SettleDanila SinopalnikovSara SmootPiotr StanczykAndreas SteinerLawrence StewartIlya TolstikhinMichael TschannenAnton TsitsulinNino VieillardRenjie WuPingmei XuHaichuan YangEdouard YvinecBiao ZhangLi ZhangJoe ZouNicolas AagnesAbdelrahman AbdelhamedJakub AdamekShivani AgrawalShubham AgrawalIbrahim AlabdulmohsinJean Baptiste AlayracUri AlonChandramouli AmarnathAnkesh AnandChrysovalantis AnastasiouSetareh AriafarFran\c{c}ois-Xavier AubetKyriakos AxiotisFederico BarberoJoelle BarralAlexei BendeburyUrs BergmannStanley BileschiKat BlackMathieu BlondelSebastian BorgeaudArthur Bra\v{z}inskasRyan BurnellRobert Busa-FeketeMu CaiDaniele CalandrielloGlenn CameronCharlotte CaucheteuxRahma ChaabouniGarima ChadhaJetha ChanBlake Jianhang ChenJesse ChenLin ChenXu ChenDerek ChengTzu-hsiang ChienNikolai ChinaevYi ChouZhaohui ChuBenjamin ColemanPooja ConsulSam Conway-RahmanScott CrowellDylan CutlerVivek DaniSamira DarukiAnil DasDaniel DeutschNishanth DikkalaLi DingQiuhan DingShenil DodhiaKonstantin DonhauserTulsee DoshiAnca DraganAlex DruinskySahil DuaZoltan EgyedDanielle EisenbudDaniel EppensCindy FanBahare FatemiYassir FathullahVlad FeinbergMilen FerevSebastian FlennerhagTakumi FujimotoJo\~ao Gabriel OliveiraIsaac Galatzer-LevyJo\~ao GanteSimon GeislerSoham GhosalAntonious M. GirgisTamara von GlehnAlec GoAlhaad GokhaleAlex GrillsYiming GuMayank GuptaPramod GuptaGuru GuruganeshRaia HadsellHamza HarkousJitendra HarlalkaDemis HassabisAnja HauthJoe HeywardArian HosseiniChih-Yang HsiaI-Hung HsuXiaopeng HuangYangsibo HuangKevin HuiAdrian HutterTe IFotis IliopoulosAdvait JainGanesh JawaharZiwei JiQilin JinMelvin JohnsonKandarp JoshiArun KandoorWang-Cheng KangKoray KavukcuogluMehran KazemiKathleen KenealyAmr KhalifaPhoebe KirkIvan KorotkovSuraj KothawadeVitaly KovalevNeel KovelamudiAdam KraftRavin KumarVivek KumarHarish KuppamJustin LanninChen-Yu LeeSeungji LeeDmitry LepikhinAlon LevkovitchDongdong LiQiujia LiValentin Li\'evinEthan LinZiqian LinCasper LiuTianlin LiuTianqi LiuXin LiuIvan LobovMayank LunayachMin MaGagan MadanAndrii MaksaiEric MalmiMichal MatuszakDaniel McDuffGaurav MenghaniMaciej Miku{\l}aDaniil MirylenkaKarolis MisiunasVedant MisraAndreea MitranKareem MohamedMaksim MukhaEric NolandJames O'DonnellBrendan O'DonoghueKate OlszewskaBernett OrlandoWanqiong PanRina PanigrahyUnnati ParekhNicolas Perez-NievesChunjong ParkEric PaskieLiqian PengBryce PetriniSlav PetrovJonas PfeifferBilal PiotMartyna PlomeckaSiim PoderOctavio PonceArijit PramanikDavid RaczAnish RajanMichelle RamanovichAnand RaoMarvin RitterVitor RodriguesEvan RosenMiko{\l}aj Rybi\'nskiNoveen SachdevaMicha\"el E. SanderRohit SathyanarayanaSagar SavlaSamuel SchmidgallTal SchusterGeorge ScrivenerBenoit SeguinAndrew SellergrenAliaksei SeverynIzhak ShafranDhruv ShahBobak ShahriariYuan ShangguanAshish ShenoyPradeep ShenoyRakesh ShivannaPauline ShoLucas SpangherWojciech StokowiecTim StrotherYao SuYinghao SunMukund SundararajanAndrea TacchettiMor Hazan TaegePouya TaftiJean TarbouriechChetan TekurShantanu ThakoorRahul ThapaMadeleine TraverseLenart TrevenTao TuChien Te Tung\c{C}a\u{g}lar \"Unl\"uPetar Veli\v{c}kovi\'cMalini Pooni VenkatSagar Gubbi VenkateshVidya VenkiteswaranFrancesco VisinAlex VitvitskyiKiran VodrahalliWeiyi WangXin WangTris WarkentinJan WassenbergJohn WietingCindy WuLechao XiaoHao XuYuhui XuFuzhao XueArun YadavJun YanAntoine YangLin YangMing-Hsuan YangZiyu YingJae Hyeon YooMorteza ZadimoghaddamSajjad ZafarFred ZhangJiageng ZhangJianyi ZhangXiaofan ZhangChao ZhaoDavid ZhouChen Zou

We introduce Gemma 4, a new generation of open-weight, natively multimodal language models in the Gemma model family. Designed to advance compute efficiency and reasoning, the Gemma 4 model suite features dense and Mixture-of-Experts architectures, ranging from 2.3B to 31B parameters. Alongside improved vision and audio encoders for all model sizes, we propose a unified, encoder-free architecture for our 12B model, which ingests raw audio and image patches. Furthermore, we integrate a thinking mode, enabling Gemma models to generate reasoning traces prior to responding. We improve inference speed, memory, and compute efficiency, as well as long-context abilities through critical design choices. Gemma 4 establishes a leap in performance across STEM, multimodal, and long-context benchmarks, and rivals larger, frontier open models in human-rated tasks.

arXiv:2607.02770Submitted: Jul 28, 2026v2

Gemma 4 is Google DeepMind’s next open-weight model family, and the report is unusually explicit about the engineering trade-offs behind that label. The suite spans effective 2.3B, 4.5B, 12B, 31B dense models and a 26B total-parameter MoE with 3.8B active parameters, all aimed at making multimodal and reasoning-heavy use cases run on varied hardware. The main claim is not just higher benchmark scores over Gemma 3; it is that the gains come from architecture and inference choices that reduce memory pressure while adding vision, audio, long context, and a thinking mode.

Core Contribution

The contribution is a model-family design rather than a single algorithm. Gemma 4 keeps a decoder-only Transformer backbone, but changes several pressure points: local-to-global attention ratios for long contexts, p-RoPE on global layers, KV cache sharing in global attention, quantization-aware training, an autoregressive multi-token prediction drafter, and multimodal encoders or encoder-free projections depending on model size.

The most distinctive architectural move is the 12B model. Instead of using frozen external vision and audio encoders, Gemma 4 12B ingests image patches and raw audio chunks through lightweight projection modules. Images are represented as 48×48×3 RGB patches and projected by a single large matrix with about 35M parameters. Audio is segmented into 40ms chunks at 16kHz, producing 640-dimensional vectors per chunk. That does not make the 12B model universally better than the larger variants, but it tests whether a unified encoder-free route can reduce fragmentation in multimodal model design.

Technical Approach

For long context, the paper uses local sliding-window attention mixed with global attention: 4:1 local-to-global for E2B and 5:1 for the remaining models. It also reuses keys as values in global attention layers, except for E2B and E4B, and reports that the combination reduces the global KV cache footprint by up to 37.5%. The report gives the training infrastructure as TPUv6e or TPUv4, with 4,096 chips for E2B, 6,144 for E4B and 26B-A4B, 12,288 TPUv4 chips for 12B, and 10,240 TPUv6e chips for 31B.

Figure 1 shows the speculative decoding path. The autoregressive MTP drafter receives activations and KV cache from the main model, then predicts future tokens through a separate embedder and 4-layer Transformer block. For E2B and E4B, the authors reduce decoding overhead by replacing a full-vocabulary projection over 262,000 entries with a top-k operation over clusters of tokens, reducing the matrix multiplication from d×262,000d \times 262{,}000 to d×4096d \times 4096 while preserving a similar acceptance rate.

Figure 1. The autoregressive MTP drafter (blue blocks on the right) is fed activations and KV cache from the main model (gray blocks).

The multimodal stack is pragmatic. E2B and E4B use a 150M vision encoder and 305M audio encoder; 26B-A4B and 31B use a 550M vision encoder. Figure 2 details the aspect-ratio preserving image resizing scheme: the system chooses a pooled patch layout under a target maximum token count, runs a ViT-style encoder on 16×16 patches, pools 3×3 encoder representations, and sends the resulting soft tokens into the LLM backbone.

Figure 2. Image resizing. Here we use patch_size=16, pooling_kernel_size=3, max_soft_tokens=10. The image is thus first resized to 2×4 pooled patches, each of size 48px × 48px, which is the closest match that results in a sequence length below the targeted 10. The 72 patches, each of size 16px × 16px, are then processed by the vision encoder; the vision encoder representations are pooled 3×3, and the resulting 8 soft tokens are processed by the LLM backbone.

Results and Analysis

The strongest evidence is broad benchmark coverage, though almost all of it is self-reported static or leaderboard evaluation. On Arena Text as of June 19, 2026, Gemma 4 31B reaches 1451 Elo, ranked 43, versus Gemma 3 27B at 1366, ranked 157. The 26B-A4B MoE reaches 1438 Elo, ranked 61. The report’s interpretation that 31B is the leading dense open model in that snapshot is supported by the table shown, but the comparison is time-sensitive and leaderboard composition matters.

The static benchmark gains are large. Gemma 4 31B scores 85.2 on MMLU Pro versus 67.6 for Gemma 3 27B, 89.2 on AIME 2026 without tools versus 20.8, 80.0 on LiveCodeBench v6 versus 29.1, and 2150 Codeforces Elo versus 110. The smaller E2B model roughly matches Gemma 3 27B on some measures despite far fewer effective parameters: MMLU Pro is 60.0 versus 67.6, but AIME 2026 is 37.5 versus 20.8 and LiveCodeBench is 44.0 versus 29.1. That supports the paper’s efficiency claim more than the raw 31B scores do.

Vision and long-context results also back the design choices. At maximal supported resolution, Gemma 4 31B scores 85.6 on MATH-Vision, 92.0 on InfographicVQA, and 0.131 on OmniDocBench 1.5 where lower is better, compared with 46.0, 70.6, and 0.365 for Gemma 3 27B. On RULER at 128k context without thinking, Gemma 4 31B scores 96.4 and E4B scores 86.6, both above Gemma 3 27B at 66.0. The weakest E2B long-context result, 70.4 on the same setting, still clears the older 27B baseline.

Caveats

The report is closer to a systems and benchmark release than a controlled ablation paper. It gives useful implementation details, but it does not isolate how much each design choice contributes across the full suite. The model family looks practically strong, especially for open-weight deployment under memory limits, but the evidence should be read as a release evaluation rather than a reproducible scientific decomposition.

Evidence Box

strong

Key Claims

  • Open-weight multimodal models improve over Gemma 3 across reasoning, vision, audio, and long-context tasks
  • Local-global attention, p-RoPE, and KV sharing reduce long-context memory pressure
  • Quantization-aware training and MTP drafting improve deployment efficiency
  • The 12B encoder-free architecture can process raw audio chunks and image patches without separate encoders

Key Results

  • Gemma 4 31B reaches 1451 Arena Text Elo at rank 43, versus Gemma 3 27B at 1366 and rank 157
  • Gemma 4 31B scores 85.2 on MMLU Pro, 89.2 on AIME 2026, and 80.0 on LiveCodeBench v6, versus 67.6, 20.8, and 29.1 for Gemma 3 27B
  • Gemma 4 31B scores 92.0 on InfographicVQA and 0.131 on OmniDocBench 1.5, versus 70.6 and 0.365 for Gemma 3 27B
  • At 128k context, Gemma 4 31B scores 96.4 on RULER and E4B scores 86.6, versus 66.0 for Gemma 3 27B

Limitations & Caveats

  • Release report does not provide full ablations for each architectural and training change
  • Training data composition is described at a high level, with limited detail on dataset scale and filtering effects
  • Arena Text rankings are snapshot-based and depend on leaderboard composition as of June 19, 2026
  • Safety and policy evaluations are summarized without detailed category-level numbers in the visible report pages

Related Articles

Readers are encouraged to consult the original arXiv paper for complete details. SOTA Papers does not make claims beyond what is supported by the authors' reported evidence.