Complementary Explanations for Effective In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have exhibited remarkable capabilities in learning from explanations in prompts, but there has been limited understanding of exactly how these explanations function or why they are effective. This work aims to better understand the mechanisms by which explanations are used for in-context learning. We first study the impact of two different factors on the performance of prompts with explanations: the computation trace (the way the solution is decomposed) and the natural language used to express the prompt. By perturbing explanations on three controlled tasks, we show that both factors contribute to the effectiveness of explanations. We further study how to form maximally effective sets of explanations for solving a given test query. We find that LLMs can benefit from the complementarity of the explanation set: diverse reasoning skills shown by different exemplars can lead to better performance. Therefore, we propose a maximal marginal relevance-based exemplar selection approach for constructing exemplar sets that are both relevant as well as complementary, which successfully improves the in-context learning performance across three real-world tasks on multiple LLMs.
Key facts. Cited by 71 papers in the map (data through 7 Oct 2026). Builds on 35 of its 41 references that are in the map. First posted on arXiv 25 Nov 2022.
Builds on
35 of 41 references.
References · 35
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
23 more
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2018e-SNLI: Natural Language Inference with Natural Language Explanationscited by 468
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
- 2022Language Models of Code are Few-Shot Commonsense Learnerscited by 160
- 2022Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanationscited by 159
- 2022Rationale-Augmented Ensembles in Language Modelscited by 111
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
- 2022Prototypical Calibration for Few-shot Learning of Language Modelscited by 58
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
Built on by
Citing papers per year: 2022: 3; 2023: 30; 2024: 21; 2025: 15; 2026: 2.
71 papers.
Sort:
By area:
- 2023A Survey of Large Language Modelscited by 2,537
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2023Testing the General Deductive Reasoning Capacity of Large Language Models Using OOD Examplescited by 84
- 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
- 2024LLM-based NLG Evaluation: Current Status and Challengescited by 71
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Modelscited by 61
38 more
- 2023Natural Language Reasoning, A Surveycited by 61
- 2022Data Curation Alone Can Stabilize In-context Learningcited by 58
- 2023Extractive Summarization via ChatGPT for Faithful Summary Generationcited by 58
- 2023Coverage-based Example Selection for In-Context Learningcited by 58
- 2023Active Learning Principles for In-Context Learning with Large Language Modelscited by 53
- 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
- 2023Towards Understanding In-Context Learning with Contrastive Demonstrations and Saliency Mapscited by 35
- 2023PALM: Predicting Actions through Language Modelscited by 28
- 2024How Does Code Pretraining Affect Language Model Task Performance?cited by 28
- 2023Pushing the Limits of ChatGPT on NLP Taskscited by 27
- 2025Toward Generalizable Evaluation in the LLM Era: A Survey Beyond Benchmarkscited by 26
- 2025Landscape of Thoughts: Visualizing the Reasoning Process of Large Language Modelscited by 25
- 2023LLMeBench: A Flexible Framework for Accelerating LLMs Benchmarkingcited by 20
- 2023Zero- and Few-Shot Prompting with LLMs: A Comparative Study with Fine-tuned Models for Bangla Sentiment Analysiscited by 20
- 2023LMCap: Few-shot Multilingual Image Captioning by Retrieval Augmented Language Model Promptingcited by 17
- 2023LAraBench: Benchmarking Arabic AI with Large Language Modelscited by 16
- 2024Preemptive Answer "Attacks" on Chain-of-Thought Reasoningcited by 16
- 2023Palm: Predicting Actions through Language Models @ Ego4D Long-Term Action Anticipation Challenge 2023cited by 15
- 2023SummQA at MEDIQA-Chat 2023:In-Context Learning with GPT-4 for Medical Summarizationcited by 13
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2024ICLEval: Evaluating In-Context Learning Ability of Large Language Modelscited by 12
- 2025Sample Efficient Demonstration Selection for In-Context Learningcited by 12
- 2023Diverse Retrieval-Augmented In-Context Learning for Dialogue State Trackingcited by 10
- 2024Se2: Sequential Example Selection for In-Context Learningcited by 8
- 2024An Empirical Categorization of Prompting Techniques for Large Language Models: A Practitioner's Guidecited by 7
- 2024SLM as Guardian: Pioneering AI Safety with Small Language Modelscited by 7
- 2024STRUX: An LLM for Decision-Making with Structured Explanationscited by 7
- 2023Generating medically-accurate summaries of patient-provider dialogue: A multi-stage approach using large language modelscited by 6
- 2023GistScore: Learning Better Representations for In-Context Example Selection with Gist Bottleneckscited by 6
- 2024Conversational Complexity for Assessing Risk in Large Language Modelscited by 6
- 2025The Role of Diversity in In-Context Learning for Large Language Modelscited by 6
- 2025Enhancing Cross-task Transfer of Large Language Models via Activation Steeringcited by 6
- 2023Demonstrations Are All You Need: Advancing Offensive Content Paraphrasing using In-Context Learningcited by 5
- 2023ICL Markup: Structuring In-Context Learning using Soft-Token Tagscited by 5
- 2023Beyond Output Matching: Bidirectional Alignment for Enhanced In-Context Learningcited by 5
- 2025Automated Query-Product Relevance Labeling using Large Language Models for E-commerce Searchcited by 5
- 2023KwaiYiiMath: Technical Reportcited by 4
- 2023Rescue: Ranking LLM Responses with Partial Ordering to Improve Response Generationcited by 4
50 most cited of 71 All 71 (JSON)
- 2026Data Efficient Sample Selection for In-Context Learning6 Sep 2026
- 2026UCS: Estimating Unseen Coverage for Improved In-Context Learning13 Apr 2026
- 2025Provably Safe Model Updates1 Dec 2025
- 2025Multi-Layer Attention is the Amplifier of Demonstration Effectiveness1 Aug 2025
- 2025Length Representations in Large Language Models27 Jul 2025
- 2025Enhancing Cross-task Transfer of Large Language Models via Activation Steering17 Jul 2025
- 2025Leveraging In-Context Learning for Language Model Agents16 Jun 2025
- 2025Sample Efficient Demonstration Selection for In-Context Learning10 Jun 2025
- 2025DCP-Bench-Open: Evaluating LLMs for Constraint Modelling of Discrete Combinatorial Problems6 Jun 2025
- 2025Large Language Models are Demonstration Pre-Selectors for Themselves6 Jun 2025
- 2025Learning Composable Chains-of-Thought28 May 2025
- 2025The Role of Diversity in In-Context Learning for Large Language Models26 May 2025
38 more
- 2025Toward Generalizable Evaluation in the LLM Era: A Survey Beyond Benchmarks26 Apr 2025
- 2025Landscape of Thoughts: Visualizing the Reasoning Process of Large Language Models28 Mar 2025
- 2025Considering Length Diversity in Retrieval-Augmented Summarization12 Mar 2025
- 2025Automated Query-Product Relevance Labeling using Large Language Models for E-commerce Search21 Feb 2025
- 2025Exploring Imbalanced Annotations for Effective In-Context Learning6 Feb 2025
- 2024Let's Be Self-generated via Step by Step: A Curriculum Learning Approach to Automated Reasoning with Large Language Models29 Oct 2024
- 2024Retrieval-Enhanced Named Entity Recognition17 Oct 2024
- 2024STRUX: An LLM for Decision-Making with Structured Explanations16 Oct 2024
- 2024Episodic Memory Verbalization using Hierarchical Representations of Life-Long Robot Experience26 Sep 2024
- 2024What Is Wrong with My Model? Identifying Systematic Problems with Semantic Data Slicing14 Sep 2024
- 2024How Does Code Pretraining Affect Language Model Task Performance?6 Sep 2024
- 2024Conversational Complexity for Assessing Risk in Large Language Models2 Sep 2024
- 2024Vector Retrieval with Similarity and Diversity: How Hard Is It?5 Jul 2024
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models2 Jul 2024
- 2024ICLEval: Evaluating In-Context Learning Ability of Large Language Models21 Jun 2024
- 2024Improving In-Context Learning with Prediction Feedback for Sentiment Analysis5 Jun 2024
- 2024ACCORD: Closing the Commonsense Measurability Gap4 Jun 2024
- 2024Preemptive Answer "Attacks" on Chain-of-Thought Reasoning31 May 2024
- 2024SLM as Guardian: Pioneering AI Safety with Small Language Models30 May 2024
- 2024RAGSys: Item-Cold-Start Recommender as RAG System27 May 2024
- 2024Se2: Sequential Example Selection for In-Context Learning21 Feb 2024
- 2024An Empirical Categorization of Prompting Techniques for Large Language Models: A Practitioner's Guide18 Feb 2024
- 2024Pelican Soup Framework: A Theoretical Framework for Language Model Capabilities16 Feb 2024
- 2024Automatic Combination of Sample Selection Strategies for Few-Shot Learning5 Feb 2024
- 2024A Survey to Recent Progress Towards Understanding In-Context Learning3 Feb 2024
- 2024LLM-based NLG Evaluation: Current Status and Challenges2 Feb 2024
- 2023Beyond Output Matching: Bidirectional Alignment for Enhanced In-Context Learning28 Dec 2023
- 2023ICL Markup: Structuring In-Context Learning using Soft-Token Tags12 Dec 2023
- 2023PALM: Predicting Actions through Language Models29 Nov 2023
- 2023GistScore: Learning Better Representations for In-Context Example Selection with Gist Bottlenecks16 Nov 2023
- 2023Rescue: Ranking LLM Responses with Partial Ordering to Improve Response Generation15 Nov 2023
- 2023Demonstrations Are All You Need: Advancing Offensive Content Paraphrasing using In-Context Learning16 Oct 2023
- 2023In-Context Learning with Iterative Demonstration Selection15 Oct 2023
- 2023KwaiYiiMath: Technical Report11 Oct 2023
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Survey8 Oct 2023
- 2023Zero- and Few-Shot Prompting with LLMs: A Comparative Study with Fine-tuned Models for Bangla Sentiment Analysis21 Aug 2023
- 2023LLMeBench: A Flexible Framework for Accelerating LLMs Benchmarking9 Aug 2023
- 2023Towards Understanding In-Context Learning with Contrastive Demonstrations and Saliency Maps11 Jul 2023
50 newest of 71 All 71 (JSON)
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2023Testing the General Deductive Reasoning Capacity of Large Language Models Using OOD Examplescited by 84
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Modelscited by 61
- 2023Natural Language Reasoning, A Surveycited by 61
- 2025Landscape of Thoughts: Visualizing the Reasoning Process of Large Language Modelscited by 25
- 2024Preemptive Answer "Attacks" on Chain-of-Thought Reasoningcited by 16
- 2024Let's Be Self-generated via Step by Step: A Curriculum Learning Approach to Automated Reasoning with Large Language Modelscited by 4
- 2025Learning Composable Chains-of-Thoughtcited by 3
- 2024ACCORD: Closing the Commonsense Measurability Gapcited by 1
- 2025Learning Composable Chains-of-Thought28 May 2025
- 2025Landscape of Thoughts: Visualizing the Reasoning Process of Large Language Models28 Mar 2025
- 2024Let's Be Self-generated via Step by Step: A Curriculum Learning Approach to Automated Reasoning with Large Language Models29 Oct 2024
- 2024ACCORD: Closing the Commonsense Measurability Gap4 Jun 2024
- 2024Preemptive Answer "Attacks" on Chain-of-Thought Reasoning31 May 2024
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Survey8 Oct 2023
- 2023Testing the General Deductive Reasoning Capacity of Large Language Models Using OOD Examples24 May 2023
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting7 May 2023
- 2023Natural Language Reasoning, A Survey26 Mar 2023
- 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Models1 Feb 2023
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matters20 Dec 2022
- 2023LMCap: Few-shot Multilingual Image Captioning by Retrieval Augmented Language Model Promptingcited by 17
- 2023Diverse Retrieval-Augmented In-Context Learning for Dialogue State Trackingcited by 10
- 2024RAGSys: Item-Cold-Start Recommender as RAG Systemcited by 4
- 2024Vector Retrieval with Similarity and Diversity: How Hard Is It?cited by 2
- 2025Considering Length Diversity in Retrieval-Augmented Summarizationcited by 2
- 2025Considering Length Diversity in Retrieval-Augmented Summarization12 Mar 2025
- 2024Vector Retrieval with Similarity and Diversity: How Hard Is It?5 Jul 2024
- 2024RAGSys: Item-Cold-Start Recommender as RAG System27 May 2024
- 2023Diverse Retrieval-Augmented In-Context Learning for Dialogue State Tracking4 Jul 2023
- 2023LMCap: Few-shot Multilingual Image Captioning by Retrieval Augmented Language Model Prompting31 May 2023
- 2025Leveraging In-Context Learning for Language Model Agentscited by 4
- 2025Leveraging In-Context Learning for Language Model Agents16 Jun 2025
- 2023A Survey of Large Language Modelscited by 2,537
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
- 2024LLM-based NLG Evaluation: Current Status and Challengescited by 71
- 2022Data Curation Alone Can Stabilize In-context Learningcited by 58
- 2023Extractive Summarization via ChatGPT for Faithful Summary Generationcited by 58
- 2023Coverage-based Example Selection for In-Context Learningcited by 58
- 2023Active Learning Principles for In-Context Learning with Large Language Modelscited by 53
- 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
12 most cited of 53 All 53 (JSON)
- 2026Data Efficient Sample Selection for In-Context Learning6 Sep 2026
- 2026UCS: Estimating Unseen Coverage for Improved In-Context Learning13 Apr 2026
- 2025Provably Safe Model Updates1 Dec 2025
- 2025Multi-Layer Attention is the Amplifier of Demonstration Effectiveness1 Aug 2025
- 2025Length Representations in Large Language Models27 Jul 2025
- 2025Enhancing Cross-task Transfer of Large Language Models via Activation Steering17 Jul 2025
- 2025Sample Efficient Demonstration Selection for In-Context Learning10 Jun 2025
- 2025DCP-Bench-Open: Evaluating LLMs for Constraint Modelling of Discrete Combinatorial Problems6 Jun 2025
- 2025Large Language Models are Demonstration Pre-Selectors for Themselves6 Jun 2025
- 2025The Role of Diversity in In-Context Learning for Large Language Models26 May 2025
- 2025Toward Generalizable Evaluation in the LLM Era: A Survey Beyond Benchmarks26 Apr 2025
- 2025Automated Query-Product Relevance Labeling using Large Language Models for E-commerce Search21 Feb 2025
12 newest of 53 All 53 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026When Do Explanations Help In-Context Learning? A Comparative Study of Natural Language Explanation Types and Faithfulness
- 2024The Power of Adaptation: Boosting In-Context Learning through Adaptive Prompting
- 2023In-Context Explainers: Harnessing LLMs for Explaining Black Box Models
- 2023OPT-R: Exploring the Role of Explanations in Finetuning and Prompting for Reasoning Skills of Large Language Models
- 2022Explanations from Large Language Models Make Small Reasoners Better
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
- 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scaling
- 2024Demonstration Notebook: Finding the Most Suited In-Context Learning Example from Interactions