Concept icon
Concept

Specialization of Self-Attention Heads for Linguistic Structure

Visualizations of Transformer encoder self-attention reveal that individual attention heads learn to perform distinct tasks related to the syntactic structure of a sentence. Rather than computing identical distributions, different heads—such as those observed at layer 5 of 6—exhibit specialized behaviors corresponding to specific grammatical and structural relationships.

0

1

Concept icon
Updated 2026-09-07

Tags

Prep Sessions

Transformer Architecture and Large Language Model Capabilities @ University of Michigan - Ann Arbor

Ch.1 Transformer Architecture Fundamentals - Transformer Architecture and Large Language Model Capabilities @ University of Michigan - Ann Arbor

Attention Visualizations and Linguistic Structure Resolution - Transformer Architecture and Large Language Model Capabilities @ University of Michigan - Ann Arbor