Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

A Survey on In-context Learning

About

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. 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.

Qingxiu Dong, Lei Li, Damai Dai, Ce Zheng, Jingyuan Ma, Rui Li, Heming Xia, Jingjing Xu, Zhiyong Wu, Tianyu Liu, Baobao Chang, Xu Sun, Lei Li, Zhifang Sui• 2022

Related benchmarks

TaskDatasetResultRank
Intent ClassificationBanking77 (test)
Accuracy83.9
184
Chinese Spelling CorrectionCSCD-NS
Sentence Correction F1 Score54.28
35
Compositional Multi-taskingCompositional Multi-tasking Summarization, Tone Adjustment, Translation (test)
R-L Score16.96
27
Intent ClassificationClinc150 (test)
Accuracy91.6
26
Character ConsistencyCharacterEval
KE2.16
25
Long-context language understanding suiteZeroSCROLLS
GovReport Score26.7
24
Summarization + Tone AdjustmentCompositional Multi-tasking (test)
ROUGE-1 Score23.53
18
Compositional Multi-taskingCompositional multi-tasking Sum. + translation (test)
R-L Score (%)14.46
18
Summarization + TranslationCompositional Multi-tasking (test)
ROUGE-1 Score18.05
18
Compositional Multi-taskingCompositional multi-tasking Reply + translation (test)
W-R Score3.93
18
Showing 10 of 26 rows

Other info

Follow for update