*Equally contributing first authors
Introducing BiMediX2, the first bilingual (Arabic-English) Bio-Medical Expert Large Multimodal Model (LMM) designed for advanced medical image understanding and applications. Built on the Llama 3.1 architecture, BiMediX2 seamlessly integrates text and visual modalities to enable multilingual interactions, including text-based queries and multi-turn conversations involving medical images. Trained on a diverse bilingual and multimodal healthcare dataset of 1.6M samples, it achieves state-of-the-art performance across various benchmarks. BiMediX2 outperforms recent models in multimodal medical evaluations, delivering over 9% improvement in English and 20% in Arabic evaluations, and excelling in tasks like medical VQA, Report Generation, and Summarization.
Our key contributions are as follows:
For a quick start, hereβs the minimal flow to train BiMediX2. See README.md for detailed steps and notes.
BiMed-V_stage1.json and BiMed-V_stage2.json (links in README.md). Download images using the provided scripts.
python scripts/download_pmc_images.pypython scripts/download_slake_rad_path_images.py./scripts/stage1_train.sh./checkpoints/BiMediX2_llava_8B_pretrain/ (contains mm_projector.bin)./scripts/stage2_train.sh./checkpoints/BiMediX2_llava_8B_finetune_lora/./scripts/merge_lora.sh.To reproduce our BiMed-MBench evaluation results or evaluate your own models, please refer to the BiMed-MBench folder. This contains:
For detailed usage instructions, see the BiMed-MBench README.
BiMediX2 is released under the CC-BY-NC-SA 4.0 License. For more details, please refer to the LICENSE file included in our BiMediX repository.
β οΈ Warning! This release, intended for research, is not ready for clinical or commercial use.
Users are urged to employ BiMediX2 responsibly, especially when applying its outputs in real-world medical scenarios. It is imperative to verify the model's advice with qualified healthcare professionals and not rely on it for medical diagnoses or treatment decisions. Despite the overall advancements BiMediX2 shares common challenges with other language models, including hallucinations, toxicity, and stereotypes. BiMediX2's medical diagnoses and recommendations are not infallible.
If you use BiMediX2 in your research, please cite our work as follows:
@misc{mullappilly2024bimedix2biomedicalexpertlmm,
title={BiMediX2: Bio-Medical EXpert LMM for Diverse Medical Modalities},
author={Sahal Shaji Mullappilly and Mohammed Irfan Kurpath and Sara Pieri and Saeed Yahya Alseiari and Shanavas Cholakkal and Khaled Aldahmani and Fahad Khan and Rao Anwer and Salman Khan and Timothy Baldwin and Hisham Cholakkal},
year={2024},
eprint={2412.07769},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2412.07769},
}
We are thankful to Meta Llama for releasing their models and LLaVa, Axolotl, LLaVA++ for their open-source code contributions.
We would like to thank Dr. Omair Mohammed, Dr. Mohammed Zidan and Dr. Vishal Thomas Oommen for their contribution in verification of medical responses.
The computations were enabled by resources provided by LUMI hosted by CSC (Finland) and LUMI consortium, and by Berzelius resource provided by the Knut and Alice Wallenberg Foundation at the NSC.
We are grateful to the Meta Llama Impact Innovation Awards for recognizing BiMediX2, as one of the winners awarded in September 2024. This recognition highlights our commitment to advancing AI-driven healthcare solutions.
10 commits
5 commits
Python
88.9%
Shell
11.1%
*Equally contributing first authors
Introducing BiMediX2, the first bilingual (Arabic-English) Bio-Medical Expert Large Multimodal Model (LMM) designed for advanced medical image understanding and applications. Built on the Llama 3.1 architecture, BiMediX2 seamlessly integrates text and visual modalities to enable multilingual interactions, including text-based queries and multi-turn conversations involving medical images. Trained on a diverse bilingual and multimodal healthcare dataset of 1.6M samples, it achieves state-of-the-art performance across various benchmarks. BiMediX2 outperforms recent models in multimodal medical evaluations, delivering over 9% improvement in English and 20% in Arabic evaluations, and excelling in tasks like medical VQA, Report Generation, and Summarization.
Our key contributions are as follows:
For a quick start, hereβs the minimal flow to train BiMediX2. See README.md for detailed steps and notes.
BiMed-V_stage1.json and BiMed-V_stage2.json (links in README.md). Download images using the provided scripts.
python scripts/download_pmc_images.pypython scripts/download_slake_rad_path_images.py./scripts/stage1_train.sh./checkpoints/BiMediX2_llava_8B_pretrain/ (contains mm_projector.bin)./scripts/stage2_train.sh./checkpoints/BiMediX2_llava_8B_finetune_lora/./scripts/merge_lora.sh.To reproduce our BiMed-MBench evaluation results or evaluate your own models, please refer to the BiMed-MBench folder. This contains:
For detailed usage instructions, see the BiMed-MBench README.
BiMediX2 is released under the CC-BY-NC-SA 4.0 License. For more details, please refer to the LICENSE file included in our BiMediX repository.
β οΈ Warning! This release, intended for research, is not ready for clinical or commercial use.
Users are urged to employ BiMediX2 responsibly, especially when applying its outputs in real-world medical scenarios. It is imperative to verify the model's advice with qualified healthcare professionals and not rely on it for medical diagnoses or treatment decisions. Despite the overall advancements BiMediX2 shares common challenges with other language models, including hallucinations, toxicity, and stereotypes. BiMediX2's medical diagnoses and recommendations are not infallible.
If you use BiMediX2 in your research, please cite our work as follows:
@misc{mullappilly2024bimedix2biomedicalexpertlmm,
title={BiMediX2: Bio-Medical EXpert LMM for Diverse Medical Modalities},
author={Sahal Shaji Mullappilly and Mohammed Irfan Kurpath and Sara Pieri and Saeed Yahya Alseiari and Shanavas Cholakkal and Khaled Aldahmani and Fahad Khan and Rao Anwer and Salman Khan and Timothy Baldwin and Hisham Cholakkal},
year={2024},
eprint={2412.07769},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2412.07769},
}
We are thankful to Meta Llama for releasing their models and LLaVa, Axolotl, LLaVA++ for their open-source code contributions.
We would like to thank Dr. Omair Mohammed, Dr. Mohammed Zidan and Dr. Vishal Thomas Oommen for their contribution in verification of medical responses.
The computations were enabled by resources provided by LUMI hosted by CSC (Finland) and LUMI consortium, and by Berzelius resource provided by the Knut and Alice Wallenberg Foundation at the NSC.
We are grateful to the Meta Llama Impact Innovation Awards for recognizing BiMediX2, as one of the winners awarded in September 2024. This recognition highlights our commitment to advancing AI-driven healthcare solutions.
10 commits
5 commits
Python
88.9%
Shell
11.1%