Encyclopedia · 311 concepts
Learn this concept as a feed

Architectures · intermediate · concept 80 of 311 · Updated Nov 4, 2026

Attention Mechanism

A technique allowing models to focus on relevant parts of input when producing output. Self-attention (in Transformers) lets each position attend to all other positions in a sequence.

Interactive · 3D

Watch attention poll the sentence →

The journey step where every token asks every earlier token what matters.

L7 · LLM and generative AI engineerDevelopersTech leadersQA and testing

Top AI contributors on this

Key terms

QueryKeyValueAttention weightsSoftmax

Learn these first