CoChat

Enhancement of the Performance of Large Language Models in Diabetes Education through Retrieval-Augmented Generation: Comparative Study

Open access
Wang, Dingqiao, Liang, Jiangbo, Ye, Jinguo, Li, Jingni, Li, Jingpeng, Zhang, Qikai, Hu, Qiuling, Pan, Caineng, Wang, Dongliang, Liu, Zhong, Shi, Wen, Shi, Danli, Li, Fei, Qu, Bo, Zheng, Yingfeng · 2024 · Journal of Medical Internet Research

Published version of a preprint

The DOI matches its Crossref record; 44 of the 44 references it cites were found in a registry or an index.

Abstract

Background: Large language models (LLMs) demonstrated advanced performance in processing clinical information. However, commercially available LLMs lack specialized medical knowledge and remain susceptible to generating inaccurate information. Given the need for self-management in diabetes, patients commonly seek information online. We introduce the Retrieval-augmented Information System for Enhancement (RISE) framework and evaluate its performance in enhancing LLMs to provide accurate responses to diabetes-related inquiries. Objective: This study aimed to evaluate the potential of the RISE framework, an information retrieval and augmentation tool, to improve the LLM’s performance to accurately and safely respond to diabetes-related inquiries. Methods: The RISE, an innovative retrieval augmentation framework, comprises 4 steps: rewriting query, information retrieval, summarization, and execution. Using a set of 43 common diabetes-related questions, we evaluated 3 base LLMs (GPT-4, Anthropic Claude 2, Google Bard) and their RISE-enhanced versions respectively. Assessments were conducted by clinicians for accuracy and comprehensiveness and by patients for understandability. Results: The integration of RISE significantly improved the accuracy and comprehensiveness of responses from all 3 base LLMs. On average, the percentage of accurate responses increased by 12% (15/129) with RISE. Specifically, the rates of accurate responses increased by 7% (3/43) for GPT-4, 19% (8/43) for Claude 2, and 9% (4/43) for Google Bard. The framework also enhanced response comprehensiveness, with mean scores improving by 0.44 (SD 0.10). Understandability was also enhanced by 0.19 (SD 0.13) on average. Data collection was conducted from September 30, 2023 to February 5, 2024. Conclusions: The RISE significantly improves LLMs’ performance in responding to diabetes-related inquiries, enhancing accuracy, comprehensiveness, and understandability. These improvements have crucial implications for RISE’s future role in patient education and chronic illness self-management, which contributes to relieving medical resource pressures and raising public awareness of medical knowledge.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.2196/58041

Cites

44 of 44 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1 Comparing responses of LLMs before and after “RISE” integration. Red bars: response from base LLMs without RISE framework. Blue bars: overview of RISE framework and query response after integration with RISE. The framework of RISE: (1) Rewriting query: Improve query accuracy and relevance using large language models. (2) Information retrieval: Search for relevant information using the revised query from the local data set and external knowledge base. (3) Summarization: Summarize retrieved information into concise key points, combined with fact-checking and safety checks. (4) Execution: LLMs take action based on summarized information (for implementation details, refer to Multimedia Appendix 1). LLMs: large language models; RISE: Retrieval-augmented Information System for Enhancement.
Figure 1 Comparing responses of LLMs before and after “RISE” integration. Red bars: response from base LLMs without RISE framework. Blue bars: overview of RISE framework and query response after integration with RISE. The framework of RISE: (1) Rewriting query: Improve query accuracy and relevance using large language models. (2) Information retrieval: Search for relevant information using the revised query from the local data set and external knowledge base. (3) Summarization: Summarize retrieved information into concise key points, combined with fact-checking and safety checks. (4) Execution: LLMs take action based on summarized information (for implementation details, refer to Multimedia Appendix 1). LLMs: large language models; RISE: Retrieval-augmented Information System for Enhancement.CC BY · PubMed Central
Figure 2 Flowchart of overall study design. The study evaluates the performance of 3 publicly available large language models and their RISE-enhanced versions in addressing common diabetes-related inquiries. The evaluation is conducted from the perspectives of both the clinicians and diabetic patients. Clinicians evaluate the accuracy and comprehensiveness of responses. Patients assess the understandability.
Figure 2 Flowchart of overall study design. The study evaluates the performance of 3 publicly available large language models and their RISE-enhanced versions in addressing common diabetes-related inquiries. The evaluation is conducted from the perspectives of both the clinicians and diabetic patients. Clinicians evaluate the accuracy and comprehensiveness of responses. Patients assess the understandability.CC BY · PubMed Central
Figure 3 Average scores of responses from large language models. Answers from each model were scored 1-3 points by 3 clinicians. The maximum score for each response is 9 points. An asterisk (*) denotes statistical significance at P<.05. Model call dates: September 30, 2023 to February 5, 2024. RISE: Retrieval-augmented Information System for Enhancement.
Figure 3 Average scores of responses from large language models. Answers from each model were scored 1-3 points by 3 clinicians. The maximum score for each response is 9 points. An asterisk (*) denotes statistical significance at P<.05. Model call dates: September 30, 2023 to February 5, 2024. RISE: Retrieval-augmented Information System for Enhancement.CC BY · PubMed Central
Figure 4 Accuracy rates (proportion of “Good” responses) of large language models. Model call dates: September 30, 2023 to February 5, 2024. RISE: Retrieval-augmented Information System for Enhancement.
Figure 4 Accuracy rates (proportion of “Good” responses) of large language models. Model call dates: September 30, 2023 to February 5, 2024. RISE: Retrieval-augmented Information System for Enhancement.CC BY · PubMed Central

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 44 references

