Crafting In-context Examples according to LMs' Parametric Knowledge
Not on the map. Why?
Abstract (arXiv)
In-context learning can improve the performances of knowledge-rich tasks such as question answering. In such scenarios, in-context examples trigger a language model (LM) to surface information stored in its parametric knowledge. We study how to better construct in-context example sets, based on whether the model is aware of the in-context examples. We identify 'known' examples, where models can correctly answer from their parametric knowledge, and 'unknown' ones. Our experiments show that prompting with 'unknown' examples decreases the performance, potentially as it encourages hallucination rather than searching for its parametric knowledge. Constructing an in-context example set that presents both known and unknown information performs the best across diverse settings. We perform analysis on three multi-answer question answering datasets, which allows us to further study answer set ordering strategies based on the LM's knowledge of each answer. Together, our study sheds light on how to best construct in-context example sets for knowledge-rich tasks.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 28 references that are in the map. First posted on arXiv 16 Nov 2023.
Builds on
16 of 28 references.
References · 16
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2020AmbigQA: Answering Ambiguous Open-domain Questionscited by 385
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
4 more
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2022QAMPARI: An Open-domain Question Answering Benchmark for Questions with Many Answers from Multiple Paragraphscited by 42
- 2023QUEST: A Retrieval Dataset of Entity-Seeking Queries with Implicit Set Operationscited by 30
Built on by
Not cited yet.