arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.15411cs.CL
收藏

探究上下文学习的学习行为:与监督学习的比较

Investigating the Learning Behaviour of In-context Learning: A Comparison with Supervised Learning

University of Western Ontario(西安大略大学);Vector Institute for Artificial Intelligence(Vector人工智能研究所);Macquarie University(麦考瑞大学);Microsoft Corporation(微软公司);University of Toronto(多伦多大学);Dalhousie University(达尔豪斯大学)

Xindi Wang, Yufei Wang, Can Xu, Xiubo Geng, Bowen Zhang, Chongyang Tao, Frank Rudzicz, Robert E. Mercer, Daxin Jiang

AI总结:

本文通过对比上下文学习(ICL)与监督学习(SL)在标签扰动下的表现,发现ICL对标签不平衡影响甚微且对噪声标签的敏感性低于SL,随模型规模增大其性能逐渐逼近SL。

摘要:

大型语言模型(LLMs)在上下文学习(ICL)方面展现出卓越的能力,即仅从少量训练样本中学习新任务,而无需显式预训练。然而,尽管 LLMs 取得了成功,但对于 ICL 如何从给定提示中学习知识,人们仍缺乏理解。在本文中,为了增进对 ICL 学习行为的理解,我们分别通过 ICL 和监督学习(SL)使用相同的演示样本训练相同的 LLMs,并在一系列分类任务中研究它们在标签扰动(即噪声标签和标签不平衡)下的表现。首先,通过大量实验,我们发现黄金标签对下游上下文性能有显著影响,尤其是对于大型语言模型;然而,不平衡标签对所有模型规模的 ICL 影响甚微。其次,在与 SL 比较时,我们实证表明 ICL 对标签扰动的敏感性低于 SL,并且随着模型规模的增加,ICL 逐渐获得与 SL 相当的性能。

英文摘要:

Large language models (LLMs) have shown remarkable capacity for in-context learning (ICL), where learning a new task from just a few training examples is done without being explicitly pre-trained. However, despite the success of LLMs, there has been little understanding of how ICL learns the knowledge from the given prompts. In this paper, to make progress toward understanding the learning behaviour of ICL, we train the same LLMs with the same demonstration examples via ICL and supervised learning (SL), respectively, and investigate their performance under label perturbations (i.e., noisy labels and label imbalance) on a range of classification tasks. First, via extensive experiments, we find that gold labels have significant impacts on the downstream in-context performance, especially for large language models; however, imbalanced labels matter little to ICL across all model sizes. Second, when comparing with SL, we show empirically that ICL is less sensitive to label perturbations than SL, and ICL gradually attains comparable performance to SL as the model size increases.

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

↑