arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.00234cs.CLcs.AI
收藏

上下文学习综述

A Survey on In-context Learning

Peking University(北京大学);The Hong Kong Polytechnic University(香港理工大学);ByteDance(字节跳动);Shanghai AI Lab(上海人工智能实验室);Alibaba Group(阿里巴巴集团);Carnegie Mellon University(卡内基梅隆大学)

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

AI总结:

本文综述了大语言模型背景下上下文学习(ICL)的研究进展,明确其定义与相关研究关联,梳理训练、提示设计等技术及应用场景,指出挑战并提出未来研究方向,以推动ICL的机制揭示与性能改进。

摘要:

随着大语言模型(LLM)能力的不断提升,上下文学习(ICL)已成为自然语言处理(NLP)领域的一种新范式,即LLM基于添加了少量示例的上下文进行预测。探索ICL以评估和推断LLM的能力已成为重要趋势。本文旨在调研并总结ICL的进展与挑战。我们首先给出ICL的正式定义,并阐明其与相关研究的关联。接着,我们梳理并讨论了先进技术,包括训练策略、提示设计策略及相关分析。此外,我们探讨了多种ICL应用场景,如数据工程与知识更新。最后,我们指出了ICL面临的挑战,并提出了未来研究的潜在方向。我们希望本工作能鼓励更多研究揭示ICL的工作原理并对其进行改进。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