Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

An AI-Powered Approach for Medical Specialty Triage Using Natural Language Processing and Transformer Models

Author 1: Anas Chahid Author 2: Ismail Chahid Author 3: Wafae Mrabti Author 4: Mohamed Emharraf Author 5: Mohammed Ghaouth Belkasmi
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 4 · Published 2026

DOI: 10.14569/IJACSA.2026.0170411

Abstract

Upon arrival at a hospital, patients require an initial assessment to determine the urgency of their condition and the appropriate medical specialty for their needs. This manual triage process, however, is often time-consuming and resource-intensive, leading to potential delays in care, patient dissatisfaction, and inefficient allocation of specialized medical staff. This study presents an AI-based solution to address this critical challenge. A model is introduced that automatically suggests a suitable medical specialty based on a textual description of a patient’s symptoms, with the aim of improving the efficiency of the hospital’s initial patient triage process. The proposed methodology involves pre-processing a large dataset of over 100,000 patient inquiries from online health forums and conducting a comparative analysis of multiple BERT-based models. Experimental results demonstrate that a domain-specific model, BiomedNLP-PubMedBERT, is par-ticularly effective. To further enhance performance and address the inherent class imbalance in the dataset, a data augmentation strategy using synonym replacement and a weighted loss function was implemented. This combined approach achieved a final weighted F1-score of 92.91%, significantly outperforming the non-augmented baseline models. This work provides a practical path toward building effective automated triage tools that can streamline initial patient assessment and improve operational efficiency in hospital environments. The final model is publicly available for verification and further application.

Keywords

How to Cite this Article

Chahid, A., Chahid, I., Mrabti, W., Emharraf, M., & Belkasmi, M. G. (2026). An AI-Powered Approach for Medical Specialty Triage Using Natural Language Processing and Transformer Models. International Journal of Advanced Computer Science and Applications, 17(4). https://doi.org/10.14569/IJACSA.2026.0170411

Chahid, Anas, et al.. "An AI-Powered Approach for Medical Specialty Triage Using Natural Language Processing and Transformer Models." International Journal of Advanced Computer Science and Applications, vol. 17, no. 4, 2026, https://doi.org/10.14569/IJACSA.2026.0170411.

@article{Chahid2026,
  title     = {An AI-Powered Approach for Medical Specialty Triage Using Natural Language Processing and Transformer Models},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {4},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Anas Chahid and Ismail Chahid and Wafae Mrabti and Mohamed Emharraf and Mohammed Ghaouth Belkasmi},
  doi       = {10.14569/IJACSA.2026.0170411},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170411}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 12, December 2026
Paper Submission Due November 25, 2026
Review Notification December 15, 2026
Publication Date December 31, 2026