Skip to content

architectures

Multi-Head Attention

An extension of attention where multiple attention operations run in parallel, each with different learned projections. This allows the model to simultaneously capture different types of relationships (syntactic, semantic, positional) from the input.

In practice

One attention head might focus on syntactic structure while another captures semantic meaning, together building a richer representation.