Crafting In-context Examples according to LMs' Parametric Knowledge
Lee, Yoonsang, Atreya, Pranav, Ye, Xi, Choi, Eunsol
–arXiv.org Artificial Intelligence
In-context learning has been applied to knowledge-rich tasks such as question answering. In such scenarios, in-context examples are used to trigger a behaviour in the language model: namely, it should surface information stored in its parametric knowledge. We study the construction of in-context example sets, with a focus on the parametric knowledge of the model regarding in-context examples. We identify 'known' examples, where models can correctly answer from its parametric knowledge, and 'unknown' ones. Our experiments show that prompting with 'unknown' examples decreases the performance, potentially as it encourages hallucination rather than searching 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 about each answer. Together, our study sheds lights on how to best construct in-context example sets for knowledge-rich tasks.
arXiv.org Artificial Intelligence
Nov-16-2023
- Country:
- Africa > South Africa (0.14)
- Asia
- India (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Europe
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Spain (0.04)
- Ireland > Leinster
- North America
- Canada > Ontario
- Toronto (0.04)
- Dominican Republic (0.04)
- United States
- New York (0.04)
- Texas > Travis County
- Austin (0.04)
- Canada > Ontario
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Education (0.68)
- Government > Regional Government (0.93)
- Leisure & Entertainment > Sports
- Soccer (0.46)
- Media (0.93)
- Technology: