Encoder–Decoder Model
Definition
An encoder-decoder model maps inputs internally and generates outputs from them; sequence-to-sequence is a common form.
The encoder maps the input internally; the decoder gradually generates the output from it, often using Attention.
Simply explained
One understands the message, the other formulates the answer.
Why it matters in practice
The architecture supports translation, summary, transcription and structured generation.
Example from business
Hypothetical example: A system combines long service reports into a standardized handover format.
Limits and pitfalls
- Overlooked error propagation, hallucinations, untested issues, and inappropriate training data.
Origin & history
Sutskever, Vinyals and Le described a formative Seq2Seq process with LSTMs in 2014. The 2017 Transformer used Attention for encoders and decoders.
Use in mid-sized companies
- SMEs can automate clearly limited conversion tasks when outputs is validated.
Frequently asked questions
Does the output have to be the same length?
No. Is every LLM encoder-decoder? No, many are decoder-only.
Sources
Source check: 10.10.2026. Definition and documented classification matched; examples describe possible applications.
Editorially reviewed on: