STEAD-PE: A Structured Static-Dynamic PE Framework for Arabic Medical Response Generation
| dc.Affiliation | October University for modern sciences and Arts MSA | |
| dc.contributor.author | Ahmed Alansary | |
| dc.contributor.author | Molham Mamdouh | |
| dc.contributor.author | Mohammad Moftah | |
| dc.contributor.author | Ali Hamdi | |
| dc.contributor.author | Khaled Shaban | |
| dc.date.accessioned | 2026-11-15T16:24:42Z | |
| dc.date.issued | 2026-10-11 | |
| dc.description | SJR 2025 0.574 Q2 H-Index 38 Subject Area and Category: Computer Science Computer Science (miscellaneous) | |
| dc.description.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 STructurEd stAtic-Dynamic 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. | |
| dc.description.uri | https://www.scimagojr.com/journalsearch.php?q=21100784666&tip=sid&clean=0#google_vignette | |
| dc.identifier.citation | Alansary, A., Mamdouh, M., Moftah, M., Hamdi, A., & Shaban, K. (2026). STEAD-PE: A structured static-dynamic PE framework for arabic medical response generation. ACM Transactions on Asian and Low-Resource Language Information Processing, 3859279. https://doi.org/10.1145/3859279 | |
| dc.identifier.doi | https://doi.org/10.1145/3859279 | |
| dc.identifier.other | https://doi.org/10.1145/3859279 | |
| dc.identifier.uri | https://repository.msa.edu.eg/handle/123456789/6898 | |
| dc.language.iso | en_US | |
| dc.publisher | Association for Computing Machinery | |
| dc.relation.ispartofseries | ACM Transactions on Asian and Low-Resource Language Information Processing; 2026 | |
| dc.subject | Computing methodologies → Natural language generation | |
| dc.subject | Natural language processing | |
| dc.subject | Information extraction | |
| dc.subject | · Applied computing → Health care information systems | |
| dc.title | STEAD-PE: A Structured Static-Dynamic PE Framework for Arabic Medical Response Generation | |
| dc.type | Article |
