Can Generative AI Solve Your In-Context Learning Problem? A Martingale Perspective
Andrew Jesson, Nicolas Beltran-Velez, David M. Blei
摘要
This work is about estimating when a conditional generative model (CGM) can solve an in-context learning (ICL) problem. An in-context learning (ICL) problem comprises a CGM, a dataset, and a prediction task. The CGM could be a multimodal foundation model; the dataset, a collection of patient histories, test results, and recorded diagnoses; and the prediction task to communicate a diagnosis to a new patient. A Bayesian interpretation of ICL assumes that the CGM computes a posterior predictive distribution over an unknown Bayesian model defining a joint distribution over latent explanations and observable data. From this perspective, Bayesian model criticism is a reasonable approach to assess the suitability of a given CGM for an ICL problem. However, such approaches-like posterior predictive checks (PPCs)-often assume that we can sample from the likelihood and posterior defined by the Bayesian model, which are not explicitly given for contemporary CGMs. To address this, we show when ancestral sampling from the predictive distribution of a CGM is equivalent to sampling datasets from the posterior predictive of the assumed Bayesian model. Then we develop the generative predictive p-value, which enables PPCs and their cousins for contemporary CGMs. The generative predictive p-value can be used in a statistical decision procedure to determine when the model is appropriate for an ICL problem. Our method only requires generating queries and responses from a CGM and evaluating its response log probability. Using large language models, we empirically evaluate our method on tasks involving tabular data, imaging data, and natural language data.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Frequentist Consistency of Prior-Data Fitted Networks for Causal Inference 引用了 A Survey on In-context Learning
- Frequentist Consistency of Prior-Data Fitted Networks for Causal Inference 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
- Frequentist Consistency of Prior-Data Fitted Networks for Causal Inference 引用了 Language Models are Few-Shot Learners
- A Survey on In-context Learning 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
- A Survey on In-context Learning 引用了 Language Models are Few-Shot Learners
- An Explanation of In-context Learning as Implicit Bayesian Inference 引用了 Language Models are Few-Shot Learners
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model 引用了 Language Models are Few-Shot Learners
- Estimating the Hallucination Rate of Generative AI 引用了 A Survey on In-context Learning
- Estimating the Hallucination Rate of Generative AI 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
- Estimating the Hallucination Rate of Generative AI 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Estimating the Hallucination Rate of Generative AI 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper2
- Estimating the Hallucination Rate of Generative AIAndrew Jesson, Nicolas Beltran-Velez, Quentin Chu, Sweta Karlekar 等NeurIPS 2024 · 46 次引用
- Frequentist Consistency of Prior-Data Fitted Networks for Causal InferenceValentyn Melnychuk, Vahid Balazadeh, Stefan Feuerriegel, Rahul G. KrishnanICML 2026 · 4 次引用
它引用的 Paper26
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister 等NeurIPS 2023 · 1,549 次引用
- An Explanation of In-context Learning as Implicit Bayesian InferenceSang Michael Xie, Aditi Raghunathan, Percy Liang, Tengyu MaICLR 2022 · 1,030 次引用
- A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng 等EMNLP 2024 · 479 次引用
相关 Paper
- Bayesian Example Selection Improves In-Context Learning for Speech, Text and Visual ModalitiesSiyin Wang, Chao-Han Huck Yang, Ji Wu, Chao ZhangEMNLP 2024 · 3 次引用
- Pre-trained Large Language Models Learn to Predict Hidden Markov Models In-contextYijia Dai, Zhaolin Gao, Yahya Sattar, Sarah Dean 等NeurIPS 2025 · 2 次引用
- On the Out-Of-Distribution Generalization of Large Multimodal ModelsXingxuan Zhang, Jiansheng Li, Wenjing Chu, Junjia Hai 等CVPR 2025
- Is In-Context Learning in Large Language Models Bayesian? A Martingale PerspectiveFabian Falck, Ziyu Wang, Christopher C. HolmesICML 2024 · 46 次引用
- In-Context Learning through the Bayesian PrismMadhur Panwar, Kabir Ahuja, Navin GoyalICLR 2024 · 79 次引用
