Aller au contenu
Menu
Français

Multi-Head Attention

Running several attention operations in parallel over different projections.

concept Algorithmes 2 relationships

Aperçu

Multi-head attention splits the representation into several subspaces, runs attention independently in each, and concatenates the results. It solves the problem that a single attention distribution has to average over incompatible kinds of relationship - syntactic, semantic, positional - in one weighting. It exists because several narrow attentions outperform one wide one at the same cost.

Graphe des technologies

Comment Multi-Head Attention se rattache au reste de la pile.

Classification

Outils

Logiciels qui implémentent Multi-Head Attention ou s'y intègrent.

Algorithms