Crafting In-context Examples according to LMs' Parametric Knowledge

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lee, Yoonsang, Atreya, Pranav, Ye, Xi, Choi, Eunsol
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916191797248000
author Lee, Yoonsang
Atreya, Pranav
Ye, Xi
Choi, Eunsol
author_facet Lee, Yoonsang
Atreya, Pranav
Ye, Xi
Choi, Eunsol
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2311_09579
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Crafting In-context Examples according to LMs' Parametric Knowledge
Lee, Yoonsang
Atreya, Pranav
Ye, Xi
Choi, Eunsol
Computation and Language
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.
title Crafting In-context Examples according to LMs' Parametric Knowledge
topic Computation and Language
url https://arxiv.org/abs/2311.09579