atlas

Research map / Probabilistic and scientific modeling / Uncertainty and Gaussian processes

In-Context Learning through the Bayesian Prism

ICLR 2024 · Probabilistic and scientific modeling › Uncertainty and Gaussian processes · approach: Bayesian view of meta-learning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Empirically tests whether transformers trained in-context on single and mixed function families (hierarchical meta-ICL) behave like Bayesian posterior-mean predictors, and studies simplicity bias, OOD generalization, and forgetting.

Problem

Understanding the inductive biases of in-context learning in transformers trained on meta-learning-style function-class setups, especially when training data is a mixture of multiple function families and when generalization to unseen function classes occurs.

Approach

Generalizes meta-ICL to hierarchical meta-ICL (HMICL) where prompts come from a mixture of function classes, and argues via the Bayesian view that transformers approximate the posterior predictive mean (PME), so task recognition and solving are intertwined; tests this across many linear and nonlinear families against exact or numerical Bayesian predictors and strong baselines.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train on a two-component Gaussian mixture rather than one Gaussian task priorTransformer in-context learning · GMM dense regressionMSEHelped
Increase the number K of pretraining feature-set classesDegree-2 monomial transformer · OOD feature setserrorHelped
Increase the number K of pretraining feature-set classesDegree-2 monomial transformer · ID feature setserrorHurt
Use a mixture of Fourier classes with different maximum frequencies instead of a single classFourier-series transformer · Fourier series, short promptsrecovered frequency coefficientsMixed
Bias the pretraining distribution toward lower frequenciesFourier-series transformer · Fourier series, short promptsrecovered frequency coefficientsHelped
Remove positional encodings (ablation)Transformer · Dense regression, length generalizationerrorHelped
Remove positional encodings (ablation)Transformer · Sparse regression, length generalizationerrorHelped
Increase K task diversity from the Gaussian forgetting region to very high diversityNoisy linear regression transformer · OOD Gaussian taskslossMixed
Use curriculum learningTransformer training · In-context regression tasksconvergence speedHelped
Train on the artificial repeated-coordinate weight-vector task instead of sign-vector regressionTransformer · Artificial task regressionerrorHelped

Surprising findings

Limitations

Experimental setup

Datasets: synthetic function-class prompts (dense, sparse, sign-vector, low-rank regression; GMM; Fourier series; degree-2 monomia

Benchmarks: synthetic function-class regression tasks

Metrics: squared error vs prompt length MSE of probed implied weights Fourier coefficient magnitude

Baselines: OLS Ridge regression Lasso L-infinity norm minimization nuclear norm minimization NUTS MCMC PME dMMSE

Builds on: Garg et al. meta-ICL setup for function classes Prior Fitted Networks Raventos et al. pretraining task diversity GPT-2 decoder-only transformer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy