Reproduce “The mechanistic basis of data dependence and abrupt learning in an in-context classification task” 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

Gautam Reddy

The mechanistic basis of abrupt in-context learning is revealed through a minimal transformer model, showing how induction heads form due to nested nonlinearities creating "cliffs" in the loss landscape, explaining sudden performance gains. This work by Gautam Reddy at NTT Research Inc., Harvard University, and Princeton University identifies an intrinsic curriculum where an initial learning phase guides the network towards these critical points, enabling robust acquisition of complex in-context abilities.

Key insights

  • Nested nonlinearities within multi-layer attention operations create "cliffs" in the loss landscape, providing a mechanistic explanation for the abrupt emergence of complex abilities like in-context learning.
  • An initial 'slow learning phase' can act as an intrinsic curriculum, guiding the network's optimization trajectory towards these steep regions in the loss landscape, facilitating the acquisition of more complex solutions.
  • The formation of induction heads is confirmed as the direct driver of in-context learning, even in minimal transformer models, validating their role as a fundamental mechanistic circuit.

Summary by alphaXiv.

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