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

C-ICL:面向信息抽取的对比式上下文学习

C-ICL: Contrastive In-context Learning for Information Extraction

Beihang University(北京航空航天大学);Meituan(美团);Meta AI

Ying Mo, Jiahao Liu, Jian Yang, Qifan Wang, Shun Zhang, Jingang Wang, Zhoujun Li

AI总结:

针对现有少样本信息抽取上下文学习仅用正例、忽略负例价值的问题,提出融合正负例及推理逻辑的c-ICL方法,挖掘难负例等信息,在多数据集上实现性能显著提升。

摘要:

当前,学界对探索先进大语言模型(LLM)在信息抽取(IE)领域的能力兴趣日益浓厚,研究重点聚焦于命名实体识别(NER)和关系抽取(RE)相关任务。尽管研究人员正在探索通过大语言模型的上下文学习实现少样本信息抽取,但他们往往仅关注使用正确或正例进行演示,忽略了将错误或负例纳入学习过程的潜在价值。本文提出了c-ICL,这是一种新颖的少样本技术,同时利用正确和错误的样本构造来构建上下文学习演示。该方法通过使用不仅包含正例、还融入正例背后推理逻辑的提示词,提升大语言模型抽取实体和关系的能力,能够识别并修正潜在的接口错误。具体而言,我们提出的方法挖掘了难负例、测试样本的最近正邻域中固有的上下文信息和有价值信息,随后应用基于大语言模型的上下文学习演示。我们在多个数据集上开展的实验表明,c-ICL的性能优于此前的少样本上下文学习方法,在广泛的相关任务上实现了显著的性能提升。这些提升效果十分可观,彰显了我们的方法在各类场景下的通用性。

英文摘要:

There has been increasing interest in exploring the capabilities of advanced large language models (LLMs) in the field of information extraction (IE), specifically focusing on tasks related to named entity recognition (NER) and relation extraction (RE). Although researchers are exploring the use of few-shot information extraction through in-context learning with LLMs, they tend to focus only on using correct or positive examples for demonstration, neglecting the potential value of incorporating incorrect or negative examples into the learning process. In this paper, we present c-ICL, a novel few-shot technique that leverages both correct and incorrect sample constructions to create in-context learning demonstrations. This approach enhances the ability of LLMs to extract entities and relations by utilizing prompts that incorporate not only the positive samples but also the reasoning behind them. This method allows for the identification and correction of potential interface errors. Specifically, our proposed method taps into the inherent contextual information and valuable information in hard negative samples and the nearest positive neighbors to the test and then applies the in-context learning demonstrations based on LLMs. Our experiments on various datasets indicate that c-ICL outperforms previous few-shot in-context learning methods, delivering substantial enhancements in performance across a broad spectrum of related tasks. These improvements are noteworthy, showcasing the versatility of our approach in miscellaneous scenarios.

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

↑