paper-with-me

Papers

Encoder-Decoder or Decoder-Only? Revisiting Encoder-Decoder Large Language Model

2025-10-30 · Biao Zhang, Yong Cheng, Siamak Shakeri, Xinyi Wang, Min Ma, Orhan Firat 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 \textit{from 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 $\sim$150M to $\sim$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.

📄 PDF Abstract BibTeX arXiv:2510.26622

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Decoder-Only or Encoder-Decoder? Interpreting Language Model as a Regularized Encoder-Decoder

2023-04-08 · Zihao Fu, Wai Lam, Qian Yu, Anthony Man-Cho So 외

The sequence-to-sequence (seq2seq) task aims at generating the target sequence based on the given input source sequence. Traditionally, most of the seq2seq task is resolved by the Encoder-Decoder framework which requires…

Data-to-Text GenerationDecoderLanguage ModelingLanguage Modelling+2

Seq vs Seq: An Open Suite of Paired Encoders and Decoders

2025-07-15 · Orion Weller, Kathryn Ricci, Marc Marone, Antoine Chaffin 외

The large language model (LLM) community focuses almost exclusively on decoder-only language models, since they are easier to use for text generation. However, a large subset of the community still uses encoder-only mode…

DecoderLarge Language ModelRetrievalText Generation

Block-Based Double Decoders

2026-05-11 · Asher Labovich, Benjamin Bradley, Vanessa Alexander, Chaitanya Harsha arxiv

Encoder-decoder models offer substantial inference-time savings over decoder-only models, but their pretraining objectives suffer from sparse supervision and dynamic sequence lengths, keeping them out of practice at scal…

An Exploration of Encoder-Decoder Approaches to Multi-Label Classification for Legal and Biomedical Text

2023-05-09 · Yova Kementchedjhieva, Ilias Chalkidis

Standard methods for multi-label text classification largely rely on encoder-only pre-trained language models, whereas encoder-decoder models have proven more effective in other classification tasks. In this study, we co…

ClassificationDecoderMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATION+4

Causal Reasoning Favors Encoders: On The Limits of Decoder-Only Models

2025-12-11 · Amartya Roy, Elamparithy M, Kripabandhu Ghosh, Ponnurangam Kumaraguru 외 arxiv

In context learning (ICL) underpins recent advances in large language models (LLMs), although its role and performance in causal reasoning remains unclear. Causal reasoning demands multihop composition and strict conjunc…