Severity-Aware Curriculum Learning with Multi-Model Response Selection for Medical Text Generation


Abstract

Telehealth systems have become increasingly important for delivering accessible and timely medical information. Existing large language models often struggle to provide consistent and contextually appropriate medical responses across varying levels of case severity. This limitation highlights the need for models that can effectively adapt to the progressive complexity in medical queries. To address this challenge, we introduce a severity-aware multi-model framework that integrates curriculum training strategy with relevance-based response selection. The proposed framework employs a three-stage curriculum learning strategy, where each model is trained sequentially on mild, moderate, and critical cases to progressively acquire domain knowledge. The approach utilizes five large language models, each independently trained under the same curriculum scheme. During inference, all models generate candidate responses, and the most appropriate response is selected as the final output. The framework is trained and evaluated on the MAQA dataset, which provides annotated medical question-answer pairs. Experimental results evaluated using BERTScore demonstrate that the proposed method achieves superior performance compared to both baseline and fine-tuned models, attaining 86.71% in the baseline setting and 90.30% after fine-tuning. These results highlight the effectiveness of combining curriculum learning with multi-model response selection in improving response quality and relevance in medical text generation.

Curriculum Learning, Arabic Medical Text Generation, Large Language Models, Natural Language Processing, Multi-Model Response Selection, Severity-aware Framework.

Figure 1: Overview of the proposed severity-based curriculum learning framework

1 Introduction↩︎

The rapid advancement of telehealth and smart healthcare systems has significantly transformed the delivery of medical services, enabling patients to access medical advice remotely and efficiently[1]. Social telehealth platforms, in particular, allow users to share symptoms and engage in medical consultations through online environments, generating large-scale biomedical data that can be leveraged for automated analysis and decision support [2], [3]. In parallel, natural language processing (NLP) has become a core component of intelligent healthcare systems, facilitating the understanding and generation of medical text across various applications, including clinical support, personal care, and public health [4], [5]. The increasing adoption of medical bots further highlights the demand for reliable and context-aware medical text generation systems capable of providing accurate and timely responses [6][8].

Despite these advances, existing approaches exhibit several limitations. Recent progress in data-to-text generation has largely relied on neural end-to-end systems, where curriculum learning has been shown to improve both performance and convergence speed by organizing training samples based on difficulty [9]. Similarly, in-sample curriculum strategies that follow an easy-to-hard learning paradigm have demonstrated strong generalization capabilities in natural language generation tasks [10]. In the context of healthcare applications, large language models (LLMs) and transformer-based systems have achieved strong performance in tasks such as disease classification, symptom severity assessment, and medical text generation [2], [3], [11]. Ensemble learning techniques have further improved prediction reliability by aggregating outputs from multiple models [5]. Nevertheless, these approaches typically focus on classification or single-model generation, without explicitly addressing the progressive complexity of medical cases or the variability in response quality. Moreover, recent studies highlight challenges in evaluating LLM-generated responses in sensitive domains such as mental health, where reliability, safety, and relevance remain inconsistent [12], [13]. Additional challenges persist in Arabic medical NLP, including limited annotated resources, linguistic variability, and difficulties in handling diverse user inputs [6], [14]. Collectively, these limitations indicate the need for frameworks that can both adapt to varying case severity and enhance the reliability of generated medical responses.

To address these challenges, we introduce a severity-aware multi-model framework for medical text generation that integrates curriculum training strategy with relevance-based response selection. The proposed approach employs a three-stage curriculum learning strategy, where models are trained sequentially on mild, moderate, and critical cases as illustrated in Figure 1 to capture the progressive complexity of medical scenarios[15]. Five large language models are trained independently under this curriculum scheme, ensuring diversity in learned representations. During inference, each model generates a candidate response to the user query, and a relevance-based scoring mechanism is used to select the most appropriate response as the final output. The framework is trained and evaluated on the MAQA dataset, a large-scale Arabic healthcare question-answer corpus [6]. By combining curriculum learning with multi-model response selection, the proposed method aims to improve both the quality and reliability of medical text generation in telehealth applications.

