Topic Coverage-based Demonstration Retrieval for In-Context Learning
Not on the map. Why?
Abstract (arXiv)
The effectiveness of in-context learning relies heavily on selecting demonstrations that provide all the necessary information for a given test input. To achieve this, it is crucial to identify and cover fine-grained knowledge requirements. However, prior methods often retrieve demonstrations based solely on embedding similarity or generation probability, resulting in irrelevant or redundant examples. In this paper, we propose TopicK, a topic coverage-based retrieval framework that selects demonstrations to comprehensively cover topic-level knowledge relevant to both the test input and the model. Specifically, TopicK estimates the topics required by the input and assesses the model's knowledge on those topics. TopicK then iteratively selects demonstrations that introduce previously uncovered required topics, in which the model exhibits low topical knowledge. We validate the effectiveness of TopicK through extensive experiments across various datasets and both open- and closed-source LLMs. Our source code is available at https://github.com/WonbinKweon/TopicK_EMNLP2025.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 30 of its 47 references that are in the map. First posted on arXiv 15 Sep 2025.
Builds on
30 of 47 references.
References · 30
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
18 more
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 161
- 2023Compositional Exemplars for In-context Learningcited by 144
- 2023UPRISE: Universal Prompt Retrieval for Improving Zero-Shot Evaluationcited by 75
- 2017Automated Phrase Mining from Massive Text Corporacited by 70
- 2023Coverage-based Example Selection for In-Context Learningcited by 59
- 2024Revisiting Demonstration Selection Strategies in In-Context Learningcited by 58
- 2022ZeroPrompt: Scaling Prompt-Based Pretraining to 1,000 Tasks Improves Zero-Shot Generalizationcited by 54
- 2023OpenICL: An Open-Source Framework for In-context Learningcited by 51
- 2018A Web-scale system for scientific knowledge explorationcited by 39
- 2022TaxoCom: Topic Taxonomy Completion with Hierarchical Discovery of Novel Topic Clusterscited by 30
- 2023In-Context Demonstration Selection with Cross Entropy Differencecited by 17
- 2024Learning to Retrieve Iteratively for In-Context Learningcited by 13
- 2022Effective Seed-Guided Topic Discovery by Integrating Multiple Types of Contextscited by 12
- 2025Uncertainty Quantification and Decomposition for LLM-based Recommendationcited by 12
- 2025Improving Scientific Document Retrieval with Concept Coverage-based Query Set Generationcited by 7
Built on by
Citing papers per year: 2026: 3.
3 papers.