Reproduce “Attention Mean Fields Predict Average Representation Dynamics and Reveal Context-Specific Computation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Micah Adler, John W. Byers, Mark Crovella

The authors estimate a frozen language model’s corpus-average attention for each token type and use it to predict average representations and head outputs. They compare actual outputs with these predictions to isolate context-specific residuals. On GPT-2, repeated 128-token passages show rising deviation at the copy boundary as next-token loss falls. This is a diagnostic, not unique evidence of in-context learning.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.