Abstract
BiMediX is the first bilingual (English-Arabic) medical Large Language Model (LLM) built on a Mixture-of-Experts (MoE) architecture. Designed to address the linguistic divide and computational inefficiencies in medical AI, BiMediX leverages a novel 1.3-million-interaction dataset (BiMed1.3M) and a parameter-efficient fine-tuning strategy. The model outperforms state-of-the-art dense models like Med42 and Meditron while operating eight times faster, providing a scalable solution for real-world clinical triage and support in both English and Arabic.
Introduction
While Large Language Models have demonstrated significant potential in the medical domain, current state-of-the-art models are primarily "monolingual giants." These English-centric, dense architectures are often computationally prohibitive and fail to serve the 400 million Arabic speakers worldwide. Furthermore, existing models frequently struggle with the nuances of multi-turn doctor-patient interactions, which are essential for effective clinical decision support. BiMediX was developed to bridge these gaps by combining bilingual mastery with the efficiency of a Mixture-of-Experts architecture.
Methodology
BiMediX utilizes the Mixture-of-Experts (MoE) architecture, specifically building upon the Mixtral-8x7B base. Unlike traditional dense models where every parameter is activated for every token, MoE models route tokens to a specific subset of "experts." This allows BiMediX to maintain a high total parameter count (47B) while only activating approximately 13B parameters during inference, resulting in significant latency reductions.
To optimize the training process, the researchers employed Parameter-Efficient Fine-Tuning (PEFT) via QLoRA. This approach focused on fine-tuning only the routing and expert layers, drastically reducing the resource requirements for training without compromising the model's specialized medical knowledge.
Data Acquisition and the BiMed1.3M Dataset
A primary contribution of this work is the creation of BiMed1.3M, a comprehensive bilingual instruction set. The dataset includes Multiple-Choice Question Answering (MCQA), Open QA, and 200,000 synthesized multi-turn doctor-patient dialogues.
To overcome the scarcity of high-quality Arabic medical data, the team implemented a Semi-Automated Iterative Translation pipeline. This system utilized an LLM for initial translations, followed by an automated quality scoring mechanism. Crucially, a human-in-the-loop step involved native Arabic-speaking physicians who reviewed and corrected the bottom 8% of low-scoring translations, ensuring medical accuracy across the entire 1.3-million-sample dataset.
Results and Performance
BiMediX demonstrates superior performance across several key metrics:
- Benchmark Superiority: BiMediX outperformed 70B-parameter models such as Med42 and Meditron by 2.5% and 4.1%, respectively, on standard English medical benchmarks.
- Bilingual Proficiency: Compared to the generic bilingual model Jais-30B, BiMediX showed a 10% improvement in Arabic and a 15% gain in bilingual evaluations.
- Operational Efficiency: Due to its MoE architecture, BiMediX operates 8x faster than its 70B-parameter competitors, making it viable for real-time applications.
- Fact-Checking Accuracy: In the "UPHILL" evaluation, which tests a model's ability to refute false medical claims, BiMediX exceeded GPT-4's accuracy by 4.4%.
- Human Preference: In blind evaluations conducted by certified doctors, BiMediX's conversational responses were preferred over those of Med42 and Meditron in more than 80% of cases.
Discussion and Future Work
BiMediX represents a significant step forward in making medical AI accessible and efficient. However, the authors emphasize that it remains a research tool and is not yet intended for direct clinical use. Future research will focus on enhancing safety alignment to mitigate hallucinations and further refining the translation pipeline to capture regional Arabic linguistic nuances. By prioritizing both linguistic inclusivity and computational efficiency, BiMediX sets a new standard for specialized medical LLMs.
Summary updated