Encoder-Decoder or Decoder-Only? Revisiting Encoder-Decoder Large Language Model
Not on the map. Why?
Abstract (arXiv)
Recent large language model (LLM) research has undergone an architectural shift from encoder-decoder modeling to nowadays the dominant decoder-only modeling. This rapid transition, however, comes without a rigorous comparative analysis especially textitfrom the scaling perspective, raising concerns that the potential of encoder-decoder models may have been overlooked. To fill this gap, we revisit encoder-decoder LLM (RedLLM), enhancing it with recent recipes from decoder-only LLM (DecLLM). We conduct a comprehensive comparison between RedLLM, pretrained with prefix language modeling (LM), and DecLLM, pretrained with causal LM, at different model scales, ranging from ~150M to ~8B. Using RedPajama V1 (1.6T tokens) for pretraining and FLAN for instruction tuning, our experiments show that RedLLM produces compelling scaling properties and surprisingly strong performance. While DecLLM is overall more compute-optimal during pretraining, RedLLM demonstrates comparable scaling and context length extrapolation capabilities. After instruction tuning, RedLLM achieves comparable and even better results on various downstream tasks while enjoying substantially better inference efficiency. We hope our findings could inspire more efforts on re-examining RedLLM, unlocking its potential for developing powerful and efficient LLMs.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 51 of its 57 references that are in the map. First posted on arXiv 30 Oct 2025.
Builds on
51 of 57 references.
References · 51
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
38 more
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,853
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2020GLU Variants Improve Transformercited by 1,724
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023PaLM 2 Technical Reportcited by 1,154
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
- 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 668
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
- 2020UnifiedQA: Crossing Format Boundaries With a Single QA Systemcited by 475
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2024When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Methodcited by 201
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 149
- 2021Do Transformer Modifications Transfer Across Implementations and Applications?cited by 87
- 2022Data Scaling Laws in NMT: The Effect of Noise and Architecturecited by 55
- 2023Paloma: A Benchmark for Evaluating Language Model Fitcited by 53
- 2021Lower Perplexity is Not Always Human-Likecited by 52
- 2022Bidirectional Language Models Are Also Few-shot Learnerscited by 48
- 2024Can Perplexity Reflect Large Language Model's Ability in Long Text Understanding?cited by 45
- 2023Decoder-Only or Encoder-Decoder? Interpreting Language Model as a Regularized Encoder-Decodercited by 44
- 2023Scaling Laws for Multilingual Neural Machine Translationcited by 27
- 2022Examining Scaling and Transfer of Language Model Architectures for Machine Translationcited by 26
- 2020On Sparsifying Encoder Outputs in Sequence-to-Sequence Modelscited by 8
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025T5Gemma 2: Seeing, Reading, and Understanding Longercited by 12
- 2026Large Language Model-Assisted UAV Operations and Communications: A Multifaceted Survey and Tutorialcited by 4
- 2026Do Encoders Suffice? A Systematic Comparison of Encoder and Decoder Safety Judges for LLM Adversarial Evaluationcited by 0
- 2026Bongard: Training Machine Intuitioncited by 0
- 2026Bongard: Training Machine Intuition30 Sep 2026
- 2026Do Encoders Suffice? A Systematic Comparison of Encoder and Decoder Safety Judges for LLM Adversarial Evaluation24 Jun 2026
- 2026Large Language Model-Assisted UAV Operations and Communications: A Multifaceted Survey and Tutorial23 Feb 2026
- 2025T5Gemma 2: Seeing, Reading, and Understanding Longer16 Dec 2025