A Mathematical View of Transformers: Dynamics and the Long-Context Regime

Series
Job Candidate Talk
Time
Wednesday, December 9, 2026 - 11:00am for 1 hour (actually 50 minutes)
Location
Skiles 005 and https://gatech.zoom.us/j/96904649223
Speaker
Shi Chen – MIT – https://simonchenthu.github.io/
Organizer
Wei Zhu

Transformers underpin many large language models, yet a mathematical understanding of how they process information across layers remains incomplete. Representing the input, or context, by a probability measure leads to a model based on contextual flow maps and allows us to analyze transformer dynamics using tools from partial differential equations, probability, optimization, and geometry.

I will use this model to study transformers in the long-context regime, where inputs may contain both relevant and irrelevant information. I will address two complementary questions. First, how rapidly can a model benefit from additional informative examples? I will discuss in-context learning, in which examples supplied within the input guide a model's predictions, and present quantitative estimates comparing finite-context outputs with those of a mean-field model. Second, how can a language model remain selective as the number of distracting inputs grows? By studying a single self-attention layer, I will use extreme-value theory to characterize how temperature controls selectivity and identify a critical scaling with context length under which a small number of inputs retain substantial influence.

I will conclude by connecting this perspective to my broader research on the mathematical foundations of machine learning.