本研究提出两阶段方法微调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.
MKG-Rank: Enhancing Large Language Models with Knowledge Graph for Multilingual Medical Question Answering
University of Tokyo(东京大学);Texas A&M University(德克萨斯农工大学);Duke-NUS Medical School(杜克-新加坡国立大学医学院);Smartor LLC(斯马特有限责任公司);NEC Laboratories America(美国电气公司实验室);University of Geneva(日内瓦大学)
Can Large Language Models Self-Correct in Medical Question Answering? An Exploratory Study
Department of Electrical and Computer Engineering, University of Minnesota(明尼苏达大学电气与计算机工程系);Division of Computational Health Sciences, Department of Surgery, University of Minnesota(明尼苏达大学外科学系计算健康科学部);Department of Software Engineering, University of St. Thomas(圣托马斯大学软件工程系)
PerMedCQA: Benchmarking Large Language Models on Medical Consumer Question Answering in Persian Language
School of Computer Science Institute for Research in Fundamental Sciences(计算机科学学院基础科学研究研究所);School of Electrical and Computer Engineering University of Tehran(电气与计算机工程学院塔里班大学);Department of Computer Science Faculty of Mathematical Sciences Alzahra University(计算机科学系数学科学学院阿扎赫拉大学)
Integrating UMLS Knowledge into Large Language Models for Medical Question Answering
National University of Singapore(新加坡国立大学);Duke-NUS Medical School(杜克-新加坡国立大学医学院);University of Tokyo(东京大学);National Institute of Advanced Industrial Science and Technology(日本产业技术综合研究所);Singapore General Hospital(新加坡中央医院);Zhejiang Lab(之江实验室);National Institutes of Health(美国国立卫生研究院);Yale University(耶鲁大学)
IMB: An Italian Medical Benchmark for Question Answering
University of Naples Federico II, Department of Electrical Engineering(那不勒斯费德里科二世大学电子工程系);Consorzio Interuniversitario Nazionale per l'Informatica (CINI) - ITEM National Lab(国家信息计算联合研究中心(CINI)- ITEM国家实验室);Northwestern University, Department of Computer Science, McCormick School of Engineering(西北大学计算机科学系,工程学院)
Correctness Coverage Evaluation for Medical Multiple-Choice Question Answering Based on the Enhanced Conformal Prediction Framework
School of Electronic and Information Engineering, Tongji University(同济大学电子与信息工程学院);School of Electrical and Information Engineering, Hunan University(湖南大学电气与信息工程学院);School of Economics and Management, Fuzhou University(福州市经济学与管理学院)
emrQA: A Large Corpus for Question Answering on Electronic Medical Records
MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);IBM TJ Watson Research Center(IBM托马斯·J·沃森研究中心);University of Illinois Urbana Champaign(伊利诺伊大学厄巴纳-香槟分校);Carle Illinois College of Medicine(伊利诺伊大学卡勒医学院)
Hybrid-IR: Dual-Path Hybrid Retrieval with Iterative Reasoning for Complex Medical Question Answering
College of Artificial Intelligence, Nanjing Agricultural University(南京农业大学人工智能学院);School of Computer Science and Engineering, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院)
Bias Evaluation and Mitigation in Retrieval-Augmented Medical Question-Answering Systems
University of Pittsburgh(匹兹堡大学);School of Computing and Information, University of Pittsburgh(匹兹堡大学计算与信息学院);Clinical and Translational Science Institute, University of Pittsburgh(匹兹堡大学临床与转化科学研究所);University of Pittsburgh Medical Center(匹兹堡大学医学中心)
Towards Answering Health-related Questions from Medical Videos: Datasets and Approaches
Lister Hill National Center for Biomedical Communications(利斯特希尔国家生物医学交流中心);National Library of Medicine(国家医学图书馆);National Institutes of Health(美国国立卫生研究院);NYU Grossman School of Medicine(纽约大学格罗斯曼医学院);New York University(纽约大学)
Do Clinical Question Answering Systems Really Need Specialised Medical Fine Tuning?
University of Delhi(德里大学);Jamia Hamdard(贾迈亚哈马尔德大学);Cornell University(康奈尔大学);Expedia Group(Expedia集团);DSEU-Okhla;Center for SDGC(SDGC中心);Stanford University(斯坦福大学)
MediQAl: A French Medical Question Answering Dataset for Knowledge and Reasoning Evaluation
Data Clinic, University Hospital of Nantes, France(南特大学医院数据诊所,法国);Nantes Université, École Centrale Nantes, CNRS, LS2N, France(南特大学,中央理工学院南特分校,国家科学研究中心,LS2N,法国)
TOP-Training: Target-Oriented Pretraining for Medical Extractive Question Answering
Pennsylvania State University(宾夕法尼亚州立大学);Indian Institute of Technology (IIT) Bhubaneswar(印度理工学院布巴内斯瓦尔分校);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)