Skip to content
/ BaMCo Public

[MICCAI 2025] The official repository of BaMCo, a framework for multimodal knowledge-driven Medical VQA.

License

Notifications You must be signed in to change notification settings

yaziciz/BaMCo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BaMCo: Balanced Multimodal Contrastive Learning for Knowledge-Driven Medical VQA

Welcome to BaMCo, a novel framework for multimodal, knowledge-driven biomedical Visual Question Answering. This repository contains the implementation of the paper, BaMCo, accepted to MICCAI 2025.


Getting Started

1. Clone the Repository

git clone https://github.com/yaziciz/BaMCo.git
cd BaMCo

2. Install Requirements

conda env create -f environment.yml
conda activate bamco

3. Prepare Datasets

  • Place your datasets under the appropriate folders in KSpace/Datasets/ or use the predefined datasets, Slake, PathVQA, and VQA-RAD.

4. Download Model Weights

5. Update Model Paths

  • Edit main.py in both VQA/src/ and KSpace/src/ to point to the correct checkpoint files as described in the respective Readme.md files in each checkpoints/ directory.

Main Components

  • KSpace:
    Scripts for constructing and encoding biomedical knowledge sources.

  • VQA:
    End-to-end VQA pipeline, including data loading, model training, evaluation, and inference.

  • Checkpoints:
    Store and manage pretrained model weights for both knowledge encoders and VQA models.


Citation

We appreciate your interest! If you use or refer to BaMCo in your research, please cite us: The citation will be updated soon!

@inproceedings{BaMCo_MICCAI2025,
  title     = {BaMCo: Balanced Multimodal Contrastive Learning for Knowledge-Driven Medical VQA},
  author    = {Ziya Ata Yazici and Hazım Kemal Ekenel},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year      = {2025}
}

Contact

For questions, issues, or contributions, please open an issue or pull request on GitHub.


About

[MICCAI 2025] The official repository of BaMCo, a framework for multimodal knowledge-driven Medical VQA.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published