mlsanityData to 14 Oct 2026

Encoder-Decoder Gemma: Improving the Quality-Efficiency Trade-Off via Adaptation

arXiv 2504.06225 ↗First posted 8 Apr 2025cs.CL cs.LGcited by 28

Not on the map. Why?

Abstract (arXiv)

While decoder-only large language models (LLMs) have shown impressive results, encoder-decoder models are still widely adopted in real-world applications for their inference efficiency and richer encoder representation. In this paper, we study a novel problem: adapting pretrained decoder-only LLMs to encoder-decoder, with the goal of leveraging the strengths of both approaches to achieve a more favorable quality-efficiency trade-off. We argue that adaptation not only enables inheriting the capability of decoder-only LLMs but also reduces the demand for computation compared to pretraining from scratch. We rigorously explore different pretraining objectives and parameter initialization/optimization techniques. Through extensive experiments based on Gemma 2 (2B and 9B) and a suite of newly pretrained mT5-sized models (up to 1.6B), we demonstrate the effectiveness of adaptation and the advantage of encoder-decoder LLMs. Under similar inference budget, encoder-decoder LLMs achieve comparable (often better) pretraining performance but substantially better finetuning performance than their decoder-only counterpart. For example, Gemma 2B-2B outperforms Gemma 2B by ~7% after instruction tuning. Encoder-decoder adaptation also allows for flexible combination of different-sized models, where Gemma 9B-2B significantly surpasses Gemma 2B-2B by >3%. The adapted encoder representation also yields better results on SuperGLUE. We will release our checkpoints to facilitate future research.

Key facts. Cited by 28 papers in the map (data through 14 Oct 2026). Builds on 44 of its 54 references that are in the map. First posted on arXiv 8 Apr 2025.

Builds on

44 of 54 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  9. 2024Qwen2.5 Technical Reportcited by 4,942
  10. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  11. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  12. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
32 more
  1. 2021Program Synthesis with Large Language Modelscited by 3,637
  2. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  3. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  4. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  5. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  6. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  7. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  8. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  9. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  10. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  11. 2024Mixtral of Expertscited by 1,823
  12. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
  13. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  14. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  15. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  16. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  17. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
  18. 2019Text Summarization with Pretrained Encoderscited by 556
  19. 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 530
  20. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  21. 2019MASS: Masked Sequence to Sequence Pre-training for Language Generationcited by 347
  22. 2022UL2: Unifying Language Learning Paradigmscited by 295
  23. 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 251
  24. 2024MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Casescited by 223
  25. 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 150
  26. 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 105
  27. 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 64
  28. 2020Encoder-Decoder Models Can Benefit from Pre-trained Masked Language Models in Grammatical Error Correctioncited by 59
  29. 2019Towards Making the Most of BERT in Neural Machine Translationcited by 43
  30. 2022Examining Scaling and Transfer of Language Model Architectures for Machine Translationcited by 26
  31. 2019On the use of BERT for Neural Machine Translationcited by 23
  32. 2023OpenBA: An Open-sourced 15B Bilingual Asymmetric seq2seq Model Pre-trained from Scratchcited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 13; 2026: 15.

28 papers.

Sort:

By area:

  1. 2025EmbeddingGemma: Powerful and Lightweight Text Representationscited by 139
  2. 2025Encoder-Decoder Diffusion Language Models for Efficient Training and Inferencecited by 24
  3. 2025VADTree: Explainable Training-Free Video Anomaly Detection via Hierarchical Granularity-Aware Treecited by 18
  4. 2025T5Gemma 2: Seeing, Reading, and Understanding Longercited by 17
  5. 2025PrismAudio: Decomposed Chain-of-Thoughts and Multi-dimensional Rewards for Video-to-Audio Generationcited by 9
  6. 2025HPLT 3.0: Very Large-Scale Multilingual Resources for LLMs and MT. Mono- and Bi-lingual Data, Multilingual Evaluation, and Pre-Trained Modelscited by 7
  7. 2025CorPipe at CRAC 2025: Evaluating Multilingual Encoders for Multilingual Coreference Resolutioncited by 3
  8. 2025ARC-Encoder: learning compressed text representations for large language modelscited by 3
  9. 2026SAME: A Semantically-Aligned Music Autoencodercited by 3
  10. 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Trainingcited by 2
  11. 2026i1: A Simple and Fully Open Recipe for Strong Text-to-Image Modelscited by 2
  12. 2025Beyond Token-level Supervision: Unlocking the Potential of Decoding-based Regression via Reinforcement Learningcited by 1
16 more
  1. 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recallcited by 1
  2. 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusioncited by 1
  3. 2026Continuous Language Diffusion as a Decoder-Interface Problemcited by 1
  4. 2026Streaming T5-based Text-to-Speech Synthesis with Limited Lookaheadcited by 1
  5. 2026VoiceDesigner: Text-to-Voice Generation and Editing via Unified Diffusion Modeling and Data Augmentationcited by 1
  6. 2025NovoMolGen: Rethinking Molecular Language Model Pretrainingcited by 0
  7. 2025Direct Multi-Token Decodingcited by 0
  8. 2025oboro: Text-to-Image Synthesis on Limited Data using Flow-based Diffusion Transformer with MMH Attentioncited by 0
  9. 2026MiMIC: Mitigating Visual Modality Collapse in Universal Multimodal Retrieval While Avoiding Semantic Misalignmentcited by 0
  10. 2026Why do Large Language Models Fail in Low-resource Translation? Unraveling the Token Dynamics of Large Language Models for Machine Translationcited by 0
  11. 2026To MRL or not to MRL: Text Embeddings are Robust to Truncation Without Matryoshka Learning, Except In Heavy Truncation Scenarioscited by 0
  12. 2026VoxAudio: Vocalized Audio Synthesis via Multi-Reward Autoregressive Flow Matchingcited by 0
  13. 2026TransClean: A Benchmark for Detecting and Extracting Clean Translations from Large Language Model Outputscited by 0
  14. 2026Bongard: Training Machine Intuitioncited by 0
  15. 2026Scaling and Distilling Text Embeddings for Better Diffusibilitycited by 0
  16. 2026A Systematic Study of Small Language Models on Abstract Reasoning Taskscited by 0