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

大型语言模型能否取代生物医学研究中的数据科学家?

Can Large Language Models Replace Data Scientists in Biomedical Research?

School of Computing and Data Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校计算与数据科学学院);Bioinformatics Center, Institute for Chemical Research, Kyoto University(京都大学化学研究所生物信息中心);Institute of Scientific and Industrial Research, Osaka University(大阪大学科学与工业研究所);Carle Illinois College of Medicine, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校卡尔伊利诺伊医学院)

Zifeng Wang, Benjamin Danek, Ziwei Yang, Zheng Chen, Jimeng Sun

AI总结:

本文构建了基于39篇已发表研究的293个生物医学数据科学编码任务基准,发现思维链提示和自我反思可分别将LLM代码准确率提升21%和11%,并证明LLM虽不能完全自动化编程,但能显著提高医疗专业人员的数据科学效率。

摘要:

数据科学在生物医学研究中发挥着关键作用,但它需要具备编码和医学数据分析专长的专业人员。大型语言模型(LLMs)在支持医疗任务方面展现出巨大潜力,并在通用编码测试中表现良好。然而,现有评估未能衡量它们在生物医学数据科学中的能力,尤其是在处理基因组学和临床数据集等多种数据类型方面。为弥补这一不足,我们基于39篇已发表研究的分析构建了一个数据科学编码任务基准。该基准包含293个编码任务(128个Python任务和165个R任务),在真实世界的TCGA类型基因组学和临床数据上执行。我们的研究发现,由于在遵循输入指令、理解目标数据以及遵守标准分析实践方面存在不足,LLMs的普通提示(vanilla prompting)性能欠佳。随后,我们对六种前沿LLMs和先进适配方法进行了基准测试,发现两种方法尤为有效:思维链提示(chain-of-thought prompting),它为数据分析提供逐步计划,使代码准确率提高了21%(56.6%对35.3%);以及自我反思(self-reflection),使LLMs能够迭代地修正有缺陷的代码,使代码准确率提高了11%(45.5%对34.3%)。基于这些见解,我们开发了一个将LLMs集成到医疗专业人员数据科学工作流中的平台。在一项由五名医疗专业人员参与的用户研究中,我们发现虽然LLMs无法完全自动化编程任务,但它们显著简化了编程过程。我们发现,他们提交的代码解决方案中有80%来自LLM生成的代码,在某些情况下重用率高达96%。我们的分析突显了当LLMs被集成到专家工作流中时,其在提高生物医学研究数据科学效率方面的潜力。

英文摘要:

Data science plays a critical role in biomedical research, but it requires professionals with expertise in coding and medical data analysis. Large language models (LLMs) have shown great potential in supporting medical tasks and performing well in general coding tests. However, existing evaluations fail to assess their capability in biomedical data science, particularly in handling diverse data types such as genomics and clinical datasets. To address this gap, we developed a benchmark of data science coding tasks derived from the analyses of 39 published studies. This benchmark comprises 293 coding tasks (128 in Python and 165 in R) performed on real-world TCGA-type genomics and clinical data. Our findings reveal that the vanilla prompting of LLMs yields suboptimal performances due to drawbacks in following input instructions, understanding target data, and adhering to standard analysis practices. Next, we benchmarked six cutting-edge LLMs and advanced adaptation methods, finding two methods to be particularly effective: chain-of-thought prompting, which provides a step-by-step plan for data analysis, which led to a 21% code accuracy improvement (56.6% versus 35.3%); and self-reflection, enabling LLMs to refine the buggy code iteratively, yielding an 11% code accuracy improvement (45.5% versus 34.3%). Building on these insights, we developed a platform that integrates LLMs into the data science workflow for medical professionals. In a user study with five medical professionals, we found that while LLMs cannot fully automate programming tasks, they significantly streamline the programming process. We found that 80% of their submitted code solutions were incorporated from LLM-generated code, with up to 96% reuse in some cases. Our analysis highlights the potential of LLMs to enhance data science efficiency in biomedical research when integrated into expert workflows.

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

↑