Table 1: Example instances from the Arabic medical severity-aware dataset with transliteration and English translations.
Question Answer Severity
ورم في ارقبه كيف اتعامل معه هل يستدعي جراحه علي حسب مكانه ونوعه روح لطبيب اورام حرج
Waram fi el raqaba keef atamel maah hal yastadey geraaha Ala hasab makano w noao rooh le tabeeb awram Harej
A neck lump, how should I deal with it? Does it require surgery? It depends on its location and type; consult an oncologist. Critical
اعاني من انتفاخ الخد نتيجه التورم اللثه بسبب تسوس الاسنان الماميه يحتاج الامر لعلاج بمضاد حيوي وعمل علاج عصب غير حرج
Aani men entefakh el khad netiget el torom el latha besabab tasawos el asnan el amamiya Yahtag el amr le elag bedod hayawi wa amal elag asab Gher harej
I suffer from cheek swelling due to gum inflammation caused by front tooth decay. The condition requires antibiotic treatment and a root canal procedure. Mild
دايما احس بالم في الصدر من الجهه اليسار فوق الثدي امرض القلب لاتعاطي الم مستمر ودائم احتمال يكون عندك شد عضلي اي تقلص في عضلات الصدر راجعي اي طبيب للفحص عليك متوسط
Dayman ahes be alam fi el sadr men el geha el yasar fow el thadi Amrad el qalb la taati alam mostamer wa daem ehtemal ykoon andak shad adali ay taqalos fi adalat el sadr rajei ay tabeeb lel fahs Motawaset
I always feel pain in the left side of my chest above the breast. Heart diseases do not usually cause constant pain; it may be a muscular strain. Consult a doctor for examination. Moderate

2 Related Work↩︎

Recent advances in medical text generation and healthcare NLP have been largely driven by the adoption of large language models (LLMs) and transformer-based architectures. These models have demonstrated strong capabilities in processing complex medical text, enabling applications such as disease classification, symptom severity assessment, and automated medical response generation [2], [3], [11]. In the context of Arabic healthcare, several studies have highlighted the effectiveness of fine-tuning transformer models and leveraging domain-specific preprocessing techniques to improve performance, particularly when handling linguistically diverse and morphologically rich data [2], [14]. Moreover, the availability of large-scale datasets such as MAQA has facilitated the development and evaluation of medical question answering and text generation systems, while also addressing challenges related to data scarcity in low-resource settings [6], [16]. Comprehensive surveys further emphasize the growing role of NLP and LLMs in smart healthcare, while identifying persistent challenges such as data limitations, domain-specific terminology, and evaluation reliability [4], [17][19].

To improve model robustness and reliability, ensemble learning and multi-model strategies have been widely explored in medical NLP. By aggregating predictions from multiple models, ensemble approaches have been shown to enhance accuracy and stability in tasks such as biomedical question classification and disease prediction [3], [5]. Similarly, recent work in medical text generation has focused on fine-tuning multiple LLMs to produce coherent and contextually relevant responses, demonstrating the potential of generative AI in healthcare applications [11], [20]. In parallel, synthetic data generation and knowledge integration techniques have been proposed to address data scarcity and improve downstream performance [21]. Despite these advances, most existing approaches rely on either single-model generation or simple aggregation mechanisms, without explicitly modeling the variability in response quality or incorporating query-aware selection strategies.

Curriculum learning has emerged as an effective paradigm for improving training efficiency and model performance by organizing training samples according to difficulty. Early work in data-to-text generation demonstrated that competence-based curriculum strategies can accelerate convergence and improve generation quality by dynamically selecting training samples based on model capability [9]. Subsequent approaches extended this idea to natural language generation by adopting easy-to-hard learning schemes, including in-sample curriculum strategies that progressively increase generation complexity [10]. Curriculum learning has also been applied in medical and multi-modal settings, where models are trained to handle increasingly complex clinical data, leading to improved generalization and performance across tasks [22], [23]. Additional studies have incorporated curriculum learning into diverse frameworks, such as dual learning for response generation and fine-tuning strategies for translation models, further demonstrating its versatility [24], [25].

