"In-Context Learning" or: How I learned to stop worrying and love "Applied Information Retrieval"
Andrew Parry, Debasis Ganguly, Manish Chandra

TL;DR
This paper explores the analogy between in-context learning in large language models and information retrieval, proposing that relevance-based example selection can improve ICL performance by applying neural ranking models.
Contribution
It introduces a task-specific relevance notion for selecting few-shot examples in ICL and suggests using neural rankers to optimize example retrieval for better downstream task accuracy.
Findings
Relevance-based example selection improves ICL accuracy.
Neural rankers can effectively identify useful few-shot examples.
IR-inspired methods enhance LLM in-context learning performance.
Abstract
With the increasing ability of large language models (LLMs), in-context learning (ICL) has evolved as a new paradigm for natural language processing (NLP), where instead of fine-tuning the parameters of an LLM specific to a downstream task with labeled examples, a small number of such examples is appended to a prompt instruction for controlling the decoder's generation process. ICL, thus, is conceptually similar to a non-parametric approach, such as -NN, where the prediction for each instance essentially depends on the local topology, i.e., on a localised set of similar instances and their labels (called few-shot examples). This suggests that a test instance in ICL is analogous to a query in IR, and similar examples in ICL retrieved from a training set relate to a set of documents retrieved from a collection in IR. While standard unsupervised ranking models can be used to retrieve…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsSparse Evolutionary Training
