Do prompt positions really matter?

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mao, Junyu, Middleton, Stuart E., Niranjan, Mahesan
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916304345104384
author Mao, Junyu
Middleton, Stuart E.
Niranjan, Mahesan
author_facet Mao, Junyu
Middleton, Stuart E.
Niranjan, Mahesan
contents Prompt-based models have gathered a lot of attention from researchers due to their remarkable advancements in the fields of zero-shot and few-shot learning. Developing an effective prompt template plays a critical role. However, prior studies have mainly focused on prompt vocabulary searching or embedding initialization within a predefined template with the prompt position fixed. In this empirical study, we conduct the most comprehensive analysis to date of prompt position for diverse Natural Language Processing (NLP) tasks. Our findings quantify the substantial impact prompt position has on model performance. We observe that the prompt positions used in prior studies are often sub-optimal, and this observation is consistent even in widely used instruction-tuned models. These findings suggest prompt position optimisation as a valuable research direction to augment prompt engineering methodologies and prompt position-aware instruction tuning as a potential way to build more robust models in the future.
format Preprint
id arxiv_https___arxiv_org_abs_2305_14493
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Do prompt positions really matter?
Mao, Junyu
Middleton, Stuart E.
Niranjan, Mahesan
Computation and Language
Prompt-based models have gathered a lot of attention from researchers due to their remarkable advancements in the fields of zero-shot and few-shot learning. Developing an effective prompt template plays a critical role. However, prior studies have mainly focused on prompt vocabulary searching or embedding initialization within a predefined template with the prompt position fixed. In this empirical study, we conduct the most comprehensive analysis to date of prompt position for diverse Natural Language Processing (NLP) tasks. Our findings quantify the substantial impact prompt position has on model performance. We observe that the prompt positions used in prior studies are often sub-optimal, and this observation is consistent even in widely used instruction-tuned models. These findings suggest prompt position optimisation as a valuable research direction to augment prompt engineering methodologies and prompt position-aware instruction tuning as a potential way to build more robust models in the future.
title Do prompt positions really matter?
topic Computation and Language
url https://arxiv.org/abs/2305.14493