ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
0
Citations
0
Influential Citations
—
Venue
2024
Year
… Few-shot in-context learning (ICL) is the ability of large language models (LLMs) to perform a new task when a few input-output examples, or demonstrations, for the new task are given …
In-context learning (ICL) has emerged as a powerful paradigm for adapting large language models (LLMs) to new tasks without fine-tuning. The selection of demonstrations—the input-output examples provided in the prompt—is critical to ICL performance. This survey addresses the growing body of work on retrieving demonstrations from external corpora to improve ICL, a topic that has seen rapid advancement but lacks a unified overview. By systematically categorizing retrieval methods and synthesizing empirical findings, this paper fills a crucial gap for researchers and practitioners who need to navigate the landscape of demonstration retrieval.
The survey's significance lies in its comprehensive scope, covering not only the methods but also the benchmarks and evaluation protocols used in the field. As LLMs are increasingly deployed in real-world applications, understanding how to optimally select demonstrations can lead to more efficient and accurate models. This paper provides a structured foundation for future research, helping to standardize evaluation and identify promising directions.
While the survey does not present new experimental results, it synthesizes findings from numerous studies. A consistent theme is that retrieved demonstrations outperform random selection, often by significant margins. For example, in many classification and generation tasks, retrieval-based ICL can improve accuracy by several percentage points. However, the gains are not uniform: they depend on the task type, the quality of the retrieval model, and the size of the demonstration pool. The survey also notes that some retrieval methods, while effective, may introduce computational overhead that could be prohibitive in real-time applications.
The broader impact of this survey is twofold. First, it provides a clear roadmap for researchers working on demonstration retrieval, potentially accelerating progress by consolidating knowledge and highlighting gaps. Second, it informs practitioners about best practices for deploying ICL with retrieved demonstrations, which can lead to more reliable and efficient LLM applications. As the field matures, the survey's call for standardized benchmarks and more robust retrieval methods will likely shape future research agendas, ultimately contributing to more capable and adaptable language models.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba