Encoder-Decoder Gemma: Improving the Quality-Efficiency Trade-Off via Adaptation
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
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
32 more
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2024Mixtral of Expertscited by 1,823
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 716
- 2019Text Summarization with Pretrained Encoderscited by 556
- 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 530
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2019MASS: Masked Sequence to Sequence Pre-training for Language Generationcited by 347
- 2022UL2: Unifying Language Learning Paradigmscited by 295
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 251
- 2024MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Casescited by 223
- 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 150
- 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 105
- 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 64
- 2020Encoder-Decoder Models Can Benefit from Pre-trained Masked Language Models in Grammatical Error Correctioncited by 59
- 2019Towards Making the Most of BERT in Neural Machine Translationcited by 43
- 2022Examining Scaling and Transfer of Language Model Architectures for Machine Translationcited by 26
- 2019On the use of BERT for Neural Machine Translationcited by 23
- 2023OpenBA: An Open-sourced 15B Bilingual Asymmetric seq2seq Model Pre-trained from Scratchcited by 7
Built on by
Citing papers per year: 2025: 13; 2026: 15.
28 papers.
Sort:
By area:
- 2025EmbeddingGemma: Powerful and Lightweight Text Representationscited by 139
- 2025Encoder-Decoder Diffusion Language Models for Efficient Training and Inferencecited by 24
- 2025VADTree: Explainable Training-Free Video Anomaly Detection via Hierarchical Granularity-Aware Treecited by 18
- 2025T5Gemma 2: Seeing, Reading, and Understanding Longercited by 17
- 2025PrismAudio: Decomposed Chain-of-Thoughts and Multi-dimensional Rewards for Video-to-Audio Generationcited by 9
- 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
- 2025CorPipe at CRAC 2025: Evaluating Multilingual Encoders for Multilingual Coreference Resolutioncited by 3
- 2025ARC-Encoder: learning compressed text representations for large language modelscited by 3
- 2026SAME: A Semantically-Aligned Music Autoencodercited by 3
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Trainingcited by 2
- 2026i1: A Simple and Fully Open Recipe for Strong Text-to-Image Modelscited by 2
- 2025Beyond Token-level Supervision: Unlocking the Potential of Decoding-based Regression via Reinforcement Learningcited by 1
16 more
- 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recallcited by 1
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusioncited by 1
- 2026Continuous Language Diffusion as a Decoder-Interface Problemcited by 1
- 2026Streaming T5-based Text-to-Speech Synthesis with Limited Lookaheadcited by 1
- 2026VoiceDesigner: Text-to-Voice Generation and Editing via Unified Diffusion Modeling and Data Augmentationcited by 1
- 2025NovoMolGen: Rethinking Molecular Language Model Pretrainingcited by 0
- 2025Direct Multi-Token Decodingcited by 0
- 2025oboro: Text-to-Image Synthesis on Limited Data using Flow-based Diffusion Transformer with MMH Attentioncited by 0
- 2026MiMIC: Mitigating Visual Modality Collapse in Universal Multimodal Retrieval While Avoiding Semantic Misalignmentcited by 0
- 2026Why do Large Language Models Fail in Low-resource Translation? Unraveling the Token Dynamics of Large Language Models for Machine Translationcited by 0
- 2026To MRL or not to MRL: Text Embeddings are Robust to Truncation Without Matryoshka Learning, Except In Heavy Truncation Scenarioscited by 0
- 2026VoxAudio: Vocalized Audio Synthesis via Multi-Reward Autoregressive Flow Matchingcited by 0
- 2026TransClean: A Benchmark for Detecting and Extracting Clean Translations from Large Language Model Outputscited by 0
- 2026Bongard: Training Machine Intuitioncited by 0
- 2026Scaling and Distilling Text Embeddings for Better Diffusibilitycited by 0
- 2026A Systematic Study of Small Language Models on Abstract Reasoning Taskscited by 0
- 2026A Systematic Study of Small Language Models on Abstract Reasoning Tasks6 Oct 2026
- 2026Scaling and Distilling Text Embeddings for Better Diffusibility1 Oct 2026
- 2026Bongard: Training Machine Intuition30 Sep 2026
- 2026TransClean: A Benchmark for Detecting and Extracting Clean Translations from Large Language Model Outputs10 Sep 2026
- 2026VoxAudio: Vocalized Audio Synthesis via Multi-Reward Autoregressive Flow Matching13 Aug 2026
- 2026VoiceDesigner: Text-to-Voice Generation and Editing via Unified Diffusion Modeling and Data Augmentation12 Aug 2026
- 2026Streaming T5-based Text-to-Speech Synthesis with Limited Lookahead20 Jun 2026
- 2026i1: A Simple and Fully Open Recipe for Strong Text-to-Image Models9 Jun 2026
- 2026Continuous Language Diffusion as a Decoder-Interface Problem7 Jun 2026
- 2026SAME: A Semantically-Aligned Music Autoencoder18 May 2026
- 2026To MRL or not to MRL: Text Embeddings are Robust to Truncation Without Matryoshka Learning, Except In Heavy Truncation Scenarios15 May 2026
- 2026Why do Large Language Models Fail in Low-resource Translation? Unraveling the Token Dynamics of Large Language Models for Machine Translation8 May 2026
16 more
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusion5 May 2026
- 2026MiMIC: Mitigating Visual Modality Collapse in Universal Multimodal Retrieval While Avoiding Semantic Misalignment23 Apr 2026
- 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recall17 Jan 2026
- 2025T5Gemma 2: Seeing, Reading, and Understanding Longer16 Dec 2025
- 2025Beyond Token-level Supervision: Unlocking the Potential of Decoding-based Regression via Reinforcement Learning6 Dec 2025
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Training2 Dec 2025
- 2025PrismAudio: Decomposed Chain-of-Thoughts and Multi-dimensional Rewards for Video-to-Audio Generation24 Nov 2025
- 2025oboro: Text-to-Image Synthesis on Limited Data using Flow-based Diffusion Transformer with MMH Attention11 Nov 2025
- 2025HPLT 3.0: Very Large-Scale Multilingual Resources for LLMs and MT. Mono- and Bi-lingual Data, Multilingual Evaluation, and Pre-Trained Models2 Nov 2025
- 2025Encoder-Decoder Diffusion Language Models for Efficient Training and Inference26 Oct 2025
- 2025VADTree: Explainable Training-Free Video Anomaly Detection via Hierarchical Granularity-Aware Tree26 Oct 2025
- 2025ARC-Encoder: learning compressed text representations for large language models23 Oct 2025
- 2025Direct Multi-Token Decoding13 Oct 2025
- 2025EmbeddingGemma: Powerful and Lightweight Text Representations24 Sep 2025
- 2025CorPipe at CRAC 2025: Evaluating Multilingual Encoders for Multilingual Coreference Resolution22 Sep 2025
- 2025NovoMolGen: Rethinking Molecular Language Model Pretraining19 Aug 2025
- 2025Encoder-Decoder Diffusion Language Models for Efficient Training and Inferencecited by 24
- 2026i1: A Simple and Fully Open Recipe for Strong Text-to-Image Modelscited by 2
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusioncited by 1
- 2026Continuous Language Diffusion as a Decoder-Interface Problemcited by 1
- 2026VoiceDesigner: Text-to-Voice Generation and Editing via Unified Diffusion Modeling and Data Augmentationcited by 1
- 2025oboro: Text-to-Image Synthesis on Limited Data using Flow-based Diffusion Transformer with MMH Attentioncited by 0
- 2026VoxAudio: Vocalized Audio Synthesis via Multi-Reward Autoregressive Flow Matchingcited by 0
- 2026Scaling and Distilling Text Embeddings for Better Diffusibilitycited by 0
- 2026Scaling and Distilling Text Embeddings for Better Diffusibility1 Oct 2026
- 2026VoxAudio: Vocalized Audio Synthesis via Multi-Reward Autoregressive Flow Matching13 Aug 2026
- 2026VoiceDesigner: Text-to-Voice Generation and Editing via Unified Diffusion Modeling and Data Augmentation12 Aug 2026
- 2026i1: A Simple and Fully Open Recipe for Strong Text-to-Image Models9 Jun 2026
- 2026Continuous Language Diffusion as a Decoder-Interface Problem7 Jun 2026
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusion5 May 2026
- 2025oboro: Text-to-Image Synthesis on Limited Data using Flow-based Diffusion Transformer with MMH Attention11 Nov 2025
- 2025Encoder-Decoder Diffusion Language Models for Efficient Training and Inference26 Oct 2025
- 2025PrismAudio: Decomposed Chain-of-Thoughts and Multi-dimensional Rewards for Video-to-Audio Generationcited by 9
- 2025ARC-Encoder: learning compressed text representations for large language modelscited by 3
- 2025NovoMolGen: Rethinking Molecular Language Model Pretrainingcited by 0
- 2026A Systematic Study of Small Language Models on Abstract Reasoning Taskscited by 0
- 2026A Systematic Study of Small Language Models on Abstract Reasoning Tasks6 Oct 2026
- 2025PrismAudio: Decomposed Chain-of-Thoughts and Multi-dimensional Rewards for Video-to-Audio Generation24 Nov 2025
- 2025ARC-Encoder: learning compressed text representations for large language models23 Oct 2025
- 2025NovoMolGen: Rethinking Molecular Language Model Pretraining19 Aug 2025
- 2025EmbeddingGemma: Powerful and Lightweight Text Representationscited by 139
- 2025VADTree: Explainable Training-Free Video Anomaly Detection via Hierarchical Granularity-Aware Treecited by 18
- 2025T5Gemma 2: Seeing, Reading, and Understanding Longercited by 17
- 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
- 2025CorPipe at CRAC 2025: Evaluating Multilingual Encoders for Multilingual Coreference Resolutioncited by 3
- 2026SAME: A Semantically-Aligned Music Autoencodercited by 3
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Trainingcited by 2
- 2026Streaming T5-based Text-to-Speech Synthesis with Limited Lookaheadcited by 1
- 2025Direct Multi-Token Decodingcited by 0
- 2026MiMIC: Mitigating Visual Modality Collapse in Universal Multimodal Retrieval While Avoiding Semantic Misalignmentcited by 0
- 2026Why do Large Language Models Fail in Low-resource Translation? Unraveling the Token Dynamics of Large Language Models for Machine Translationcited by 0
- 2026To MRL or not to MRL: Text Embeddings are Robust to Truncation Without Matryoshka Learning, Except In Heavy Truncation Scenarioscited by 0
12 most cited of 14 All 14 (JSON)
- 2026Bongard: Training Machine Intuition30 Sep 2026
- 2026TransClean: A Benchmark for Detecting and Extracting Clean Translations from Large Language Model Outputs10 Sep 2026
- 2026Streaming T5-based Text-to-Speech Synthesis with Limited Lookahead20 Jun 2026
- 2026SAME: A Semantically-Aligned Music Autoencoder18 May 2026
- 2026To MRL or not to MRL: Text Embeddings are Robust to Truncation Without Matryoshka Learning, Except In Heavy Truncation Scenarios15 May 2026
- 2026Why do Large Language Models Fail in Low-resource Translation? Unraveling the Token Dynamics of Large Language Models for Machine Translation8 May 2026
- 2026MiMIC: Mitigating Visual Modality Collapse in Universal Multimodal Retrieval While Avoiding Semantic Misalignment23 Apr 2026
- 2025T5Gemma 2: Seeing, Reading, and Understanding Longer16 Dec 2025
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Training2 Dec 2025
- 2025HPLT 3.0: Very Large-Scale Multilingual Resources for LLMs and MT. Mono- and Bi-lingual Data, Multilingual Evaluation, and Pre-Trained Models2 Nov 2025
- 2025VADTree: Explainable Training-Free Video Anomaly Detection via Hierarchical Granularity-Aware Tree26 Oct 2025
- 2025Direct Multi-Token Decoding13 Oct 2025
12 newest of 14 All 14 (JSON)