articleProceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language TechnologiesJan 1, 2022HYBRID OA
Learning To Retrieve Prompts for In-Context Learning
Indexed incrossref
Abstract
In-context learning is a recent paradigm in natural language understanding, where a large pretrained language model (LM) observes a test instance and a few training examples as its input, and directly decodes the output without any update to its parameters. However, performance has been shown to strongly depend on the selected training examples (termed prompts). In this work, we propose an efficient method for retrieving prompts for in-context learning using annotated data and an LM. Given an inputoutput pair, we estimate the probability of the output given the input and a candidate training example as the prompt, and label training examples as positive or negative based on this probability. We then train an…
Citation impact
320
total citations
- FWCI
- 30.95
- Percentile
- 100%
- References
- 54
Citations per year
Authors
3Topics & keywords
Topics
Keywords
- Computer science
- Context (archaeology)
- Artificial intelligence
- Sequence (biology)
- Natural language processing
- Decodes
- Natural language
- Language model
UN Sustainable Development Goals
- Quality Education
No related works found for this paper.