Conceptual

Attention Mechanism

Instead of one bottleneck vector, the decoder scores every encoder hidden state at each output step, softmax-normalizes the scores, and consumes the weighted sum as a per-step context vector. This removes the fixed-size bottleneck and was the direct precursor to self-attention and the transformer.