.learn() - page 5
what I have learned so far
-
Trimming constructor arguments with dependency injection: MVVM and the .NET Host
How DI simplifies object creation, and how the .NET Generic Host keeps the ever-growing constructors of MVVM view models short.
-
Dynamic Programming
How overlapping subproblems and optimal substructure turn recursive definitions into efficient algorithms.
-
Self-attention and the Transformer - cutting the sequential chain and referencing directly
Where an RNN passed context along by accumulating it through previous states, the Transformer looks up the tokens it needs directly. How self-attention removes the sequential structure, and how it connects back to attention Seq2Seq.
-
The decoder's remaining problem - output context still accumulates
Attention solved the encoder-side information bottleneck. But the decoder itself is still a sequential structure that depends on its previous state. Here is why that becomes the final motivation for the Transformer.
-
Attention Seq2Seq - don't just look at the last state, look directly
How do you fix the vanilla Seq2Seq bottleneck? By letting the decoder reference every encoder hidden state directly, "as needed".