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

使用大型语言模型自动从科学文献中提取化学食品安全危害

Extracting chemical food safety hazards from the scientific literature automatically using large language models

Wageningen Food Safety Research, Wageningen University & Research(瓦赫宁根食品安全研究中心,瓦赫宁根大学及研究中心)

Neris Özen, Wenjuan Mu, Esther D. van Asselt, Leonieke M. van den Bulk

AI总结:

本研究利用大型语言模型自动从科学摘要中提取化学食品安全危害,通过优化提示词实现93%的平均准确率,验证了无需额外训练即可高效完成信息提取。

摘要:

在过去几十年中,食品安全领域发表的科学文章数量持续增长。因此,食品安全专家已无法阅读与食品安全及食物链中危害发生相关的所有文献。然而,食品安全专家了解最新发现并以简便、简洁的方式获取这些信息非常重要。本研究提出了一种通过大型语言模型自动从科学文献中提取化学危害的方法。该大型语言模型开箱即用,直接应用于科学摘要;无需对模型进行额外训练或使用大型计算集群。研究测试了三种不同的提示模型风格,以评估哪种最适合当前任务。提示通过两种验证食品(叶菜类和贝类)进行优化,最终最佳提示的性能使用三种测试食品(乳制品、玉米和三文鱼)进行评估。研究发现,提示的具体措辞对结果有显著影响。将任务分解为更小步骤的提示整体表现最佳。该提示达到了93%的平均准确率,并包含了食品监测计划中已涵盖的许多化学污染物,验证了成功检索食品安全领域相关危害的能力。结果展示了大型语言模型在从科学文献中自动提取信息任务中的巨大价值。

英文摘要:

The number of scientific articles published in the domain of food safety has consistently been increasing over the last few decades. It has therefore become unfeasible for food safety experts to read all relevant literature related to food safety and the occurrence of hazards in the food chain. However, it is important that food safety experts are aware of the newest findings and can access this information in an easy and concise way. In this study, an approach is presented to automate the extraction of chemical hazards from the scientific literature through large language models. The large language model was used out-of-the-box and applied on scientific abstracts; no extra training of the models or a large computing cluster was required. Three different styles of prompting the model were tested to assess which was the most optimal for the task at hand. The prompts were optimized with two validation foods (leafy greens and shellfish) and the final performance of the best prompt was evaluated using three test foods (dairy, maize and salmon). The specific wording of the prompt was found to have a considerable effect on the results. A prompt breaking the task down into smaller steps performed best overall. This prompt reached an average accuracy of 93% and contained many chemical contaminants already included in food monitoring programs, validating the successful retrieval of relevant hazards for the food safety domain. The results showcase how valuable large language models can be for the task of automatic information extraction from the scientific literature.

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

↑