STEAD-PE: A Structured Static-Dynamic PE Framework for Arabic Medical Response Generation
Ahmed Alansary, Molham Mamdouh, Mohammad Moftah, Ali Hamdi, Khaled Shaban
Key points
From the paper's conclusion- These findings establish STEAD-PE as a robust, model-agnostic PE framework and highlight the importance of dynamically injected clinical context in reducing linguistic ambiguity and improving semantic fidelity in low-resource medical NLP settings.
Abstract
Medical response generation in low-resource and linguistically complex languages such as Arabic requires precise, context-aware advice, making Prompt Engineering a critical mechanism for controlling large language model behavior and improving output quality. The demand for scalable and reliable Arabic medical support systems has increased interest in prompt-based controllability, particularly where model fine-tuning and large annotated datasets are impractical. However, existing LLMs often show limited clinical relevance and semantic alignment when prompted with unstructured, patient-authored Arabic medical queries. In this work, we propose ST ructur E d st A tic- D ynamic PE (STEAD-PE), a prompt-only framework for Arabic medical response generation. STEAD-PE operates without model fine-tuning or parameter updates and leverages expert-curated Arabic medical posts paired with clinically validated treatment plans. The framework introduces case-specific structured metadata Domain, Severity, and Diagnosis—dynamically injected at inference time to enable clinically grounded and context-aware responses. We evaluate STEAD-PE across thirteen state-of-the-art LLMs, including Arabic-specialized, multilingual, and general-purpose models, using BERTScore for semantic similarity. Results show consistent and monotonic improvements in semantic and clinical relevance across all models, with STEAD-PE (Dynamic) achieving the highest BERTScore-measured semantic alignment in every case. Among evaluated models, LFM2-350M attains the best overall BERTScore (86.50%), while Qwen-32B improves from 80.89% (Zero-Shot) to 84.90% (Static) and 85.76% (Dynamic). These findings establish STEAD-PE as a robust, model-agnostic PE framework and highlight the importance of dynamically injected clinical context in reducing linguistic ambiguity and improving semantic fidelity in low-resource medical NLP settings.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Single-Pass Uncertainty Heads for Claim-Level Hallucination Detection in Persian Medical Language ModelsarXiv · 2026
- A scalable framework for evaluating health language modelsnpj Digital Medicine · 2026
- Human-Likeness is Multi-Dimensional: Evaluating LLM Generated Virtual Patients Against Simulated Patient DialoguearXiv · 2026
- Med-CoReasoner: Reducing Language Disparities in Medical Reasoning via Language-Informed Co-Reasoning.Proceedings of the conference. Association for Computational Linguistics. Meeting · 2026
- CReaTe-LM: A large language model for stepwise, heuristic clinical reasoning instruction.Artificial intelligence in medicine · 2026
- Large Language Models for Structured Clinical Data Analysis: Dual-Agent Grounding and ValidationarXiv · 2026