In the medical domain, recent efforts have focused on incorporating clinical relevance and case complexity into the training process[26]. Severity-aware learning strategies have been proposed to prioritize critical medical cases, either through weighted loss functions or structured training schemes, leading to consistent performance improvements across multiple models [27]. In particular, severity-based curriculum learning approaches organize training data into ordered stages (e.g., mild, moderate, and critical), allowing models to gradually adapt to increasing levels of complexity and better capture high-risk scenarios. Such strategies have shown promising results in Arabic medical text generation, improving response quality and robustness compared to conventional fine-tuning methods[15].

Despite these advancements, challenges remain in ensuring the reliability and evaluation of LLM-generated medical responses. Recent studies highlight that existing evaluation frameworks may lack consistency, particularly in sensitive domains such as mental health, where aspects such as safety, empathy, and relevance are difficult to assess reliably [12]. These limitations underscore the need for approaches that not only improve training through structured learning strategies but also enhance inference by selecting the most appropriate response among multiple candidates.

3 Dataset: Severity Annotation↩︎

The Medical Arabic Question Answering (MAQA) dataset was used in this work, which contains Arabic medical questions paired with their corresponding answers. The dataset was constructed for open-domain medical question answering and consists of textual pairs where each question outlines a set of symptoms and each answer delivers medical advice or guidance. For the purposes of this study, a subset of 32K question-response pairs is utilized for both training and evaluation.

As the dataset does not originally include annotations indicating the urgency of medical conditions, an additional severity labeling scheme is introduced to facilitate the severity-based curriculum learning strategy. In particular, each question is categorized into one of three severity levels: Mild, Moderate, or Critical, as shown in Table 1. These labels capture the estimated urgency of the symptoms described and allow the training data to be structured into progressively more challenging stages.

The annotation procedure follows a rule-based methodology grounded in a curated list of Arabic medical symptom keywords. Initially, all questions undergo basic Arabic text normalization, including the removal of diacritics and punctuation, along with the standardization of common letter variations. Subsequently, each question is examined for the occurrence of symptom-related keywords associated with varying levels of medical severity. Questions containing indicators of emergency conditions—such as severe chest pain, loss of consciousness, heavy bleeding, or difficulty breathing—are classified as Critical. Those reflecting intermediate conditions, including fever, vomiting, or ongoing pain, are labeled as Moderate. Questions describing less severe symptoms, such as headache, common cold, or minor discomfort, are assigned the Mild label.

In cases where multiple keywords are present within a single question, the final label is determined by selecting the highest severity level based on the following priority: Critical \(>\) Moderate \(>\) Mild. Questions that do not match any predefined symptom keywords are, by default, labeled as Mild.

These severity annotations make it possible to partition the dataset into staged subsets that reflect increasing levels of medical complexity. This organization aligns with the proposed curriculum learning framework, whereby the model is first trained on mild cases and is then progressively exposed to moderate and critical cases during the fine-tuning phase.

4 Methodology↩︎

This proposed framework integrates severity-based curriculum learning with relevance-driven response selection for medical text generation. The overall process consists of two main stages: curriculum-based training of multiple large language models (LLMs) and inference-time response selection based on semantic relevance.

4.1 Curriculum-Based Training↩︎

To enable the models to effectively capture the progressive complexity of medical cases, we adopt a severity-based curriculum learning strategy. Following the approach described in the recent work [15], the training data are partitioned into three subsets according to severity levels: mild, moderate, and critical.

\[D_{\text{Mild}},\; D_{\text{Moderate}},\; D_{\text{Critical}}\]

The training process is structured in a sequential manner, where each model is first trained on mild cases, then progressively exposed to moderate and critical cases.

The curriculum-based training process for each model \(M_m\), where \(m = 1,2,\dots,5\), is defined sequentially as follows:

\[\theta_m^{(1)} = \operatorname{Train}(M_m, D_{\text{Mild}})\]

\[\theta_m^{(2)} = \operatorname{Train}(\theta_m^{(1)}, D_{\text{Moderate}})\]

