Attention Mechanism
An attention mechanism computes different weights for information and combines it according to relevance to the current computation. The 2014 translation paper lets a decoder draw on relevant source positions instead of relying only on one fixed-length representation.[2] The Transformer uses attention as a central architectural component.[1]