Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrations
Not on the map. Why?
Abstract (arXiv)
Although large language models can be prompted for both zero- and few-shot learning, performance drops significantly when no demonstrations are available. In this paper, we introduce Z-ICL, a new zero-shot method that closes the gap by constructing pseudo-demonstrations for a given test input using a raw text corpus. Concretely, pseudo-demonstrations are constructed by (1) finding the nearest neighbors to the test input from the corpus and pairing them with random task labels, and (2) applying a set of techniques to reduce the amount of direct copying the model does from the resulting demonstrations. Evaluation on nine classification datasets shows that Z-ICL outperforms previous zero-shot methods by a significant margin, and is on par with in-context learning with labeled training data in the few-shot setting. Overall, Z-ICL provides a significantly higher estimate of the zero-shot performance levels of a model, and supports future efforts to develop better pseudo-demonstrations that further improve zero-shot results.
Key facts. Cited by 70 papers in the map (data through 14 Oct 2026). Builds on 20 of its 27 references that are in the map. First posted on arXiv 19 Dec 2022.
Builds on
20 of 27 references.
References · 20
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,060
- 2022In-context Learning and Induction Headscited by 964
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
8 more
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 165
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
- 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 132
- 2022Semantic-Oriented Unlabeled Priming for Large-Scale Language Modelscited by 12
Built on by
Citing papers per year: 2023: 24; 2024: 26; 2025: 16; 2026: 4.
70 papers.
Sort:
By area:
- 2023The Learnability of In-Context Learningcited by 127
- 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
- 2024Reliable, Adaptable, and Attributable Language Models with Retrievalcited by 73
- 2024A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasonerscited by 73
- 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 72
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Modelscited by 61
- 2024Dual Operating Modes of In-Context Learningcited by 43
- 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoningcited by 40
- 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improvecited by 38
- 2023Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Followingcited by 33
38 more
- 2023How to Configure Good In-Context Sequence for Visual Question Answeringcited by 33
- 2024LLMs Are In-Context Bandit Reinforcement Learnerscited by 29
- 2023Large Language Models are Strong Zero-Shot Retrievercited by 26
- 2024C-ICL: Contrastive In-context Learning for Information Extractioncited by 23
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configurationcited by 23
- 2023IDAS: Intent Discovery with Abstractive Summarizationcited by 22
- 2023Supervised Knowledge Makes Large Language Models Better In-context Learnerscited by 20
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learningcited by 19
- 2023Survival of the Most Influential Prompts: Efficient Black-Box Prompt Search via Clustering and Pruningcited by 17
- 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 16
- 2023Confronting LLMs with Traditional ML: Rethinking the Fairness of Large Language Models in Tabular Classificationscited by 15
- 2023Self-Improving for Zero-Shot Named Entity Recognition with Large Language Modelscited by 15
- 2024Exploring Automated Distractor Generation for Math Multiple-choice Questions via Large Language Modelscited by 15
- 2023Universal Self-Adaptive Promptingcited by 14
- 2024Everything Everywhere All at Once: LLMs can In-Context Learn Multiple Tasks in Superpositioncited by 14
- 2023Improving Probability-based Prompt Selection Through Unified Evaluation and Analysiscited by 13
- 2024The Impact of Demonstrations on Multilingual In-Context Learning: A Multidimensional Analysiscited by 13
- 2024Language Models can Exploit Cross-Task In-context Learning for Data-Scarce Novel Taskscited by 13
- 2024In-Context Example Ordering Guided by Label Distributionscited by 12
- 2024Retrieval-Augmented Data Augmentation for Low-Resource Domain Taskscited by 12
- 2023Ambiguity-Aware In-Context Learning with Large Language Modelscited by 11
- 2024Tox-BART: Leveraging Toxicity Attributes for Explanation Generation of Implicit Hate Speechcited by 11
- 2024DRUM: Learning Demonstration Retriever for Large MUlti-modal Modelscited by 10
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solvingcited by 10
- 2023Not All Demonstration Examples are Equally Beneficial: Reweighting Demonstration Examples for In-Context Learningcited by 9
- 2023Gen-Z: Generative Zero-Shot Text Classification with Contextualized Label Descriptionscited by 9
- 2024A Survey of Data Synthesis Approachescited by 9
- 2024Self-Evolving GPT: A Lifelong Autonomous Experiential Learnercited by 9
- 2023Scaling In-Context Demonstrations with Structured Attentioncited by 8
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learningcited by 8
- 2024Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?cited by 8
- 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrationscited by 7
- 2023Knowledgeable In-Context Tuning: Exploring and Exploiting Factual Knowledge for In-Context Learningcited by 6
- 2024DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learningcited by 6
- 2023ICXML: An In-Context Learning Framework for Zero-Shot Extreme Multi-Label Classificationcited by 5
- 2024P-ICL: Point In-Context Learning for Named Entity Recognition with Large Language Modelscited by 5
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Modelscited by 5
- 2025Collaborative Evolution: Multi-Round Learning Between Large and Small Language Models for Emergent Fake News Detectioncited by 5
50 most cited of 70 All 70 (JSON)
- 2026One Example Is Enough to Pass Fairness Benchmarks: Rethinking Fairness Evaluation for Aligned LLMs14 Sep 2026
- 2026LC-ICL: Label-Guided Contrastive In-Context Learning for Robust Information Extraction28 Jun 2026
- 2026Self-Improving In-Context Learning22 May 2026
- 2026From Exposure to Internalization: Dual-Stream Calibration for In-context Clinical Reasoning7 Apr 2026
- 2025ContextLeak: Auditing Leakage in Private In-Context Learning Methods18 Dec 2025
- 2025Beyond Plain Demos: A Demo-centric Anchoring Paradigm for In-Context Learning in Alzheimer's Disease Detection10 Nov 2025
- 2025Plan-and-Write: Structure-Guided Length Control for LLMs without Model Retraining3 Nov 2025
- 2025PICACO: Pluralistic In-Context Value Alignment of LLMs via Total Correlation Optimization22 Jul 2025
- 2025Function Induction and Task Generalization: An Interpretability Study with Off-by-One Addition14 Jul 2025
- 2025Unveiling Effective In-Context Configurations for Image Captioning: An External & Internal Analysis8 Jul 2025
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Bounds3 Jun 2025
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solving3 Jun 2025
38 more
- 2025Exploring In-context Example Generation for Machine Translation31 May 2025
- 2025CrossICL: Cross-Task In-Context Learning via Unsupervised Demonstration Transfer30 May 2025
- 2025An Empirical Study on Configuring In-Context Learning Demonstrations for Unleashing MLLMs' Sentimental Perception Capability22 May 2025
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configuration21 May 2025
- 2025Incomplete In-context Learning12 May 2025
- 2025Collaborative Evolution: Multi-Round Learning Between Large and Small Language Models for Emergent Fake News Detection27 Mar 2025
- 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrations5 Mar 2025
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoning5 Jan 2025
- 2024PICLe: Pseudo-Annotations for In-Context Learning in Low-Resource Named Entity Detection16 Dec 2024
- 2024DRUM: Learning Demonstration Retriever for Large MUlti-modal Models10 Dec 2024
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Models10 Dec 2024
- 2024DAWN-ICL: Strategic Planning of Problem-solving Trajectories for Zero-Shot In-Context Learning26 Oct 2024
- 2024BridG MT: Enhancing LLMs' Machine Translation Capabilities with Sentence Bridging and Gradual MT15 Oct 2024
- 2024Everything Everywhere All at Once: LLMs can In-Context Learn Multiple Tasks in Superposition8 Oct 2024
- 2024LLMs Are In-Context Bandit Reinforcement Learners7 Oct 2024
- 2024Large Language Models Are Self-Taught Reasoners: Enhancing LLM Applications via Tailored Problem-Solving Demonstrations22 Aug 2024
- 2024Self-Evolving GPT: A Lifelong Autonomous Experiential Learner12 Jul 2024
- 2024A Survey of Data Synthesis Approaches4 Jul 2024
- 2024A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasoners16 Jun 2024
- 2024Tox-BART: Leveraging Toxicity Attributes for Explanation Generation of Implicit Hate Speech6 Jun 2024
- 2024On the Noise Robustness of In-Context Learning for Text Generation27 May 2024
- 2024Language Models can Exploit Cross-Task In-context Learning for Data-Scarce Novel Tasks17 May 2024
- 2024P-ICL: Point In-Context Learning for Named Entity Recognition with Large Language Models8 May 2024
- 2024Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?19 Apr 2024
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning11 Apr 2024
- 2024Exploring Automated Distractor Generation for Math Multiple-choice Questions via Large Language Models2 Apr 2024
- 2024Reliable, Adaptable, and Attributable Language Models with Retrieval5 Mar 2024
- 2024Dual Operating Modes of In-Context Learning29 Feb 2024
- 2024Retrieval-Augmented Data Augmentation for Low-Resource Domain Tasks21 Feb 2024
- 2024The Impact of Demonstrations on Multilingual In-Context Learning: A Multidimensional Analysis20 Feb 2024
- 2024In-Context Example Ordering Guided by Label Distributions18 Feb 2024
- 2024C-ICL: Contrastive In-context Learning for Information Extraction17 Feb 2024
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Survey21 Jan 2024
- 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvements12 Jan 2024
- 2023Supervised Knowledge Makes Large Language Models Better In-context Learners26 Dec 2023
- 2023How to Configure Good In-Context Sequence for Visual Question Answering4 Dec 2023
- 2023ICXML: An In-Context Learning Framework for Zero-Shot Extreme Multi-Label Classification16 Nov 2023
- 2023Self-Improving for Zero-Shot Named Entity Recognition with Large Language Models15 Nov 2023
50 newest of 70 All 70 (JSON)
- 2024A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasonerscited by 73
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Modelscited by 61
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoningcited by 40
- 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improvecited by 38
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learningcited by 19
- 2023Confronting LLMs with Traditional ML: Rethinking the Fairness of Large Language Models in Tabular Classificationscited by 15
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learningcited by 8
- 2024Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?cited by 8
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Modelscited by 5
- 2023Large Language Models are In-context Teachers for Knowledge Reasoningcited by 4
- 2024Large Language Models Are Self-Taught Reasoners: Enhancing LLM Applications via Tailored Problem-Solving Demonstrationscited by 1
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoning5 Jan 2025
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Models10 Dec 2024
- 2024Large Language Models Are Self-Taught Reasoners: Enhancing LLM Applications via Tailored Problem-Solving Demonstrations22 Aug 2024
- 2024A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasoners16 Jun 2024
- 2024Relevant or Random: Can LLMs Truly Perform Analogical Reasoning?19 Apr 2024
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning11 Apr 2024
- 2023Large Language Models are In-context Teachers for Knowledge Reasoning12 Nov 2023
- 2023Confronting LLMs with Traditional ML: Rethinking the Fairness of Large Language Models in Tabular Classifications23 Oct 2023
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learning30 May 2023
- 2023MoT: Memory-of-Thought Enables ChatGPT to Self-Improve9 May 2023
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Models1 Feb 2023
- 2023How to Configure Good In-Context Sequence for Visual Question Answeringcited by 33
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configurationcited by 23
- 2024DRUM: Learning Demonstration Retriever for Large MUlti-modal Modelscited by 10
- 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrationscited by 7
- 2025An Empirical Study on Configuring In-Context Learning Demonstrations for Unleashing MLLMs' Sentimental Perception Capabilitycited by 4
- 2025Incomplete In-context Learningcited by 2
- 2025An Empirical Study on Configuring In-Context Learning Demonstrations for Unleashing MLLMs' Sentimental Perception Capability22 May 2025
- 2025TACO: Enhancing Multimodal In-context Learning via Task Mapping-Guided Sequence Configuration21 May 2025
- 2025Incomplete In-context Learning12 May 2025
- 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrations5 Mar 2025
- 2024DRUM: Learning Demonstration Retriever for Large MUlti-modal Models10 Dec 2024
- 2023How to Configure Good In-Context Sequence for Visual Question Answering4 Dec 2023
- 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
- 2023Self-Improving for Zero-Shot Named Entity Recognition with Large Language Modelscited by 15
- 2024A Survey of Data Synthesis Approachescited by 9
- 2024Self-Evolving GPT: A Lifelong Autonomous Experiential Learnercited by 9
- 2024Self-Evolving GPT: A Lifelong Autonomous Experiential Learner12 Jul 2024
- 2024A Survey of Data Synthesis Approaches4 Jul 2024
- 2023Self-Improving for Zero-Shot Named Entity Recognition with Large Language Models15 Nov 2023
- 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrations24 May 2023
- 2023The Learnability of In-Context Learningcited by 127
- 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
- 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 72
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
- 2024Dual Operating Modes of In-Context Learningcited by 43
- 2023Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Followingcited by 33
- 2024LLMs Are In-Context Bandit Reinforcement Learnerscited by 29
- 2023Large Language Models are Strong Zero-Shot Retrievercited by 26
- 2024C-ICL: Contrastive In-context Learning for Information Extractioncited by 23
- 2023IDAS: Intent Discovery with Abstractive Summarizationcited by 22
- 2023Supervised Knowledge Makes Large Language Models Better In-context Learnerscited by 20
- 2023Survival of the Most Influential Prompts: Efficient Black-Box Prompt Search via Clustering and Pruningcited by 17
12 most cited of 43 All 43 (JSON)
- 2026LC-ICL: Label-Guided Contrastive In-Context Learning for Robust Information Extraction28 Jun 2026
- 2026Self-Improving In-Context Learning22 May 2026
- 2026From Exposure to Internalization: Dual-Stream Calibration for In-context Clinical Reasoning7 Apr 2026
- 2025ContextLeak: Auditing Leakage in Private In-Context Learning Methods18 Dec 2025
- 2025Beyond Plain Demos: A Demo-centric Anchoring Paradigm for In-Context Learning in Alzheimer's Disease Detection10 Nov 2025
- 2025Plan-and-Write: Structure-Guided Length Control for LLMs without Model Retraining3 Nov 2025
- 2025Function Induction and Task Generalization: An Interpretability Study with Off-by-One Addition14 Jul 2025
- 2025Unveiling Effective In-Context Configurations for Image Captioning: An External & Internal Analysis8 Jul 2025
- 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solving3 Jun 2025
- 2025Exploring In-context Example Generation for Machine Translation31 May 2025
- 2025CrossICL: Cross-Task In-Context Learning via Unsupervised Demonstration Transfer30 May 2025
- 2025Collaborative Evolution: Multi-Round Learning Between Large and Small Language Models for Emergent Fake News Detection27 Mar 2025
12 newest of 43 All 43 (JSON)