\[\theta_m^{(3)} = \operatorname{Train}(\theta_m^{(2)}, D_{\text{Critical}})\]

where \(\theta_m^{(3)}\) represents the final fine-tuned parameters of the \(m\)-th model after curriculum-based learning.

Five LLMs are independently fine-tuned using the same curriculum strategy. This staged training allows each model to first learn fundamental medical patterns from simpler cases before adapting to more complex and high-risk scenarios. By gradually increasing the difficulty of the training data, the models achieve improved generalization and stability compared to conventional training approaches.

All LLMs were fine-tuned using the Low-Rank Adaptation (LoRA) technique. The LoRA configuration was defined with rank \(r=16\), scaling factor \(\alpha=32\), and dropout rate \(0.05\). Each curriculum stage was trained for three epochs. To facilitate stable adaptation as the complexity of the medical cases increased, different learning rates were employed across the curriculum stages. Specifically, the learning rates were set to \(2e-5\), \(1e-5\), and \(8e-6\) for the first, second, and third stages, respectively.

4.2 Response Generation↩︎

After completing the training phase, each of the five LLMs is used to generate a response to a given patient query. Given an input question \(q\), each model \(M_i\) produces a candidate response \(r_i\) according to

\[r_i = M_i(q), \quad i = 1,2,\dots,5\]

resulting in a set of generated responses: \[\{r_1, r_2, r_3, r_4, r_5\}.\]

This multi-model generation process introduces diversity in the produced responses, as each model may capture different aspects of the input query and the underlying medical knowledge.

Figure 2: Overview of the proposed multi-model response selection.

4.3 Relevance-Based Response Selection↩︎

To select the most appropriate response, we employ a relevance-based scoring mechanism using BERTScore. As illustrated in Figure 2, each generated response \(r_i\) is compared with the input question \(q\) to compute a semantic similarity score: \[s_i = \text{BERTScore}(r_i, q).\]

The response with the highest similarity score is selected as the final output: \[r^* = \arg\max_{r_i} \; s_i.\]

This selection strategy ensures that the chosen response is the most semantically aligned with the patient’s query, thereby improving the relevance and quality of the final output.

4.4 Overall Framework↩︎

The proposed methodology combines curriculum learning during training with a selection mechanism during inference. While curriculum learning enhances the capability of each individual model to handle varying levels of medical complexity, the relevance-based selection step ensures that the most suitable response is delivered to the user. This combination provides a robust framework for medical text generation, particularly in telehealth scenarios where accuracy and contextual relevance are critical.

5 Results↩︎

Figure 3: Visual comparison between baseline, fine-tuned models and Our proposed method.

Table 2 and Table 3 report the experimental results in terms of BERTScore, presenting the performance of baseline models and their fine-tuned counterparts, respectively, in comparison with the proposed framework.

In Table 2, the baseline models exhibit varying levels of performance, with Qwen3-0.6B achieving the highest score of 82.00%, while Aragpt2-Base records the lowest performance at 72.51%. The proposed framework significantly outperforms all baseline models, achieving 86.71%, which indicates a substantial improvement over individual model predictions. This result demonstrates the effectiveness of the proposed approach even without fine-tuning, highlighting the benefit of leveraging multiple models with a relevance-based selection mechanism.

Table 2: Performance comparison of baseline models and (Ours)
Model BERTScore
Bloomz-560M 78.72%
Qwen3-0.6B 82.00%
Aragpt2-Medium 79.69%
Aragpt2-Base 72.51%
Dialect-ar-gpt-2021 81.61%
(Ours) 86.71%

Table 3 shows that fine-tuning consistently improves the performance of all models. For example, Aragpt2-Base increases from 72.51% to 85.51%, and Dialect-ar-gpt-2021 improves from 81.61% to 86.74%. Despite these gains, performance variability remains across models, suggesting that individual fine-tuned models still struggle to consistently produce optimal responses across all queries. In contrast, the proposed framework achieves the highest performance of 90.30%, outperforming all fine-tuned models by a clear margin.

