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

CRE-LLM:一个基于微调大型语言模型的特定领域中文关系抽取框架

CRE-LLM: A Domain-Specific Chinese Relation Extraction Framework with Fine-tuned Large Language Model

College of Statistics and Mathematics, Zhejiang Gongshang University(浙江工商大学统计与数学学院);School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院)

Zhengpeng Shi, Haoran Luo

AI总结:

针对特定领域中文关系抽取面临的网络结构复杂、意识薄弱和微调消耗高等挑战,提出基于开源LLM指令微调的CRE-LLM框架,通过构建提示增强逻辑感知与生成能力,在FinRE数据集上达到SOTA性能。

摘要:

特定领域中文关系抽取(DSCRE)旨在从特定领域的中文文本中提取实体间的关系。尽管近年来预训练语言模型(PLMs),特别是大型语言模型(LLMs)快速发展,DSCRE仍面临三个核心挑战:复杂的网络结构设计、意识薄弱以及微调的高消耗。鉴于大型语言模型(LLMs)在自然语言处理中的出色表现,我们提出了一个名为CRE-LLM的新框架。该框架基于微调开源LLMs,如Llama-2、ChatGLM2和Baichuan2。CRE-LLM通过构建适当的提示并利用开源LLMs进行指令监督微调,增强了模型的逻辑感知和生成能力。然后,它直接从输入文本数据中提取给定实体的关系,从而改进了CRE方法。为了证明所提出框架的有效性,我们在两个特定领域CRE数据集FinRE和SanWen上进行了大量实验。实验结果表明,CRE-LLM具有显著的优越性和鲁棒性,在FinRE数据集上取得了最先进的(SOTA)性能。本文通过将LLMs与三元组结合,引入了一种针对语义更复杂的特定领域关系抽取(DSCRE)任务的新方法。我们的代码已公开。

英文摘要:

Domain-Specific Chinese Relation Extraction (DSCRE) aims to extract relations between entities from domain-specific Chinese text. Despite the rapid development of PLMs in recent years, especially LLMs, DSCRE still faces three core challenges: complex network structure design, poor awareness, and high consumption of fine-tuning. Given the impressive performance of large language models (LLMs) in natural language processing, we propose a new framework called CRE-LLM. This framework is based on fine-tuning open-source LLMs, such as Llama-2, ChatGLM2, and Baichuan2. CRE-LLM enhances the logic-awareness and generative capabilities of the model by constructing an appropriate prompt and utilizing open-source LLMs for instruction-supervised fine-tuning. And then it directly extracts the relations of the given entities in the input textual data, which improving the CRE approach. To demonstrate the effectiveness of the proposed framework, we conducted extensive experiments on two domain-specific CRE datasets, FinRE and SanWen. The experimental results show that CRE-LLM is significantly superior and robust, achieving state-of-the-art (SOTA) performance on the FinRE dataset. This paper introduces a novel approach to domain-specific relation extraction (DSCRE) tasks that are semantically more complex by combining LLMs with triples. Our code is publicly available.

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

↑