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

从对话到检查:大型语言模型能否助力糖尿病预测?

From Chat to Checkup: Can Large Language Models Assist in Diabetes Prediction?

Department of Computer Science and Engineering, Islamic University of Technology, Gazipur, Bangladesh(计算机科学与工程系,伊斯兰技术大学,加兹ipur,孟加拉国)

Shadman Sakib, Oishy Fatema Akhand, Ajwad Abrar

AI总结:

本研究评估大型语言模型在糖尿病预测中的有效性,通过零样本、单样本和三样本提示方法,发现专有模型表现优于开源模型,且Gemma-2-27B在F1分数上超越传统机器学习模型。

摘要:

尽管机器学习(ML)和深度学习(DL)模型已被广泛用于糖尿病预测,但大型语言模型(LLMs)在结构化数值数据上的应用仍未得到充分探索。在本研究中,我们使用零样本、单样本和三样本提示方法测试了LLMs在糖尿病预测中的有效性。我们使用皮马印第安人糖尿病数据库(PIDD)进行了实证分析。我们评估了六个LLMs,包括四个开源模型:Gemma-2-27B、Mistral-7B、Llama-3.1-8B和Llama-3.2-2B。我们还测试了两个专有模型:GPT-4o和Gemini Flash 2.0。此外,我们将它们的性能与三个传统机器学习模型进行了比较:随机森林、逻辑回归和支持向量机(SVM)。我们使用准确率、精确率、召回率和F1分数作为评估指标。我们的结果表明,专有LLMs的表现优于开源模型,其中GPT-4o和Gemma-2-27B在少样本设置中达到了最高准确率。值得注意的是,Gemma-2-27B在F1分数方面也优于传统ML模型。然而,仍然存在一些问题,如不同提示策略下的性能差异以及对领域特定微调的需求。本研究表明,LLMs可用于医学预测任务,并鼓励未来在提示工程和混合方法方面开展研究,以改善医疗预测。

英文摘要:

While Machine Learning (ML) and Deep Learning (DL) models have been widely used for diabetes prediction, the use of Large Language Models (LLMs) for structured numerical data is still not well explored. In this study, we test the effectiveness of LLMs in predicting diabetes using zero-shot, one-shot, and three-shot prompting methods. We conduct an empirical analysis using the Pima Indian Diabetes Database (PIDD). We evaluate six LLMs, including four open-source models: Gemma-2-27B, Mistral-7B, Llama-3.1-8B, and Llama-3.2-2B. We also test two proprietary models: GPT-4o and Gemini Flash 2.0. In addition, we compare their performance with three traditional machine learning models: Random Forest, Logistic Regression, and Support Vector Machine (SVM). We use accuracy, precision, recall, and F1-score as evaluation metrics. Our results show that proprietary LLMs perform better than open-source ones, with GPT-4o and Gemma-2-27B achieving the highest accuracy in few-shot settings. Notably, Gemma-2-27B also outperforms the traditional ML models in terms of F1-score. However, there are still issues such as performance variation across prompting strategies and the need for domain-specific fine-tuning. This study shows that LLMs can be useful for medical prediction tasks and encourages future work on prompt engineering and hybrid approaches to improve healthcare predictions.

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

↑