Table 3: Performance comparison of fine-tuned models and (Ours)
Model BERTScore
Bloomz-560M 82.81%
Qwen3-0.6B 84.22%
Aragpt2-Medium 85.45%
Aragpt2-Base 85.51%
Dialect-ar-gpt-2021 86.74%
(Ours) 90.30%

The observed improvements can be attributed to the integration of curriculum-based training and relevance-driven response selection. While fine-tuning enhances each model’s ability to generate more accurate responses, the proposed selection mechanism further refines the output by choosing the most semantically relevant response among multiple candidates. This combination reduces the impact of individual model weaknesses and improves overall robustness.

Overall, as illustrated in Figure 3 the results confirm that the proposed framework not only benefits from curriculum learning during training but also effectively utilizes multi-model diversity at inference time, leading to more accurate and reliable medical text generation compared to both baseline and fine-tuned approaches.

6 Conclusion↩︎

This paper presented a severity-aware multi-model framework for medical text generation that integrates severity-based training with relevance-driven response selection. The proposed approach addressed key limitations of existing methods, which often rely on single-model generation and do not explicitly account for the progressive complexity of medical cases or variability in response quality.

By adopting a severity-based curriculum learning strategy, the models were trained to gradually capture medical knowledge from mild to critical cases, leading to improved generalization and stability. In addition, the use of multiple LLMs introduced diversity in generated responses, while the BERTScore-based selection mechanism ensured that the final output was the most semantically aligned with the patient query.

Experimental results demonstrated that the proposed framework consistently outperforms both baseline and fine-tuned models, achieving higher accuracy and more reliable responses. These findings highlight the effectiveness of combining curriculum learning with multi-model response selection in medical text generation.

Future work will explore more advanced relevance scoring methods beyond BERTScore, as well as the integration of domain-specific knowledge to further enhance the quality and safety of generated medical responses. In addition, future studies will investigate the use of manually validated severity labels, incorporate evaluations by medical experts, and assess the framework with respect to hallucination detection, harmful medical advice, and emergency-response safety to provide a more comprehensive evaluation of clinical reliability.

References↩︎

