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

FoodGPT:基于增量预训练与知识图谱提示的食品检测领域大语言模型

FoodGPT: A Large Language Model in Food Testing Domain with Incremental Pre-training and Knowledge Graph Prompt

Tsinghua University(清华大学);Beijing University of Posts and Telecommunications(北京邮电大学)

Zhixiao Qi, Yijiong Yu, Meiqi Tu, Junyi Tan, Yongfeng Huang

AI总结:

本文提出食品检测领域大语言模型FoodGPT,通过增量预训练注入扫描文档与结构化知识,并利用知识图谱提示缓解幻觉问题。

摘要:

目前,特定领域大语言模型的构建是通过在基础模型上进行微调来完成的。一些模型还整合了知识库,而无需进行预训练。这是因为基础模型在预训练过程中已经包含了特定领域的知识。我们构建了一个面向食品检测的大语言模型。与上述方法不同,该领域中大量数据以领域标准文档的扫描格式存在。此外,还存在大量未经训练的结构化知识。因此,我们引入增量预训练步骤,将这些知识注入大语言模型。本文提出了一种在增量预训练中处理结构化知识和扫描文档的方法。为克服机器幻觉问题,我们构建了知识图谱,作为支持大语言模型检索的外部知识库。值得一提的是,本文是我们预发布版本的技术报告,具体实验数据将在后续版本中报告。

英文摘要:

Currently, the construction of large language models in specific domains is done by fine-tuning on a base model. Some models also incorporate knowledge bases without the need for pre-training. This is because the base model already contains domain-specific knowledge during the pre-training process. We build a large language model for food testing. Unlike the above approach, a significant amount of data in this domain exists in Scanning format for domain standard documents. In addition, there is a large amount of untrained structured knowledge. Therefore, we introduce an incremental pre-training step to inject this knowledge into a large language model. In this paper, we propose a method for handling structured knowledge and scanned documents in incremental pre-training. To overcome the problem of machine hallucination, we constructe a knowledge graph to serve as an external knowledge base for supporting retrieval in the large language model. It is worth mentioning that this paper is a technical report of our pre-release version, and we will report our specific experimental data in future versions.

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

↑