Brain-Score 98/100 TECH 3Blue1Brown · 26:10

Attention in transformers, step-by-step | Deep Learning Chapter 6

3-Second Blueprint (English)

  1. Self-attention maps high-dimensional token embeddings into Query and Key vectors whose dot products score contextual alignment.
  2. Softmax-normalized attention weights blend factored Value down- and up-projection vectors to shift token embeddings toward fuller meaning.
  3. Running multiple attention heads in parallel lets GPUs capture distinct grammatical and semantic relationships at massive scale.
Self-Attention MechanismQuery-Key-Value MatricesMulti-Head AttentionToken Embeddings

3-Sekunden-Fazit (Deutsch)

  1. Self-Attention projiziert Token-Embeddings in kleinere Query- und Key-Vektoren, deren Skalarprodukte kontextuelle Bezüge präzise messen.
  2. Per Softmax normierte Gewichte kombinieren faktorisierte Value-Projektionen, um die Bedeutung jedes Tokens im Satzkontext zu verfeinern.
  3. Mehrere parallele Attention-Heads ermöglichen es GPUs, unterschiedliche grammatische und semantische Beziehungen gleichzeitig zu erfassen.
Self-Attention-MechanismusQuery-Key-Value-MatrizenMulti-Head-AttentionToken-Embeddings

Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.