Contact Us

I-X Seminar Series: Learning linear models in-context with transformers with Spencer Frei

Key Details:

Time: 14.00 – 15.30
Date: Tuesday 17 October
Location: In Person and Livestreamed

I-X 5 Meeting Room, Level 5
Translation and Innovation Hub (I-HUB)
Imperial White City Campus
84 Wood Lane
London W12 7SL

Registration is
now closed
Recorded Event

Speaker

Spencer Frei is an Assistant Professor of Statistics at UC Davis.

Spencer Frei is an Assistant Professor of Statistics at UC Davis.  His research is on the foundations of deep learning, including topics related to benign overfitting, implicit regularization, and in-context learning.  Prior to joining UC Davis he was a postdoctoral fellow at UC Berkeley, working with Peter Bartlett and Bin Yu as a part of the NSF/Simons Collaboration on the Theoretical Foundations of Deep Learning.  He was named a Rising Star in Machine Learning by the University of Maryland in 2022 and was a co-organizer of the 2022 Deep Learning Theory Workshop and Summer School at the Simons Institute for the Theory of Computing.  He received his Ph.D in Statistics from UCLA in 2021 under the co-supervision of Quanquan Gu and Ying Nian Wu.

Talk Title

Learning linear models in-context with transformers

Talk Summary

Attention-based neural network sequence models such as transformers have the capacity to act as supervised learning algorithms: They can take as input a sequence of labeled examples and output predictions for unlabeled test examples.  Indeed, recent work by Garg et al. has shown that when training GPT2 architectures over random instances of linear regression problems, these models’ predictions mimic those of ordinary least squares.  Towards understanding the mechanisms underlying this phenomenon, we investigate the dynamics of in-context learning of linear predictors for a transformer with a single linear self-attention layer trained by gradient flow.  We show that despite the non-convexity of the underlying optimization problem, gradient flow with a random initialization finds a global minimum of the objective function.  Moreover, when given a prompt of labeled examples from a new linear prediction task, the trained transformer achieves small prediction error on unlabeled test examples.  We further characterize the behavior of the trained transformer under distribution shifts.

Event Recording

Watch on Youtube

More Events

Jan
08

Join the winter edition of Multi-Service Networks workshop, which will cover all aspects of networked systems.

Jan
08

In his Inaugural Lecture, Professor Hamed Haddadi discusses his academic journey towards building networked systems.

Jan
13

This workshop aims to bring together researchers in stochastic analysis, statistics and theoretical machine learning for an exchange of ideas at the forefront of the field. The