Sequence-to-Sequence (Seq2Seq)

An AI design where one network reads a full input and another uses that understanding to produce a different output sequence, like translating a sentence.

Technically: An architecture pairing an encoder that compresses a variable-length input into a representation with a decoder that generates a variable-length output conditioned on it. Originally built with RNNs, it was reshaped by the Transformer's cross-attention, which lets the decoder attend to every encoder position at each step rather than a single context vector.

Category: Model Architectures

Related ideas