Introduction
Attention becomes natural after recurrence.
RNNs carry information forward through a hidden state. LSTMs and GRUs improve that path with gates. Attention changes the route: a position can read from other positions using learned weights.
What this chapter covers
- sequential bottleneck;
- fixed hidden-state bottleneck;
- direct access to earlier positions;
- alignment intuition;
- attention as weighted reading.