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

通用 LLMs 作为领域专用 LLMs 的指导者:一种集成抽取与编辑的顺序融合方法

General LLMs as Instructors for Domain-Specific LLMs: A Sequential Fusion Method to Integrate Extraction and Editing

Central South University(中南大学);Shanghai Jiao Tong University(上海交通大学);SiChuan University(四川大学);Xidian University(西安电子科技大学)

Xin Zhang, Tianjie Ju, Huijia Liang, Ying Fu, Qin Zhang

AI总结:

本文针对小样本领域专家推理更新LLM的挑战,提出一种两阶段顺序融合方法,先利用通用LLM进行关系抽取,再通过知识编辑更新领域专用LLM,在医疗和经济学数据集上分别取得71.7%和75.0%的准确率。

摘要:

在不从头重新训练的情况下更新大型语言模型(LLMs)的广泛关注伴随着若干挑战。当使用需要在冗长文本中进行领域专家推理的数据集来更新 LLMs 时,尽管样本有限,这一挑战尤为突出。我们将此场景称为更新 LLMs 的小样本领域专家推理(FDoR-UL)。传统方法如低秩适应(LoRA)和检索增强生成(RAG)不足以解决这一关键问题,在我们对一个体现 FDoR-UL 独特需求的特定医疗数据集的探索中尤为明显。为应对这一挑战,我们引入了一种顺序融合方法,将复杂上下文中的知识集成到 LLMs 中。该方法采用两阶段框架:首先利用通用 LLMs 进行关系抽取以从复杂文本中获取知识,随后通过知识编辑(KE)更新领域专用 LLMs。采用我们的方法,领域专用 LLMs 在问答任务中达到了 71.7% 的准确率(平均提升 39.1%)。此外,我们将评估扩展到我们开发的一个新颖的经济学-管理学数据集,该方法达到了 75.0% 的准确率(平均提升 45.0%)。这些发现凸显了我们的方法在跨多个领域的 FDoR-UL 中的有效性和灵活性。

英文摘要:

The substantial interest in updating Large Language Models (LLMs) without retraining from scratch is accompanied by several challenges. This is particularly true when updating LLMs with datasets that necessitate domain-expert reasoning across extensive texts, despite limited samples. We termed the scenario as the Few-Shot Domain-Expert Reasoning for Updating LLMs (FDoR-UL). Traditional methods such as Low-Rank Adaptation (LoRA) and Retrieval Augmented Generation (RAG) are inadequate for addressing this critical issue, particularly evident in our exploration of a specific medical dataset that epitomizes the distinct needs of FDoR-UL. To tackle this challenge, we introduce a Sequential Fusion method to integrate knowledge from complex contexts into LLMs. This method employs a two-stage framework: initially leveraging general LLMs to perform relation extraction for knowledge acquisition from complex texts, followed by updating domain-specific LLMs through Knowledge Editing (KE). Employing our method, domain-specific LLMs achieved a 71.7% accuracy (an average gain of 39.1%) in question-answering tasks. Furthermore, we expanded our evaluation to a novel economics-management dataset we developed, where our method achieved a 75.0% accuracy (an average gain of 45.0%). These findings underscore the effectiveness and flexibility of our approach in FDoR-UL across various domains.

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

↑