~/talk

Revealing the Unseen: Visualizing Attention in Transformer Models

Talkat DSC Europe 23 · 2023-11-20..11-24· [large-language-models]
links:none on file
slides:none on file

Explains how tokenization and high‑dimensional embeddings feed into query, key, value projections and how dot‑product self‑attention produces context‑aware vectors; shows masked attention for generation vs. encoder only behavior; demonstrates multi‑head attention learning distinct roles and visualizes those roles with two tools called expert and birth Vis (works with Hugging Face models like GPT2 and BERT). Shows a concrete bias example where attention links “his”→doctor and “her”→nurse, and suggests fine‑tuning to correct it.

AI-written summary · about

  1. 0:00Transformers and attention
  2. 1:58Language models process text
  3. 5:10Self-attention and embeddings
  4. 7:38Masked self-attention for generation
  5. 9:06Query, key, and value vectors
  6. 10:50Multi-head attention benefits
  7. 11:55Encoder and decoder blocks
  8. 13:20Visualizing attention tools
  9. 16:35Attention patterns in heads
  10. 17:36Testing pronoun context
  11. 18:42Detecting bias in attention
  12. 19:25Exploring attention with BERT VIS
  13. 22:13Summary
~/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.