What separating encoder and decoder buys you

MediumConcept15 minRERSMLEPro outline

The question

What is the benefit of an encoder-decoder split compared with a decoder only model? When would you choose each?

What the interviewer is looking for

  • Bidirectional encoding of the input
  • Cross attention lets the decoder query a fixed input representation
  • Efficiency when inputs are long and outputs short
  • Decoder only simplicity and scaling at pretraining
  • Concrete task examples

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Zhipu AI (Z.ai) question type: what an encoder-decoder split buys you; deep dive on a published paper.

Reported in: nowcoder.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Zhipu AI (Z.ai) question.