arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.01555cs.CLcs.AIcs.DBcs.IRcs.LG
收藏

如何释放大语言模型在少样本关系抽取中的潜力?

How to Unleash the Power of Large Language Models for Few-shot Relation Extraction?

Zhejiang University(浙江大学);AZFT Joint Lab for Knowledge Engine(AZFT知识引擎联合实验室)

Xin Xu, Yuqi Zhu, Xiaohan Wang, Ningyu Zhang

AI总结:

该研究针对大语言模型在少样本关系抽取中缺乏系统探索的问题,基于GPT-3.5实验验证上下文学习与数据生成方法,提出任务相关指令和模式约束数据生成策略,在四个数据集上取得少样本SOTA结果并开源代码。

摘要:

语言模型规模的扩展已革新了众多自然语言处理任务,但针对大语言模型的少样本关系抽取研究仍缺乏全面探索。本文通过 exhaustive 实验,借助 GPT-3.5 研究了少样本关系抽取的两类核心方法:上下文学习与数据生成。为提升少样本性能,我们进一步提出了任务相关指令和模式约束的数据生成方法。实验发现,上下文学习的性能可与此前的提示学习方法相当;而基于大语言模型的数据生成能优化现有方案,在四个广泛研究的关系抽取数据集上取得全新的少样本 state-of-the-art 结果。我们希望本工作能为未来大语言模型在少样本关系抽取领域的能力研究提供启发。代码可在 https://github.com/zjunlp/DeepKE/tree/main/example/llm 获取。

英文摘要:

Scaling language models have revolutionized widespread NLP tasks, yet little comprehensively explored few-shot relation extraction with large language models. In this paper, we investigate principal methodologies, in-context learning and data generation, for few-shot relation extraction via GPT-3.5 through exhaustive experiments. To enhance few-shot performance, we further propose task-related instructions and schema-constrained data generation. We observe that in-context learning can achieve performance on par with previous prompt learning approaches, and data generation with the large language model can boost previous solutions to obtain new state-of-the-art few-shot results on four widely-studied relation extraction datasets. We hope our work can inspire future research for the capabilities of large language models in few-shot relation extraction. Code is available in https://github.com/zjunlp/DeepKE/tree/main/example/llm.

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

↑