Skip to main content
QUICK REVIEW

[Paper Review] Context Collapse: In-Context Learning and Model Collapse

Josef Ott|arXiv (Cornell University)|Jan 1, 2026
Domain Adaptation and Few-Shot LearningComputer Science0 citations
TL;DR

A master's thesis examining in-context learning and model collapse in large language models, showing phase transitions and skew-symmetric solutions in linear transformers and establishing almost sure convergence in collapse under data regimes, while introducing the notion of context collapse during long generations.

ABSTRACT

This thesis investigates two key phenomena in large language models (LLMs): in-context learning (ICL) and model collapse. We study ICL in a linear transformer with tied weights trained on linear regression tasks, and show that minimising the in-context loss leads to a phase transition in the learned parameters. Above a critical context length, the solution develops a skew-symmetric component. We prove this by reducing the forward pass of the linear transformer under weight tying to preconditioned gradient descent, and then analysing the optimal preconditioner. This preconditioner includes a skew-symmetric component, which induces a rotation of the gradient direction. For model collapse, we use martingale and random walk theory to analyse simplified settings - linear regression and Gaussian fitting - under both replacing and cumulative data regimes. We strengthen existing results by proving almost sure convergence, showing that collapse occurs unless the data grows sufficiently fast or is retained over time. Finally, we introduce the notion of context collapse: a degradation of context during long generations, especially in chain-of-thought reasoning. This concept links the dynamics of ICL with long-term stability challenges in generative models.

Motivation & Objective

  • Investigate in-context learning (ICL) in a linear transformer with tied weights trained on linear regression tasks.
  • Analyze how minimising in-context loss induces phase transitions in learned parameters.
  • Study model collapse using martingale and random walk theory under different data regimes.
  • Introduce the concept of context collapse as degradation of context during long generations.

Proposed method

  • Reduce the forward pass of a linear transformer with weight tying to preconditioned gradient descent.
  • Analyse the optimal preconditioner to show it includes a skew-symmetric component that rotates gradient directions.
  • Apply martingale and random walk theory to simplified settings such as linear regression and Gaussian fitting under replacing and cumulative data regimes.
  • Prove almost sure convergence results regarding collapse phenomena.
  • Characterise the connection between ICL dynamics and long-term stability challenges in generative models.

Experimental results

Research questions

  • RQ1What is the effect of context length on the learned parameters in a linear transformer with ICL on linear regression tasks?
  • RQ2Does minimising the in-context loss lead to a phase transition and emergence of skew-symmetric components in the solution?
  • RQ3How does model collapse occur under different data regimes in simplified settings like linear regression and Gaussian fitting?
  • RQ4Under what conditions does collapse fail to occur, and how do data growth or retention influence this?
  • RQ5What is the relationship between in-context learning dynamics and stability issues during long generations (context collapse)?

Key findings

  • A phase transition in learned parameters occurs when context length crosses a critical threshold.
  • The optimal preconditioner in the analyzed linear transformer includes a skew-symmetric component that rotates the gradient direction.
  • Under both replacing and cumulative data regimes, collapse phenomena can be characterized using martingale and random walk theory with almost sure convergence results.
  • Collapse occurs unless data grows sufficiently fast or is retained over time in the studied settings.
  • A new notion of context collapse is introduced, linking ICL dynamics to long-term stability challenges in generative models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.