Skip to content

Landau theory of quenched criticality in linear in-context learning

Aug 2026 · 0 citations · 7 references
Physics Computer Science

TL;DR

This work identifies the connected sample-to-sample fluctuations of the learned parameters as the microscopic origin of the singular error in linear in-context learning.

Abstract

In-context learning (ICL) allows a pretrained model to infer a new task from examples supplied in its prompt without updating its parameters. In linear models of ICL, the prediction error develops a double-descent singularity when the number of pretraining samples becomes comparable to the number of learnable parameters. We formulate this interpolation singularity as a critical phenomenon of a quenched disordered system. By comparing annealed and quenched descriptions of the same linear ICL model, we identify the connected sample-to-sample fluctuations of the learned parameters as the microscopic origin of the singular error. A Landau potential is constructed by integrating the cavity self-consistency equation for the renormalized ridge parameter $\xi$. The role of (magnetization) order parameter is played by $\xi$, while the bare ridge parameter $\lambda$ becomes its conjugate magnetic field. The normalized sample complexity $\tau$ acts as a temperature and the double-descent singularity occurs at the critical temperature $\tau_c =1$. The Landau susceptibility is precisely the quantity that diverges in the fluctuation contribution to the prediction error. The order parameter is closely related to the fraction of zero eigenvalues of the empirical relaxation matrix in the ridgeless limit, which define flat directions in the learning dynamics. The Landau theory is generically cubic in the order parameter with critical exponents $(\beta_{\rm cr},\delta_{\rm cr},\gamma_{\rm cr})=(1,2,1)$. In the large-context regime, there appears a pseudogap-like regime characterized by suppressed order parameter. Predictions of the Landau theory are independently confirmed from numerical solutions of the original learning problem with good quantitative agreement. Our results pave the way for solid statistical-physics understanding of the interpolation criticality in linear in-context learning.

View source

Similar papers

Preprint Aug 2026

Computing the Critical Temperature of the Affine-Transformed $D=3$ Ising Model Using Masked Autoregressive Flow

The simple Ising model provides a rich environment to build and study lattice field theories. As part of an ongoing project to construct a conformal field theory (CFT) on an arbitrarily curved manifold, in this work we develop methods to measure the critical temperature $\beta_c$ of the affine-transformed Ising model o...

Kai Svenson, George T. Fleming, Richard C. Brower et al. · 0 citations
Open access Aug 2026

Deep learning study of nonequilibrium phase transitions in ferromagnetic systems under effective interactions

Phase transitions play a central role in statistical physics and are well understood in systems at thermal equilibrium. However, their nonequilibrium counterparts remain less explored because of the lack of a unified theoretical framework. In this study, we examine the potential of deep learning, specially convolutiona...

Dagne Wordofa Tola, Mulugeta Bekele · 0 citations
Preprint Sep 2026

Consensus in Effective Model Inference for Disordered Ising Systems

When independent learners are trained on data from the same disordered system, finite and noisy samples can lead them to different descriptions of the underlying physics. We quantify the reproducibility of such descriptions through consensus, the degree of agreement among independently trained models. In a teacher-stud...

Ashveed Ashraf · 0 citations
#machine learning Preprint Sep 2026

Quenched Ensemble Sampling

Some of the sharpest challenges in sampling from the energy functions of physical systems arise at phase transitions, where the density of states changes abruptly and many sampling algorithms stall. Nested sampling is a particle method that traverses the density of states under a hard energy constraint and is known to...

D. Yallup · 0 citations
Preprint Aug 2026

Overcoming critical slowing down in frustrated spin systems by learned multiscale sampling

Cluster algorithms, such as the Swendsen--Wang and Wolff methods, are among the most successful MCMC methods for mitigating critical slowing down in statistical systems. These constructive cluster algorithms, however, fail in the presence of even extremely weak frustration. Here, we sidestep this fundamental limitation...

G. Bandini, Giulio Biroli, Patrick Charbonneau et al. · 1 citation
Preprint Aug 2026

Learning Potts Models and $Z_3$ Toric Codes: Higher and Ordinary Nishimori Criticality

Motivated by a previous Ising study, we identify a ${\it higher}$ Nishimori line in the learning phase diagram of the $2D$ $q$-state Potts model $(2<q\leq 4)$ under bond-energy measurements. This ${\it higher}$ Nishimori line meets the critical temperature line of the Potts model, in a ${\it higher}$ Nishimori critical...

Rushikesh A. Patil, M. Pütz, Rohit Mukherjee et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.