BiMediX: Bilingual Medical Mixture of Experts LLM
Sara Pieri, Sahal Shaji Mullappilly, Fahad Shahbaz Khan, Rao Muhammad Anwer, Salman Khan, Timothy Baldwin, Hisham Cholakkal
TL;DR
BiMediX addresses the underrepresentation of Arabic in medical NLP by introducing the first bilingual medical mixture of experts LLM capable of English and Arabic interactions. The approach combines the BiMed1.3M bilingual instruction set with a semi automated English to Arabic translation pipeline and QLoRA based fine tuning of a Mixtral MoE model to deliver efficient bilingual medical dialogue, QA and MCQA capabilities. It achieves state of the art or competitive results on English medical benchmarks and shows meaningful gains on Arabic and bilingual evaluations against baselines, while offering eightfold faster inference. The work provides open resources including a large Arabic English medical benchmark and dataset to advance bilingual medical AI research with attention to safety and ethical implications.
Abstract
In this paper, we introduce BiMediX, the first bilingual medical mixture of experts LLM designed for seamless interaction in both English and Arabic. Our model facilitates a wide range of medical interactions in English and Arabic, including multi-turn chats to inquire about additional details such as patient symptoms and medical history, multiple-choice question answering, and open-ended question answering. We propose a semi-automated English-to-Arabic translation pipeline with human refinement to ensure high-quality translations. We also introduce a comprehensive evaluation benchmark for Arabic medical LLMs. Furthermore, we introduce BiMed1.3M, an extensive Arabic-English bilingual instruction set covering 1.3 Million diverse medical interactions, resulting in over 632 million healthcare specialized tokens for instruction tuning. Our BiMed1.3M dataset includes 250k synthesized multi-turn doctor-patient chats and maintains a 1:2 Arabic-to-English ratio. Our model outperforms state-of-the-art Med42 and Meditron by average absolute gains of 2.5% and 4.1%, respectively, computed across multiple medical evaluation benchmarks in English, while operating at 8-times faster inference. Moreover, our BiMediX outperforms the generic Arabic-English bilingual LLM, Jais-30B, by average absolute gains of 10% on our Arabic medical benchmark and 15% on bilingual evaluations across multiple datasets. Our project page with source code and trained model is available at https://github.com/mbzuai-oryx/BiMediX .
