arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.13501cs.CLcs.IR
收藏

利用大型语言模型在中医药抗击COVID-19文献中进行命名实体识别:比较研究

Utilizing Large Language Models for Named Entity Recognition in Traditional Chinese Medicine against COVID-19 Literature: Comparative Study

China Academy of Chinese Medical Sciences(中国中医科学院);GESIS—Leibniz Institute for the Social Sciences(GESIS——莱布尼茨社会科学研究所);University of Bonn(波恩大学);Capital Medical University(首都医科大学)

Xu Tong, Nina Smirnova, Sharmila Upadhyaya, Ran Yu, Jack H. Culbert, Chao Sun, Wolfgang Otto, Philipp Mayr

AI总结:

本研究比较了ChatGPT等LLMs与BERT模型在中医药抗COVID-19文献NER任务中的表现,发现LLMs性能因实体类型和场景而异,GPT-4在模糊匹配上占优,但严谨场景下均非理想工具。

摘要:

目的:探讨并比较ChatGPT及其他最先进的LLMs在中医药抗击COVID-19文献中涵盖不同实体类型和领域的特定领域NER任务上的性能。方法:我们建立了一个包含389篇中医药抗击COVID-19文章的数据集,并手动标注了其中48篇,包含属于3个领域的6种实体类型作为真实标签,以此评估LLMs的NER性能。随后,我们使用ChatGPT(GPT-3.5和GPT-4)及4种最先进的基于BERT的问答(QA)模型(RoBERTa、MiniLM、PubMedBERT和SciBERT),在未对该特定任务进行事先训练的情况下,对6种实体类型执行NER任务。此外,还应用了一个领域微调模型(GSAP-NER)以进行全面比较。结果:LLMs的整体性能在精确匹配和模糊匹配上差异显著。在模糊匹配中,ChatGPT在6项任务中有5项超越了基于BERT的QA模型;而在精确匹配中,基于BERT的QA模型在6项任务中有5项优于ChatGPT,但F-1分数差距较小。GPT-4在模糊匹配上显示出显著优势,特别是在中医药方剂与中药专利药(TFD)及成分(IG)实体类型上。尽管GPT-4在药材、靶点和研究方法实体类型上优于基于BERT的模型,但没有一项F-1分数超过0.5。GSAP-NER在研究方法(RM)上的F-1分数以微弱优势胜过GPT-4。ChatGPT的召回率明显高于精确率,尤其是在模糊匹配中。结论:LLMs的NER性能高度依赖于实体类型,且其性能因应用场景而异。对于偏好高召回率的场景,ChatGPT是一个不错的选择。然而,对于严谨场景下的知识获取,ChatGPT和基于BERT的QA模型均非专业从业者的现成工具。

英文摘要:

Objective: To explore and compare the performance of ChatGPT and other state-of-the-art LLMs on domain-specific NER tasks covering different entity types and domains in TCM against COVID-19 literature. Methods: We established a dataset of 389 articles on TCM against COVID-19, and manually annotated 48 of them with 6 types of entities belonging to 3 domains as the ground truth, against which the NER performance of LLMs can be assessed. We then performed NER tasks for the 6 entity types using ChatGPT (GPT-3.5 and GPT-4) and 4 state-of-the-art BERT-based question-answering (QA) models (RoBERTa, MiniLM, PubMedBERT and SciBERT) without prior training on the specific task. A domain fine-tuned model (GSAP-NER) was also applied for a comprehensive comparison. Results: The overall performance of LLMs varied significantly in exact match and fuzzy match. In the fuzzy match, ChatGPT surpassed BERT-based QA models in 5 out of 6 tasks, while in exact match, BERT-based QA models outperformed ChatGPT in 5 out of 6 tasks but with a smaller F-1 difference. GPT-4 showed a significant advantage over other models in fuzzy match, especially on the entity type of TCM formula and the Chinese patent drug (TFD) and ingredient (IG). Although GPT-4 outperformed BERT-based models on entity type of herb, target, and research method, none of the F-1 scores exceeded 0.5. GSAP-NER, outperformed GPT-4 in terms of F-1 by a slight margin on RM. ChatGPT achieved considerably higher recalls than precisions, particularly in the fuzzy match. Conclusions: The NER performance of LLMs is highly dependent on the entity type, and their performance varies across application scenarios. ChatGPT could be a good choice for scenarios where high recall is favored. However, for knowledge acquisition in rigorous scenarios, neither ChatGPT nor BERT-based QA models are off-the-shelf tools for professional practitioners.

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

↑