~/talk

How Transformers Learn Causal Structure with Gradient Descent

name:Jason Lee
links:none on file
slides:none on file

Gradient descent on a two-layer disentangled transformer with one-hot tokens and softmax attention provably encodes a latent DAG: the first attention layer converges to the graph adjacency and the second implements copying (induction heads) for Markov chains. The attention gradient matches a chi-square mutual information measure so the largest entries identify parents; analysis assumes single-parent sequences from Dirichlet-sampled transitions with mixing and gives a polynomial-in-S rate (informal exponent ≈1/50), and experiments recover many DAGs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Induction heads in transformers
  3. 6:00Causal structure data
  4. 10:15Transformer architecture
  5. 14:31Disentangled transformers
  6. 17:01Training two attention blocks
  7. 21:04Learning causal graphs
  8. 27:00Gradient dynamics
  9. 30:17Multiple parents in n-grams
  10. 33:11Limitations and future
  11. 37:00Q&A
~/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.