Research works printed but not linked: 13

  1. OpenAI Gpt-4 technical report arxiv 2303.08774 2023 2 5 · arXiv
  2. Chowdhery A Narang S Devlin J Bosma M Mishra G Roberts A Palm: scaling language modeling with pathways Journal of Machine Learning Research 2023 24 240 1 113
  3. Wei J Wang X Schuurmans D Bosma M Xia F Chi E Chain-of-thought prompting elicits reasoning in large language models Advances in Neural Information Processing Systems 2022 35 24824 24837
  4. Shi F Suzgun M Freitag M Wang X Srivats S Vosoughi S Language models are multilingual chain-of-thought reasoners arxiv.03057 2022
  5. Han T Adams LC Papaioannou JM Grundmann P Oberhauser T Löser A MedAlpaca--an open-source collection of medical conversational AI models and training data arXiv:230408247 2023
  6. Nori H King N McKinney SM Carignan D Horvitz E Capabilities of gpt-4 on medical challenge problems arXiv:230313375 2023
  7. Golovneva O Chen M Poff S Corredor M Zettlemoyer L Fazel-Zarandi M Roscoe: a suite of metrics for scoring step-by-step reasoning arXiv:221207919 2022
  8. Madaan A Tandon N Gupta P Hallinan S Gao L Wiegreffe S Self-refine: iterative refinement with self-feedback Advances in Neural Information Processing Systems 2024 36
  9. Lewis P Perez E Piktus A Petroni F Karpukhin V Goyal N Retrieval-augmented generation for knowledge-intensive nlp tasks Advances in Neural Information Processing Systems 2020 33 9459 9474
  10. Guu K Lee K Tung Z Pasupat P Chang M Retrieval augmented language model pre-training PMLR 2020 International Conference on Machine Learning 2020 July 13 Vienna, Austria
  11. NCBI PMC 2023-12-05 https://www.ncbi.nlm.nih.gov/pmc/
  12. Huang Y Huang J A survey on retrieval-augmented text generation for large language models arXiv:240410981 2024
  13. Touvron H Lavril T Izacard G Martinet X Lachaux M Lacroix T Llama: open and efficient foundation language models arxiv.13974 2023

Cited by

See all 100

Metadata

Authors
Wang, D., Liang, J., Ye, J., Li, J., Li, J., Zhang, Q., Hu, Q., Pan, C., Wang, D., Liu, Z., Shi, W., Shi, D., Li, F., Qu, B., & Zheng, Y.
Affiliations
  • Sun Yat-sen University (CN)
  • Hong Kong Polytechnic University (HK)
  • Peking University Third Hospital (CN)
Corresponding author
Zheng, Yingfeng
Venue
Journal of Medical Internet Research
Published
2024-11-08
Volume
26
Pages
e58041
ISSN
1438-8871 (ISSN-L)
OpenAlex
W4400955423
Cited by
76
References
39
Citations by year
2026: 43 · 2025: 32 · 2024: 1
FWCI
7.11
Type
journal article
Language
en
Open access
Licence
cc-by
Locations
  • Journal of Medical Internet Research (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • PolyU Institutional Research Archive (Hong Kong Polytechnic University) (submittedVersion, cc-by)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
Funders
  • National Natural Science Foundation of China (81721003, 82171034)
  • Sun Yat-sen University
  • National Key Research and Development Program of China (2022YFC2502800)
Topics
  • Health Sciences › Medicine › Health Informatics › Artificial Intelligence in Healthcare and Education
  • Physical Sciences › Computer Science › Information Systems › Information Retrieval and Search Behavior
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
Keywords
retrieval-augmented generation, large language models, diabetes education, diabetes self-management, medical information retrieval, query rewriting, response accuracy, GPT-4, Claude 2, Google Bard, patient education
MeSH terms
Diabetes Mellitus, Humans, Patient Education as Topic, Information Storage and Retrieval

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.