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

上下文学习何时失效及其原因?关于规范密集型任务的研究

When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Tasks

Tsinghua University(清华大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Hao Peng, Xiaozhi Wang, Jianhui Chen, Weikai Li, Yunjia Qi, Zimu Wang, Zhili Wu, Kaisheng Zeng, Bin Xu, Lei Hou, Juanzi Li

AI总结:

本研究揭示上下文学习在规范密集型任务上表现不佳,通过18个任务实验找出三大原因,并证明微调可显著提升性能,指出问题源于对齐方法而非模型固有缺陷。

摘要:

上下文学习(ICL)已成为使用大型语言模型(LLMs)的默认方法,因此探索其局限性并理解其根本原因至关重要。在本文中,我们发现ICL在处理规范密集型任务时表现不佳,这类任务具有复杂且广泛的任务规范,普通人需要数小时才能掌握,例如传统的信息抽取任务。ICL在这些任务上的性能大多无法达到最先进结果的一半。为了探究这一失败背后的原因,我们在18个规范密集型任务上使用多种LLMs进行了全面实验,并确定了三个主要原因:无法具体理解上下文、任务模式理解与人类不一致,以及长文本理解能力不足。此外,我们证明通过微调,LLMs可以在这些任务上取得不错的性能,这表明ICL的失败并非LLMs的固有缺陷,而是现有对齐方法的缺点,导致LLMs无法通过ICL处理复杂的规范密集型任务。为证实这一点,我们对LLMs进行了针对这些任务的专门指令微调,并观察到显著改进。我们希望本文的分析能促进对齐方法的进步,使LLMs能够满足更复杂的人类需求。

英文摘要:

In-context learning (ICL) has become the default method for using large language models (LLMs), making the exploration of its limitations and understanding the underlying causes crucial. In this paper, we find that ICL falls short of handling specification-heavy tasks, which are tasks with complicated and extensive task specifications, requiring several hours for ordinary humans to master, such as traditional information extraction tasks. The performance of ICL on these tasks mostly cannot reach half of the state-of-the-art results. To explore the reasons behind this failure, we conduct comprehensive experiments on 18 specification-heavy tasks with various LLMs and identify three primary reasons: inability to specifically understand context, misalignment in task schema comprehension with humans, and inadequate long-text understanding ability. Furthermore, we demonstrate that through fine-tuning, LLMs can achieve decent performance on these tasks, indicating that the failure of ICL is not an inherent flaw of LLMs, but rather a drawback of existing alignment methods that renders LLMs incapable of handling complicated specification-heavy tasks via ICL. To substantiate this, we perform dedicated instruction tuning on LLMs for these tasks and observe a notable improvement. We hope the analyses in this paper could facilitate advancements in alignment methods enabling LLMs to meet more sophisticated human demands.

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

↑