arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10083cs.AI
收藏

在眼科学中微调大型语言模型(LLM)人工智能聊天机器人及使用GPT-4进行基于LLM的评估

Fine-tuning Large Language Model (LLM) Artificial Intelligence Chatbots in Ophthalmology and LLM-based evaluation using GPT-4

Singapore National Eye Centre(新加坡全国眼科中心);Singapore Eye Research Institute(新加坡眼科研究所);Singapore Health Services(新加坡保健服务);Duke-NUS Medical School(杜克-新加坡国立大学医学院);Singapore General Hospital(新加坡中央医院)

Ting Fang Tan, Kabilan Elangovan, Liyuan Jin, Yao Jie, Li Yong, Joshua Lim, Stanley Poh, Wei Yan Ng, Daniel Lim, Yuhe Ke, Nan Liu, Daniel Shu Wei Ting

AI总结:

本研究通过微调5种LLM生成眼科问答回复,并使用定制临床准则指导GPT-4进行评估,发现GPT-4评估与人类临床专家排名具有显著一致性,能准确识别临床错误,有望辅助验证医疗LLM应用。

摘要:

目的:评估基于GPT-4的评估与人类临床专家的一致性,用于评估微调LLM聊天机器人生成的眼科相关患者查询的回复。方法:眼科医生创建了400个眼科问题和配对答案,以代表常见的患者问题,分为微调集(368个;92%)和测试集(40个;8%)。我们微调了5种不同的LLM,包括LLAMA2-7b、LLAMA2-7b-Chat、LLAMA2-13b和LLAMA2-13b-Chat。对于测试数据集,还额外包含了8对青光眼问答。5个微调LLM针对测试数据集生成了200个回复以供评估。使用定制的临床评估准则指导GPT-4评估,该准则基于临床准确性、相关性、患者安全性和易于理解性。然后将GPT-4评估与5位临床医生的排名进行比较,以验证临床一致性。结果:在所有微调LLM中,根据GPT-4评估,GPT-3.5得分最高(87.1%),其次是LLAMA2-13b(80.9%)、LLAMA2-13b-chat(75.5%)、LLAMA2-7b-Chat(70%)和LLAMA2-7b(68.8%)。GPT-4评估与人类临床医生排名显示出显著的一致性,Spearman和Kendall Tau相关系数分别为0.90和0.80;而基于Cohen Kappa的相关性较为适中,为0.50。值得注意的是,定性分析和青光眼子分析揭示了LLM生成回复中的临床不准确之处,这些均被GPT-4评估恰当地识别出来。结论:GPT-4评估显著的临床一致性突显了其简化LLM聊天机器人回复医疗相关查询的临床评估的潜力。通过补充现有的依赖临床医生的手动评分,这种高效的自动化评估可协助验证未来医疗LLM应用的开发。

英文摘要:

Purpose: To assess the alignment of GPT-4-based evaluation to human clinician experts, for the evaluation of responses to ophthalmology-related patient queries generated by fine-tuned LLM chatbots. Methods: 400 ophthalmology questions and paired answers were created by ophthalmologists to represent commonly asked patient questions, divided into fine-tuning (368; 92%), and testing (40; 8%). We find-tuned 5 different LLMs, including LLAMA2-7b, LLAMA2-7b-Chat, LLAMA2-13b, and LLAMA2-13b-Chat. For the testing dataset, additional 8 glaucoma QnA pairs were included. 200 responses to the testing dataset were generated by 5 fine-tuned LLMs for evaluation. A customized clinical evaluation rubric was used to guide GPT-4 evaluation, grounded on clinical accuracy, relevance, patient safety, and ease of understanding. GPT-4 evaluation was then compared against ranking by 5 clinicians for clinical alignment. Results: Among all fine-tuned LLMs, GPT-3.5 scored the highest (87.1%), followed by LLAMA2-13b (80.9%), LLAMA2-13b-chat (75.5%), LLAMA2-7b-Chat (70%) and LLAMA2-7b (68.8%) based on the GPT-4 evaluation. GPT-4 evaluation demonstrated significant agreement with human clinician rankings, with Spearman and Kendall Tau correlation coefficients of 0.90 and 0.80 respectively; while correlation based on Cohen Kappa was more modest at 0.50. Notably, qualitative analysis and the glaucoma sub-analysis revealed clinical inaccuracies in the LLM-generated responses, which were appropriately identified by the GPT-4 evaluation. Conclusion: The notable clinical alignment of GPT-4 evaluation highlighted its potential to streamline the clinical evaluation of LLM chatbot responses to healthcare-related queries. By complementing the existing clinician-dependent manual grading, this efficient and automated evaluation could assist the validation of future developments in LLM applications for healthcare.

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

↑