Skip to content
LLM In-Context Learning as Kernel Regression episode artwork

May 23, 2025 12 min

LLM In-Context Learning as Kernel Regression

from Best AI papers explained Hosted by Enoch H. Kang

This academic paper investigates the mechanism behind in-context learning (ICL) in large language models (LLMs). The authors propose a theoretical analysis suggesting that ICL can be understood as kernel regression, where the model uses input-output examples within the prompt to make predictions on new data. Through analysis of attention patterns and experiments across different tasks, the study provides evidence that LLMs allocate significant attention to the demonstration samples, particularly their labels, and that internal key and value vectors store relevant information for this process. While the kernel regression framework explains phenomena like the importance of example similarity and output formats, the paper acknowledges that certain aspects of ICL, such as sensitivity to sample order, remain unexplained by this model.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

LLM In-Context Learning as Kernel Regression

0:00 12:56

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Best AI papers explained?

This episode is 12 minutes long.

When was this Best AI papers explained episode published?

This episode was published on May 23, 2025.

Can I download this Best AI papers explained episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.