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

Small Language Models 作为 Large Language Models 在中文关系抽取中的有效指南

Small Language Models as Effective Guides for Large Language Models in Chinese Relation Extraction

Peking University(北京大学);Research Center for Digital Humanities of Peking University(北京大学数字人文研究中心)

Xuemei Tang, Jun Wang

AI总结:

本文提出模型协作框架 SLCoLM,利用特定任务的小语言模型作为引导者,通过“Training-Guide-Predict”策略将任务知识转移给大语言模型,有效缓解了关系抽取中的长尾数据问题。

摘要:

最近,large language models (LLMs) 在关系抽取 (RE) 任务中取得了成功,尤其是在 few-shot learning 中。RE 领域的一个重要问题是长尾数据,而使用 LLM 方法对该问题的关注并不多。因此,在本文中,我们提出了 SLCoLM,一个模型协作框架,以缓解数据长尾问题。在我们的框架中,我们使用“Training-Guide-Predict”策略,结合 small pre-trained language models (SLMs) 和 LLMs 的优势,其中特定任务的 SLM 框架作为引导者,将任务知识转移给 LLM,并指导 LLM 执行 RE 任务。我们在一个富含关系类型的古代中文 RE 数据集上的实验表明,该方法有助于长尾关系类型的 RE。

英文摘要:

Recently, large language models (LLMs) have been successful in relational extraction (RE) tasks, especially in the few-shot learning. An important problem in the field of RE is long-tailed data, while not much attention is paid to this problem using LLM approaches. Therefore, in this paper, we propose SLCoLM, a model collaboration framework, to mitigate the data long-tail problem. In our framework, we use the ``\textit{Training-Guide-Predict}'' strategy to combine the strengths of small pre-trained language models (SLMs) and LLMs, where a task-specific SLM framework acts as a guider, transfers task knowledge to the LLM and guides the LLM in performing RE tasks. Our experiments on an ancient Chinese RE dataset rich in relation types show that the approach facilitates RE of long-tail relation types.

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

↑