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

YouTube

What Learning Algorithm is In-Context Learning? - Understanding Transformer Models and Neural Sequence Learning

Harvard CMSA via YouTube

Overview

Watch a 50-minute lecture from MIT's Jacob Andreas at Harvard CMSA exploring the mechanisms behind in-context learning in neural sequence models, particularly transformers. Dive into research findings that demonstrate how transformer-based in-context learners implement standard learning algorithms by encoding smaller models in their activations and updating them as new examples appear in the context. Learn about the implementation of learning algorithms for linear models based on gradient descent and closed-form ridge regression, and discover how trained in-context learners match predictors computed by various regression methods. Explore the algorithmic features shared between in-context learners and these predictors, including how learners' late layers encode weight vectors and moment matrices. Follow along as the lecture covers topics from introduction to in-context learning, transformer models, offline transformations, learning setup, quality predictions, and future directions in this collaborative research effort between MIT, Stanford, and other institutions.

Syllabus

Introduction
InContext Learning
Outline
In Context Learning
Training
What is a good ICL
Not just with welldefined problems
Identifying skills
Learning French
Can Transformer Models Do Real Learning
Offline Transformations
Computing Dot Products
Nonlinearity
Generic Transformer
Read Attend Write Operator
Parameterization
Learning Setup
Quality of Predictions
Other Predictions
Nearest Neighbors
Summary
Natural Questions
Standard Transformer
Linear Selfattention
Data Diversity
Real Models
Next Direction
Credits

Taught by

Harvard CMSA

Reviews

Start your review of What Learning Algorithm is In-Context Learning? - Understanding Transformer Models and Neural Sequence Learning

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.