Stanford paper maps the circuit behind in-context learning in small language models
Overview
A Stanford paper titled "A Circuit for In-Context Learning" finds that small language models store each label's class in label tokens, then match new sentences against those stored classes.
The lookup activates only when labels repeat. Rohan Paul, who reported on the paper, says it tested Qwen3-4B, SmolLM3-3B and Llama-3.2-3B, with accuracy rising from about 20% with one example per class to 96% with six.
A separate report of the same Stanford research says more examples cannot teach a small model a pattern it does not already notice, such as the third letter of a word.
Written by AI from the articles below · updated Nov 4, 9:32 PM ET
Check the sources:
Article timeline
The articles in this story. Times are ET.
Rohan Paul@rohanpaul_aiXStanford paper maps the circuit behind few-shot learning in small language modelsAIA Stanford paper titled "A Circuit for In-Context Learning" examines how small language models learn from few-shot examples. It finds the models store each label's class in label tokens, then match new sentences against those stored classes, with the lookup switched on only when labels repeat. The paper tested Qwen3-4B, SmolLM3-3B and Llama-3.2-3B, and reports accuracy rising from about 20% with one example per class to 96% with six.

Heat Trend
Not enough continuous observations to show a trend yet.