开源模型到位了吗?商业与开源大语言模型在标注胸部X光报告能力上的比较研究
Is Open-Source There Yet? A Comparative Study on Commercial and Open-Source LLMs in Their Ability to Label Chest X-Ray Reports
AI总结:
本研究比较了GPT-4等商业模型与多种开源模型在标注胸部X光报告中的表现,发现少样本提示能使开源模型媲美GPT-4,成为保护隐私的高性能替代方案。
摘要:
引言:随着大语言模型(LLMs)的快速发展,涌现出了许多新的开源和商业模型。虽然近期发表的研究探讨了GPT-4在从放射学报告中提取感兴趣信息方面的应用,但尚未有研究在真实世界场景下将GPT-4与不同的领先开源模型进行比较。材料与方法:使用了两个不同且独立的数据集。第一个数据集包含540份胸部X光报告,这些报告于2019年7月至2021年7月期间在Massachusetts General Hospital创建。第二个数据集包含来自ImaGenome数据集的500份胸部X光报告。随后,我们将OpenAI的商业模型GPT-3.5 Turbo和GPT-4与开源模型Mistral-7B、Mixtral-8x7B、Llama2-13B、Llama2-70B、QWEN1.5-72B以及CheXbert和CheXpert-labeler进行了比较,评估它们在使用不同提示技术准确标注X光文本报告中多种表现存在情况的能力。结果:在ImaGenome数据集上,表现最好的开源模型是Llama2-70B,在零样本和少样本提示下的微平均F1分数分别为0.972和0.970。GPT-4的微平均F1分数分别为0.975和0.984。在机构数据集上,表现最好的开源模型是QWEN1.5-72B,在零样本和少样本提示下的微平均F1分数分别为0.952和0.965。GPT-4的微平均F1分数分别为0.975和0.973。结论:在本文中,我们表明虽然GPT-4在零样本报告标注方面优于开源模型,但实施少样本提示可以使开源模型达到与GPT-4同等的水平。这表明,在放射学报告分类任务中,开源模型可以成为GPT-4的高性能且保护隐私的替代方案。
英文摘要:
Introduction: With the rapid advances in large language models (LLMs), there have been numerous new open source as well as commercial models. While recent publications have explored GPT-4 in its application to extracting information of interest from radiology reports, there has not been a real-world comparison of GPT-4 to different leading open-source models. Materials and Methods: Two different and independent datasets were used. The first dataset consists of 540 chest x-ray reports that were created at the Massachusetts General Hospital between July 2019 and July 2021. The second dataset consists of 500 chest x-ray reports from the ImaGenome dataset. We then compared the commercial models GPT-3.5 Turbo and GPT-4 from OpenAI to the open-source models Mistral-7B, Mixtral-8x7B, Llama2-13B, Llama2-70B, QWEN1.5-72B and CheXbert and CheXpert-labeler in their ability to accurately label the presence of multiple findings in x-ray text reports using different prompting techniques. Results: On the ImaGenome dataset, the best performing open-source model was Llama2-70B with micro F1-scores of 0.972 and 0.970 for zero- and few-shot prompts, respectively. GPT-4 achieved micro F1-scores of 0.975 and 0.984, respectively. On the institutional dataset, the best performing open-source model was QWEN1.5-72B with micro F1-scores of 0.952 and 0.965 for zero- and few-shot prompting, respectively. GPT-4 achieved micro F1-scores of 0.975 and 0.973, respectively. Conclusion: In this paper, we show that while GPT-4 is superior to open-source models in zero-shot report labeling, the implementation of few-shot prompting can bring open-source models on par with GPT-4. This shows that open-source models could be a performant and privacy preserving alternative to GPT-4 for the task of radiology report classification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。