Is a Description Worth a Thousand Demonstrations? Specificity and Reliability of Task Descriptions in In-Context Learning
Not on the map. Why?
Abstract (arXiv)
A prompt for in-context learning (ICL) can describe a task in addition to, or instead of, demonstrating it through examples. Yet how task descriptions work remains poorly understood theoretically. Through the Bayesian view of ICL, we model descriptions as informative priors characterized by their specificity and reliability. We adapt the effective sample size (ESS) from Bayesian statistics, quantifying a description's predictive value as an equivalent number of demonstrations. For in-context linear regression, we show that a reliable description's ESS grows with its specificity and with the task's dimension. A description that may be irrelevant, however, gains little from its specificity unless demonstrations are given. In practice, do in-context learners use descriptions as a Bayes-optimal predictor would? Our experiments show that meta-trained Transformers come close to the Bayes-optimal ESS when tested on their training distribution. Pretrained language models, however, make too little use of highly specific descriptions when answering without reasoning; most of them closely match the Bayes-optimal predictor only when reasoning is enabled. These results extend the Bayesian analysis of ICL from demonstrations to descriptions.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 35 of its 61 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.
Builds on
35 of 61 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 33,113
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,487
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 989
- 2024Phi-4 Technical Reportcited by 795
- 2022Transformers learn in-context by gradient descentcited by 763
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 754
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 729
- 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 531
- 2023Larger language models do in-context learning differentlycited by 436
- 20242 OLMo 2 Furiouscited by 413
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 334
23 more
- 2025Measuring AI Ability to Complete Long Software Taskscited by 210
- 2021How Many Data Points is a Prompt Worth?cited by 202
- 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 155
- 2023In-Context Learning through the Bayesian Prismcited by 95
- 2020Learning from Task Descriptionscited by 80
- 2024LLM Processes: Numerical Predictive Distributions Conditioned on Natural Languagecited by 73
- 2024Is In-Context Learning in Large Language Models Bayesian? A Martingale Perspectivecited by 68
- 2024Dual Operating Modes of In-Context Learningcited by 48
- 2025Bayesian Teaching Enables Probabilistic Reasoning in Large Language Modelscited by 43
- 2025Enough Coin Flips Can Make LLMs Act Bayesiancited by 28
- 2025From Prompts to Templates: A Systematic Prompt Template Analysis for Real-world LLMappscited by 23
- 2024Bayesian scaling laws for in-context learningcited by 22
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learningcited by 8
- 2025Martingale Score: An Unsupervised Metric for Bayesian Rationality in LLM Reasoningcited by 7
- 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 6
- 2024Had enough of experts? Quantitative knowledge retrieval from large language modelscited by 5
- 2025Programming by Backprop: An Instruction is Worth 100 Examples When Finetuning LLMscited by 3
- 2025Distilling Many-Shot In-Context Learning into a Cheat Sheetcited by 3
- 2026In-Context Function Learning in Large Language Modelscited by 3
- 2026Multi-Task Bayesian In-Context Learningcited by 2
- 2025In-Context Learning with Hypothesis-Class Guidancecited by 1
- 2026Demonstrations, CoT, and Prompting: A Theoretical Analysis of ICLcited by 1
- 2026From Prompts to Posteriors: Can LLM Agents Perform Bayesian Inference in Context?cited by 1
Built on by
Not cited yet.