[1]
R. Yang et al., “KG-rank: Enhancing large language models for medical QA with knowledge graphs and ranking techniques,” in Proceedings of the 23rd workshop on biomedical natural language processing, Aug. 2024, pp. 155–166, doi: 10.18653/v1/2024.bionlp-1.13.
[2]
M. Mohamed, R. Emad, and A. Hamdi, “A multi-layered large language model framework for disease prediction,” in International congress on information and communication technology, 2025, pp. 259–270.
[3]
A. Hamdi, M. Mohamed, R. Emad, and K. Shaban, “An ensemble classification approach in a multi-layered large language model framework for disease prediction,” 2025.
[4]
B. Zhou, G. Yang, Z. Shi, and S. Ma, “Natural language processing for smart healthcare,” IEEE Reviews in Biomedical Engineering, vol. 17, pp. 4–18, 2022.
[5]
M. Mohamed, R. Emad, and A. Hamdi, “Ensemble transformers for arabic medical text classification,” in 2025 intelligent methods, systems, and applications (IMSA), 2025, pp. 1–6.
[6]
M. Abdelhay, A. Mohammed, and H. A. Hefny, “Deep learning for arabic healthcare: MedicalBot,” Social Network Analysis and Mining, vol. 13, no. 1, p. 71, 2023.
[7]
J. Khlaut, C. Dancette, E. Ferreres, A. Bennani, P. Hérent, and P. Manceron, “Efficient medical question answering with knowledge-augmented question generation,” in Proceedings of the 6th clinical natural language processing workshop, Jun. 2024, pp. 10–20, doi: 10.18653/v1/2024.clinicalnlp-1.2.
[8]
Y. Xie et al., DocLens: Multi-aspect fine-grained evaluation for medical text generation,” in Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers), Aug. 2024, pp. 649–679, doi: 10.18653/v1/2024.acl-long.39.
[9]
E. Chang, H.-S. Yeh, and V. Demberg, “Does the order of training samples matter? Improving neural data-to-text generation with curriculum learning,” Apr. 2021.
[10]
Q. Jia, Y. Liu, H. Tang, and K. Zhu, “In-sample curriculum learning by sequence completion for natural language generation,” Jul. 2023.
[11]
A. Allam, S. Ahmed, A. Hamdi, and A. Mohammed, “Arabic large language models for medical text generation,” 2025.
[12]
A. Badawi et al., “When can we trust LLMs in mental health? Large-scale benchmarks for reliable LLM evaluation,” in Proceedings of the 19th conference of the European chapter of the Association for Computational Linguistics (volume 1: Long papers), Mar. 2026, pp. 3873–3896, doi: 10.18653/v1/2026.eacl-long.180.
[13]
G. Balde, S. Roy, M. Mondal, and N. Ganguly, “Evaluation of LLMs in medical text summarization: The role of vocabulary adaptation in high OOV settings,” in Findings of the association for computational linguistics: ACL 2025, Jul. 2025, pp. 22989–23004, doi: 10.18653/v1/2025.findings-acl.1179.
[14]
S. Ahmed, A. Allam, A. Hamdi, and A. Mohammed, “Arabic symptom classification and diagnosis using transformer models and LLM-based augmentation,” 2025.
[15]
A. Alansary, M. Mohamed, and A. Hamdi, “A severity-based curriculum learning strategy for arabic medical text generation.” 2026, [Online]. Available: https://arxiv.org/abs/2604.06365.
[16]
B. Hikal, A. Nasreldin, A. Hamdi, and A. Mohammed, “Few-shot optimized framework for hallucination detection in resource-limited nlp systems,” in International congress on information and communication technology, 2025, pp. 169–179.
[17]
Z. A. Nazi and W. Peng, “Large language models in healthcare and medical domain: A review,” Informatics, vol. 11, no. 3, 2024.
[18]
J. Klila, S. B. Souihi, R. Boujelben, N. Semmar, and L. H. Belguith, “Adapting large language models to biomedical domain: A survey of techniques and approaches,” 2024.
[19]
R. Garg and A. Gupta, “A systematic review of NLP applications in clinical healthcare: Advancement and challenges,” in International conference on advances in data-driven computing and intelligent systems, 2023, pp. 31–44.
[20]
O. A. Koraş, R. Bahnan, J. Kleesiek, and A. Dada, “Towards conditioning clinical text generation for user control,” in Findings of the association for computational linguistics: ACL 2025, Jul. 2025, pp. 10549–10569, doi: 10.18653/v1/2025.findings-acl.549.
[21]
G. Kumichev et al., “Medsyn: Llm-based synthetic medical text generation framework,” 2024.
[22]
F. Liu, S. Ge, and X. Wu, “Competence-based multimodal curriculum learning for medical report generation,” Aug. 2021.
[23]
M. Ren, Y. Yan, H. Chen, D. Hu, J. Xu, and X. Zeng, “TACL: Threshold-adaptive curriculum learning strategy for enhancing medical text understanding,” arXiv preprint arXiv:2510.15269, 2025.
[24]
L. Shen and Y. Feng, CDL: Curriculum dual learning for emotion-controllable response generation,” Jul. 2020.
[25]
J. Guo, X. Tan, L. Xu, T. Qin, E. Chen, and T.-Y. Liu, “Fine-tuning by curriculum learning for non-autoregressive neural machine translation,” in Proceedings of the AAAI conference on artificial intelligence, 2020, vol. 34, pp. 7839–7846.
[26]
A. Allam, S. Ahmed, A. Hamdi, and K. Shaban, “Scaling arabic medical chatbots using synthetic data: Enhancing generative AI with synthetic patient records,” in 2025 IEEE/ACS 22nd international conference on computer systems and applications (AICCSA), 2025, pp. 1–8.
[27]
A. Alansary, M. Mohamed, and A. Hamdi, “Severity-aware weighted loss for arabic medical text generation.” 2026, [Online]. Available: https://arxiv.org/abs/2604.06346.