Knowledge augmented significant language model-based chatbot for explainable diabetes mellitus prediction

Mazen Elfayoumi, Mohamed AbouElazm, Omar Mohamed, Tamer Abuhmed, Shaker El-Sappagh

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

This study proposes an innovative diabetes prediction chatbot that utilizes large language models (LLMs) to determine the likelihood of diabetes based on specific patient inputs. Unlike conventional machine learning models and in addition to providing precise, individualized, robust prediction of diabetes augmented by the percentage of its confidence, this chatbot provides detailed text-based explanations for its individual predictions and enhances user’s understanding by retrieving and presenting similar cases using case-based reasoning techniques. Utilizing key health indicators such as hypertension status, heart disease presence, smoking history, BMI, HbA1c level, and blood glucose levels, the chatbot not only predicts the presence of diabetes but also educates users about the underlying reasons for each prediction. The system's explanation module promotes transparency and trust in the predictive process. The proposed architecture integrates the retrieval augmented generation (RAG) technique with prompt engineering across multiple LLMs, including Llama 3.1, GPT-3.5, and Gemma2. This approach augments the chatbot’s responses with contextually relevant data from similar past cases, thereby enhancing both relevance and accuracy. Furthermore, RAG minimizes LLM hallucinations while enhancing them with up-to-date, precise, personalized medical information. The objective of this chatbot is to offer healthcare professionals and patients a dependable, educational instrument for early detection of diabetes supported by transparent AI principles. This will have a positive effect on preventative healthcare measures.

Original languageEnglish
Title of host publicationProceedings of the 2025 19th International Conference on Ubiquitous Information Management and Communication, IMCOM 2025
EditorsSukhan Lee, Hyunseung Choo, Roslan Ismail
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331507817
DOIs
StatePublished - 2025
Event19th International Conference on Ubiquitous Information Management and Communication, IMCOM 2025 - Bangkok, Thailand
Duration: 3 Jan 20255 Jan 2025

Publication series

NameProceedings of the 2025 19th International Conference on Ubiquitous Information Management and Communication, IMCOM 2025

Conference

Conference19th International Conference on Ubiquitous Information Management and Communication, IMCOM 2025
Country/TerritoryThailand
CityBangkok
Period3/01/255/01/25

Keywords

  • Chatbot
  • Clinical Decision Support Systems
  • Diabetes Prediction
  • Explainable AI
  • Large Language Models
  • Retrieval Augmented Generation

Fingerprint

Dive into the research topics of 'Knowledge augmented significant language model-based chatbot for explainable diabetes mellitus prediction'. Together they form a unique fingerprint.

Cite this