~/talk

Keys, Queries, and Values: The Celestial Mechanics of Attention

Talkat Uphill Conf 2025 · 2025-04-24..04-25· [large-language-models]
slides:none on file

Claims that attention is what makes transformers understand context, demonstrates the actual scaled dot‑product formula softmax of QK^T/√dk and shows embeddings (dozens to thousands of dimensions) move into context by replacing a word vector with a weighted mixture of others (weights = e^{score}/sum). Uses dot product and cosine intuition, then implements asymmetry by applying two learned linear transforms so keys pull, queries get pulled. Presents concrete numbers (divide by √dk, exponentiate, normalize to percentages) and visualizes the result working on ambiguous words.

AI-written summary · about

  1. 0:00Attention mechanisms intro
  2. 4:19What embeddings are
  3. 11:12Attention modifies embeddings
  4. 22:10Key/query matrices for similarity
  5. 33:37Asymmetric pulls with keys/queries
  6. 39:41Keys/queries in practice
  7. 43:54Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.