Home Knowledge Base Encoder-Decoder Models

Encoder-Decoder Models are transformer architectures that process input through a bidirectional encoder and generate output through an autoregressive decoder with cross-attention — separating the "understanding" phase (encoder reads the full input with bidirectional attention) from the "generation" phase (decoder produces output tokens attending to both previous output tokens and the encoder's representations), as exemplified by T5, BART, and mBART for tasks like translation, summarization, and question answering.

What Is an Encoder-Decoder Model?

Why Encoder-Decoder Matters

Encoder-Decoder Models

ModelParametersPre-TrainingKey Innovation
T560M-11BSpan corruptionText-to-text unification
Flan-T580M-11BInstruction tuning on T5Zero-shot task generalization
BART140M-400MDenoising autoencoderFlexible corruption strategies
mBART680MMultilingual denoising25-language translation
mT5300M-13BMultilingual span corruption101-language coverage
UL220BMixture of denoisersUnified pre-training

Encoder-decoder models are the natural architecture for sequence-to-sequence tasks — leveraging bidirectional encoding for rich input understanding and autoregressive decoding with cross-attention for flexible output generation, with T5 and Flan-T5 demonstrating that the text-to-text framework enables a single model to handle translation, summarization, classification, and question answering through unified training.

encoder decodert5seq2seq

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.