Seedlabs
Source research

Gemma 2: Improving Open Language Models at a Practical Size

Gemma Team, Morgane Rivière, Shreya Pathak, Pier Giuseppe Sessa, Cassidy Hardin, Surya Bhupatiraju et al. · 2024 · 3092 citationsRead the paper

All 100 authors

Léonard Hussenot, Mesnard, Thomas, Bobak Shahriari, Alexandre Ramé, Johan Ferret, Peter Xiaoping Liu, Pouya D. Tafti, Abe Friesen, Michelle Casbon, Sabela Ramos, Ravin Kumar, Charline Le Lan, Sammy Jerome, Anton Tsitsulin, Nino Vieillard, Piotr Stańczyk, Sertan Girgin, Nikola Momchev, Matthew D. Hoffman, Shantanu Thakoor, Jean-Bastien Grill, Behnam Neyshabur, Olivier Bachem, Alanna Walton, Aliaksei Severyn, Alicia Parrish, Ahmad, Aliya, Allen Hutchison, Alvin Abdagic, Amanda Carl, Shen, Amy, Andy Brock, Andy Coenen, Anthony Laforge, Antonia Paterson, Ben Bastian, Bilal Piot, Wu, Bo, Brandon Royal, Chen, Charlie, Chintu Kumar, Perry, Chris, Chris Welty, Christopher A. Choquette-Choo, Danila Sinopalnikov, David Weinberger, Dimple Vijaykumar, Dominika Rogozińska, Dustin Herbison, Elisa Bandy, Emma Wang, Eric Noland, Moreira, Erica, Evan Senter, Evgenii Eltyshev, Francesco Visin, Gabriel Rasskin, Gary Wei, Glenn Cameron, Gus Martins, Hashemi, Hadi, Hanna Klimczak-Plucińska, Harleen Batra, Harsh Dhand, Ivan Nardini, Jacinda Mein, Jack X. Zhou, James Svensson, Jeff Stanway, Chan, Jetha, Jin‐Xin Zhou, Joana Carrasqueira, Joana Iljazi, Becker, Jocelyn, J. M. M. Fernandez, Joost van Amersfoort, Gordon, Josh, Josh Lipschultz, Josh Newlan, Ju-yeong Ji, Mohamed, Kareem, Kartikeya Badola, Kat Black, Katie Millican, Keelin McDonell, Kelvin Nguyen, Kiranbir Sodhia, Kish Greene, Lars Lowe Sjösund, Lauren Usui, Laurent Sifre, Lena Heuermann, Leticia Lago, Lilly McNealus

In this work, we introduce Gemma 2, a new addition to the Gemma family of lightweight, state-of-the-art open models, ranging in scale from 2 billion to 27 billion parameters. In this new version, we apply several known technical modifications to the Transformer architecture, such as interleaving local-global attentions (Beltagy et al., 2020a) and group-query attention (Ainslie et al., 2023). We also train the 2B and 9B models with knowledge distillation (Hinton et al., 2015) instead of next token prediction. The resulting models deliver the best performance for their size, and even offer competitive alternatives to models that are 2-3 times bigger. We release all our models to the community.

What the full text shows

Deployed in practice
  • Gemma 27B outperforms Qwen1.5 32B on MMLU, GSM8K, and ARC-c benchmarks. — MMLU 75.2% vs 74.3%, GSM8K 74.0% vs 61.1%, ARC-c 71.4% vs 63.6% (HuggingFace evaluation suite)
  • Knowledge distillation significantly improves performance of small models compared to training from scratch. — 67.7 average benchmark score (distilled) vs 60.3 (from scratch) (2B model trained over 500B tokens)
  • Gemma 27B achieves higher human preference Elo than Llama 3 70B. — Elo 1218 vs 1206 (LMSYS Chatbot Arena blind side-by-side evaluations)
  • Gemma 9B achieves human preference Elo similar to GPT-4-0314. — Elo 1187 vs 1186 (LMSYS Chatbot Arena blind side-by-side evaluations)
  • Gemma 2.6B achieves higher human preference Elo than GPT-3.5-Turbo-0613. — Elo 1126 vs 1116 (LMSYS Chatbot Arena blind side-by-side evaluations)
  • Low rate of memorized lower-severity personal information in outputs. — 0.00026% (Detected via Google Cloud Sensitive Data Protection Tool)
Setup
Models ranging from 2B to 27B parameters; 27B model trained on 13T tokens; 2B model ablation tested on 500B tokens.
How
The researchers implemented a Transformer architecture with interleaved local-global attention and group-query attention. The 2B and 9B models were trained using knowledge distillation from larger teacher models, while the 27B model was trained from scratch, followed by SFT, RLHF, and model merging.
Limitations
Performance improvements from scaling dataset size are logarithmic · Need for further improvement in factuality and reasoning · Susceptibility to adversarial attacks · Alignment challenges

Summarized by Gemma 4 from the open-access full text · 8 Nov 2026. Read it