A Survey on In-context Learning

Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Jingyuan Ma +9 more
12/31/2022
1,255 citations
cs.CLcs.AI
survey

Official code: dqxiu/ICL_PaperList (874 stars, last commit 2024-10-08).

Abstract

With the increasing capabilities of large language models (LLMs), in-context learning (ICL) has emerged as a new paradigm for natural language processing (NLP), where LLMs make predictions based on contexts augmented with a few examples. It has been a significant trend to explore ICL to evaluate and extrapolate the ability of LLMs.

Show full abstract

In this paper, we aim to survey and summarize the progress and challenges of ICL. We first present a formal definition of ICL and clarify its correlation to related studies. Then, we organize and discuss advanced techniques, including training strategies, prompt designing strategies, and related analysis. Additionally, we explore various ICL application scenarios, such as data engineering and knowledge updating. Finally, we address the challenges of ICL and suggest potential directions for further research. We hope that our work can encourage more research on uncovering how ICL works and improving ICL.

View on arXivView PDF

Code Implementations(1)

Paper List for In-context Learning 🌷

87463Dec 23, 20222 years ago

Similar Papers

Cite this paper

@article{dong2022survey,
  title  = {A Survey on In-context Learning},
  author = {Qingxiu Dong and Lei Li and Damai Dai and Ce Zheng and Jingyuan Ma and Rui Li and Heming Xia and Jingjing Xu and Zhiyong Wu and Tianyu Liu and Baobao Chang and Xu Sun and Lei Li and Zhifang Sui},
  year   = {2022},
  eprint = {2301.00234},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2301.00234}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.00234.svg)](https://codeofpaper.com/paper/2301.00234)

Discussion