Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How Transformers Learn Causal Structure with Gradient Descent

Simons Institute via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Watch a 38-minute lecture from Princeton University's Jason Lee at the Simons Institute exploring how transformer models learn and encode causal relationships through gradient descent training. Delve into the mechanics of self-attention mechanisms that enable transformers to effectively model sequences by transferring information between different sequence parts. Examine a specific in-context learning task designed to demonstrate how transformers learn latent causal structure, supported by mathematical proofs showing that gradient descent on a simplified two-layer transformer successfully encodes causal graphs in its first attention layer. Learn how the gradient of the attention matrix captures mutual information between tokens, and through the data processing inequality, reveals edges in latent causal graphs. Understand how these principles apply to special cases like in-context Markov chains where transformers develop induction heads, with experimental validation showing transformers can recover various causal structures through training.

Syllabus

How Transformers Learn Causal Structure with Gradient Descent

Taught by

Simons Institute

Reviews

Start your review of How Transformers Learn Causal Structure with Gradient Descent

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.