Learn Before
Concept
Attention Scoring Functions
There are major two types of attention - Those are Additive and Multiplicative attention. Those are also called Bahdanau and Luong attention based on the first authors of two papers introducing those methods:
- Additive (Bahdanau) in here we actually use previous decoder hidden state to calculate score for the next decoder state
- Multiplicative(Luong) - this one uses current decoder state to calculate score for the each of the decoder states
0
1
Updated 2026-05-14
Contributors are:
Who are from:
Tags
Data Science
D2L
Dive into Deep Learning @ D2L