arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.12989cs.LGcs.CLq-bio.QM
收藏

基准测试与分析:上下文学习、微调与监督学习在生物医学知识策展中的应用——以生物感兴趣的化学实体为聚焦研究

Benchmarking and Analyzing In-context Learning, Fine-tuning and Supervised Learning for Biomedical Knowledge Curation: a focused study on chemical entities of biological interest

Institute of Health Informatics(健康信息学研究所);University College London(伦敦大学学院)

Emily Groves, Minhong Wang, Yusuf Abdulle, Holger Kunz, Jason Hoelscher-Obermaier, Ronin Wu, Honghan Wu

AI总结:

本研究比较ICL、FT和ML在生物医学知识策展中的性能,发现ML在数据充足时准确率最高,而ICL在数据稀缺时表现优异,FT介于两者之间。

摘要:

自动化知识策展对于确保生物医学本体保持全面、高质量和最新状态至关重要。在基础语言模型时代,本研究比较并分析了三种用于策展任务的NLP范式:上下文学习(ICL)、微调(FT)和监督学习(ML)。以生物感兴趣的化学实体(ChEBI)数据库作为模型本体,设计了三个策展任务。对于ICL,采用了三种提示策略,分别使用GPT-4、GPT-3.5和BioGPT。对于FT范式,选择了PubmedBERT。对于ML,使用了六个嵌入模型来训练随机森林和长短期记忆模型。设计了五种设置来评估ML和FT模型在不同数据可用性场景下的性能。策展任务的数据集包括:任务1(620,386)、任务2(611,430)和任务3(617,381),保持50:50的正负样本比例。对于ICL模型,GPT-4在任务1-3中分别取得了最佳准确率0.916、0.766和0.874。在直接比较中,ML(在约260,000个三元组上训练)在所有任务中的准确率均优于ICL(准确率差异:+.11、+.22和+.17)。微调的PubmedBERT在任务1和2中的表现与领先的ML模型相似(F1差异:-.014和+.002),但在任务3中表现较差(-.048)。模拟显示,随着训练数据更小和更不平衡,ML和FT模型的性能均有所下降,而ICL(特别是GPT-4)在任务1和3中表现出色。GPT-4在少于6,000个三元组的情况下在任务1和3中表现优异,超越了ML/FT。ICL在任务2中表现不如ML/FT。ICL增强的基础模型在正确提示下可以成为知识策展的良好助手,但并未使ML和FT范式过时。后两者需要特定任务的数据才能击败ICL。在这种情况下,ML依赖于小型预训练嵌入,从而最小化计算需求。

英文摘要:

Automated knowledge curation for biomedical ontologies is key to ensure that they remain comprehensive, high-quality and up-to-date. In the era of foundational language models, this study compares and analyzes three NLP paradigms for curation tasks: in-context learning (ICL), fine-tuning (FT), and supervised learning (ML). Using the Chemical Entities of Biological Interest (ChEBI) database as a model ontology, three curation tasks were devised. For ICL, three prompting strategies were employed with GPT-4, GPT-3.5, BioGPT. PubmedBERT was chosen for the FT paradigm. For ML, six embedding models were utilized for training Random Forest and Long-Short Term Memory models. Five setups were designed to assess ML and FT model performance across different data availability scenarios.Datasets for curation tasks included: task 1 (620,386), task 2 (611,430), and task 3 (617,381), maintaining a 50:50 positive versus negative ratio. For ICL models, GPT-4 achieved best accuracy scores of 0.916, 0.766 and 0.874 for tasks 1-3 respectively. In a direct comparison, ML (trained on ~260,000 triples) outperformed ICL in accuracy across all tasks. (accuracy differences: +.11, +.22 and +.17). Fine-tuned PubmedBERT performed similarly to leading ML models in tasks 1 & 2 (F1 differences: -.014 and +.002), but worse in task 3 (-.048). Simulations revealed performance declines in both ML and FT models with smaller and higher imbalanced training data. where ICL (particularly GPT-4) excelled in tasks 1 & 3. GPT-4 excelled in tasks 1 and 3 with less than 6,000 triples, surpassing ML/FT. ICL underperformed ML/FT in task 2.ICL-augmented foundation models can be good assistants for knowledge curation with correct prompting, however, not making ML and FT paradigms obsolete. The latter two require task-specific data to beat ICL. In such cases, ML relies on small pretrained embeddings, minimizing computational demands.

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

↑