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

使用分类模型与对比分析对用于医学问答的大型语言模型进行微调的综合研究

A Comprehensive Study on Fine-Tuning Large Language Models for Medical Question Answering Using Classification Models and Comparative Analysis

Fırat University(费拉特大学);Indian Institute of Technology Kharagpur(印度理工学院卡哈拉格普尔分校);Elazig Fethi Sekin City Hospital(埃拉兹格费特希塞金市立医院)

Aysegul Ucar, Soumik Nayak, Anunak Roy, Burak Taşcı, Gülay Taşcı

AI总结:

本研究提出两阶段方法微调LLMs进行医学问答,对比评估RoBERTa和BERT等模型,发现Bert Large Uncased在5折交叉验证中各项指标达100%,证明其能高效准确分类医学问题并生成答案。

摘要:

本文介绍了专为回答医学问题而设计的大型语言模型(LLMs)的开发和微调概述。我们主要致力于提高为医学查询提供可靠答案的准确性和效率。在我们的方法中,我们分为两个阶段:对接收到的医学问题预测特定标签,然后为该标签提供预定义的答案。我们考察并评估了RoBERTa和BERT等各种模型的能力。这些模型使用从Healthline.com抓取的6,800个样本派生的数据集以及额外的合成数据进行训练。在评估方面,我们使用5折交叉验证进行了对比研究。为了评估性能,我们使用了准确率、精确率、召回率和F1分数等指标,并记录了训练时间。模型的性能使用5折交叉验证进行评估。LoRA Roberta-large模型达到了78.47%的准确率,72.91%的精确率,76.95%的召回率和73.56%的F1分数。Roberta-base模型表现出很高的性能,准确率为99.87%,精确率为99.81%,召回率为99.86%,F1分数为99.82%。Bert Uncased模型显示出强劲的结果,准确率为95.85%,精确率为94.42%,召回率为95.58%,F1分数为94.72%。最后,Bert Large Uncased模型取得了最高的性能,准确率、精确率、召回率和F1分数均达到100%。所获得的结果有助于表明模型在分类医学问题和生成准确答案方面的能力,以支持改进的健康相关AI解决方案的处方。

英文摘要:

This paper presents the overview of the development and fine-tuning of large language models (LLMs) designed specifically for answering medical questions. We are mainly improving the accuracy and efficiency of providing reliable answers to medical queries. In our approach, we have two stages, prediction of a specific label for the received medical question and then providing a predefined answer for this label. Various models such as RoBERTa and BERT were examined and evaluated based on their ability. The models are trained using the datasets derived from 6,800 samples that were scraped from Healthline. com with additional synthetic data. For evaluation, we conducted a comparative study using 5-fold cross-validation. For accessing performance we used metrics like, accuracy, precision, recall, and F1 score and also recorded the training time. The performance of the models was evaluated using 5-fold cross-validation. The LoRA Roberta-large model achieved an accuracy of 78.47%, precision of 72.91%, recall of 76.95%, and an F1 score of 73.56%. The Roberta-base model demonstrated high performance with an accuracy of 99.87%, precision of 99.81%, recall of 99.86%, and an F1 score of 99.82%. The Bert Uncased model showed strong results with an accuracy of 95.85%, precision of 94.42%, recall of 95.58%, and an F1 score of 94.72%. Lastly, the Bert Large Uncased model achieved the highest performance, with an accuracy, precision, recall, and F1 score of 100%. The results obtained have helped indicate the capability of the models in classifying the medical questions and generating accurate answers in the prescription of improved health-related AI solutions.

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

↑