mej7.comHow AI Works

Multi-head attention

Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.

Several attention heads in parallel in one layer, then concatenated and mixed by an output matrix (Vaswani et al., 2017).

In one paragraph. Several attention heads in parallel in one layer, then concatenated and mixed by an output matrix (Vaswani et al., 2017).

Used in

Related terms

Full glossary