Medical Specialty Prediction from Bangla Patient Narratives: A Comparative Study of ML, DL, Transformers, and LLMs
Abstract
Timely access to appropriate medical specialists remains a bottleneck in Bangladesh's healthcare system, as patients describe symptoms in informal Bangla rather than clinical terms, leading to ineffective referrals. This paper compares four model families for predicting medical specialties from Bangla patient narratives: six machine learning (ML) models using hybrid TF-IDF features, four deep learning (DL) models using Word2Vec embeddings trained on the corpus, four fine-tuned transformers, and five large language models (LLMs) evaluated zero-shot. From a corpus of 3798 patient records covering 20 specialties, we retained the five with the most records (Medicine, Gynecology, Dermatology, Pediatrics, Gastroenterology) and split the resulting 2730 records 80:20 into training and test sets shared by all families. The best transformer was XLM-RoBERTa (86.26% accuracy, 86.21% macro-F1), the best ML model was SVM (84.98%, 84.92%), the best DL model was Bidirectional GRU (80.77%, 80.83%), and the best LLM was Gemini (90.29%, 90.15%). Holm-corrected paired McNemar tests show SVM significantly outperforming Bi-LSTM (adjusted p = 0.004), whereas the Gemini-versus-Grok gap does not survive correction (adjusted p = 0.104), and neither the strongest transformer versus the weakest LLM (Grok) nor SVM versus the strongest transformer reaches significance. A tuned classical model is thus statistically indistinguishable from the strongest transformer, so accuracy rankings alone should not be read as evidence of one family's superiority. The findings provide a comparative baseline for Bangla medical text classification.
Create a lesson
Related papers
Decision Models for Multilingual Emotion Classification: A Comparative Study Against LLMs and Encoders
Shared title terminology · Alessandro Piccolo, Francesco De Nicolò, Francesco Manco et al.
Grammar Sparsity Sets How Transformers Learn Random Languages
Shared title terminology · Edgar Andres Hernandez Moreno, Francesco Cagnetta
Which Loopholes Get Found? Predicting Reward Hacking of LLM Judges Before RL Training
Shared title terminology · Xuanyi Lyu, Yuezhou Zhao, Qing Qin
CompareDR: Benchmarking Deep Research Reports from Individual Quality to Comparative Merit
Shared title terminology · Wanli Wu, He Zhu, Yue Xu et al.
Estimating Silenced Tokens in Quantized LLMs
Shared title terminology · Giuseppe Pappalardo
Can Speech LLMs Recognize When Audio Evidence Is Insufficient? A Diagnostic Study and a Pre-Generation Probing Mitigation
Shared title terminology · Vladislav Nesterenko, Polina Doronicheva, Olga Golubeva et al.