atlas

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

Can Generative AI Solve Your In-Context Learning Problem? A Martingale Perspective

ICLR 2025 · 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.

Proposes the generative predictive p-value, which lets posterior predictive checks run on conditional generative models (e.g., Llama-2, Gemma-2) by sampling dataset completions from the model's predictive distribution, to decide whether a CGM can solve an in-context learning problem.

Problem

Assessing whether a conditional generative model is an appropriate Bayesian model for an in-context learning problem, when only the predictive distribution (not the likelihood or posterior) of the CGM is accessible.

Approach

Replace sampling from the latent-explanation posterior with ancestral (predictive resampling) generation of a large dataset completion from the CGM predictive, then compute posterior-predictive-style p-values on that completion; a martingale argument (Doob's theorem) shows the infinite-completion version equals the standard posterior predictive p-value.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the generative predictive p-value under either the NLL or NLML discrepancy to predict out-of-capability tasksLlama-2 7B · Natural language ICL: RTE and MQP vs. SST2 and AG Newsaccuracy: >0.5Helped
Use the generative predictive p-value under either the NLL or NLML discrepancy to predict OOD tasksLlama-2 regression model · Generative fill: MNIST and CIFAR-10 vs. SVHNaccuracy: > 0.66\bar{6}Helped
Use NLML instead of NLL as the discrepancyGenerative predictive p-value capability predictor · Tabular, natural language, and imaging ICL tasksprecisionHelped
Use NLL instead of NLML as the discrepancyGenerative predictive p-value capability predictor · Tabular, natural language, and imaging ICL tasksrecallHelped
Use NLL with significance level α=0.05 rather than NLML at an evaluated significance levelGenerative predictive p-value capability predictor · Tabular, natural language, and imaging ICL tasksaccuracy: α=0.05Helped
Use the NLL discrepancy rather than NLMLGenerative predictive p-value capability predictor · In-distribution polynomial tabular tasksriskHelped
Use NLL rather than NLML to calculate the p-valueGenerative predictive p-value · In-distribution polynomial tabular tasksassociation between p-value and response RMSEHelped
Increase the generated completion size N-nGenerative predictive p-value · Reference Bayesian polynomial regression and OOD ReLU-NN tasksapproximation to reference NLL p-value: N-n = 2; 100Helped
Increase the in-context dataset size nNLML discrepancy capability predictor · Tabular and natural language ICL tasksrecallMixed
Use NLL rather than NLML to assess capabilityGenerative predictive p-value · In-distribution polynomial tabular tasksability to indicate sufficient in-context examplesHelped

Surprising findings

Limitations

Experimental setup

Datasets: SVHN MNIST CIFAR-10 SST2 AG News Medical Questions Pairs (MQP) RTE synthetic polynomial, ReLU-NN and RBF-GP regression tasks

Benchmarks: SST2 AG News MQP RTE SVHN MNIST CIFAR-10 synthetic tabular OOD regression tasks

Metrics: precision recall F1 accuracy FPR RMSE-based risk

Baselines: NLML discrepancy (posterior predictive p-value style) posterior predictive p-value

Builds on: posterior predictive checks Doob's theorem for estimators predictive resampling Bayesian model criticism

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