Optimizing Response Consistency of Large Language Models in Medical Education through Prompt Engineering

This research focuses on optimizing the response consistency of Large Language Models (LLMs) in medical education through advanced prompt engineering techniques. LLMs often give different answers to the same question, making self-consistency a critical parameter for assessing their performance. Addressing this inconsistency is essential in high-stakes fields like healthcare, where reliable and accurate information is important. The study employed custom prompt engineering strategies, including zero-shot, few-shot, and Chain-of-Thought (CoT) prompting, to improve LLM output consistency and accuracy. We implemented a retrieval-augmented generation (RAG) framework to use external knowledge from trusted medical resources, keeping the responses accurate and contextually appropriate. Responses were scored on several dimensions: content relevance, completeness, and clinical correctness, and assessed for consistency by asking repeated queries. The results showed significant enhancement in the consistency and accuracy of the responses, proving the effectiveness of the presented method. This work outlines suggestions for the use of LLMs in a way that can be incorporated into medical education while considering the limitations. It underscores the need for further exploration of prompt engineering to improve LLM performance and establishes these tools as reliable resources for training healthcare professionals.

Authors

Institutions

Publication Details

Published
2025-02-19
DOI
https://doi.org/10.1109/icarc64760.2025.10963313
Citations
1
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Response Consistency of Large Language Models in Medical Education through Prompt Engineering

Shantha Jayalal, Keerthi Wijayasiriwardhane, Tharindu Weerathunge
1 citations
Topic Modeling
2.48
article

Optimizing Response Consistency of Large Language Models in Medical Education through Prompt Engineering

Shantha Jayalal, Keerthi Wijayasiriwardhane, Tharindu Weerathunge
article en
1 citations

Abstract

This research focuses on optimizing the response consistency of Large Language Models (LLMs) in medical education through advanced prompt engineering techniques. LLMs often give different answers to the same question, making self-consistency a critical parameter for assessing their performance. Addressing this inconsistency is essential in high-stakes fields like healthcare, where reliable and accurate information is important. The study employed custom prompt engineering strategies, including zero-shot, few-shot, and Chain-of-Thought (CoT) prompting, to improve LLM output consistency and accuracy. We implemented a retrieval-augmented generation (RAG) framework to use external knowledge from trusted medical resources, keeping the responses accurate and contextually appropriate. Responses were scored on several dimensions: content relevance, completeness, and clinical correctness, and assessed for consistency by asking repeated queries. The results showed significant enhancement in the consistency and accuracy of the responses, proving the effectiveness of the presented method. This work outlines suggestions for the use of LLMs in a way that can be incorporated into medical education while considering the limitations. It underscores the need for further exploration of prompt engineering to improve LLM performance and establishes these tools as reliable resources for training healthcare professionals.

Waikato Institute of Technology (NZ), University of Kelaniya (LK)
Quality Education
Openalex Percentile: Top 11%
Topic Modeling
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Optimizing Response Consistency of Large Language Models in Medical Education through Prompt Engineering — Shantha Jayalal, Keerthi Wijayasiriwardhane, et al. · (2025) | TGRS Research Map | TGRS