Update README.md
Browse files1234567891011121314151617181920212223242526271 unmodified line29303132333435363738394041424344---license: apache-2.0---# 3D-RADThe official Dataset for the paper "3D-RAD: A Comprehensive 3D Radiology Med-VQA Dataset with Multi-Temporal Analysis and Diverse Diagnostic Tasks".In our project, we collect a large-scale dataset designed to advance 3D Med-VQA using radiology CT scans, 3D-RAD, encompasses six diverse VQA tasks: anomaly detection (task 1), image observation (task 2), medical computation (task 3), existence detection (task 4), static temporal diagnosis (task 5), and longitudinal temporal diagnosis (task 6).## π Images/This folder contains preprocessed 3D CT volumes in `.npy` format.Each file is structured to facilitate direct input into vision-language models.- Purpose: Standardized model input across all tasks.## π train/ and π test/These folders contain the question-answer (QA) pairs categorized by task.Each file corresponds to a specific QA task such as anomaly detection, measurement, or temporal reasoning.- `train/`: QA pairs for model training- `test/`: QA pairs for model evaluation# Fields:- `VolumeName`: File name of the associated CT volume (matches the file in `Images/`)- `Question`: The natural language question- `Answer`: The ground truth answer1 unmodified line- `AnswerChoice`: Correct option (A/B/C/D) for closed questions- `Choice A`β`Choice D`: Candidate options for closed questions## CodeYou can find our code in [M3D-RAD_Code](https://github.com/Tang-xiaoxiao/M3D-RAD).## M3D-RAD ModelYou can find our model in [M3D-RAD_Models](https://huggingface.co/Tang-xiaoxiao/M3D-RAD).## Data SourceThe original CT scans in our dataset are derived from [CT-RATE](https://huggingface.co/datasets/ibrahimhamamci/CT-RATE), which is released under a CC-BY-NC-SA license. We fully comply with the license terms by using the data for non-commercial academic research, providing proper attribution.## Model Links| Model | Paper || ----- | ------------------------------------------------------------ |123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354551 unmodified line57585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106---license: apache-2.0---# [ π― NeurIPS 2025 ] 3D-RAD π©»: A Comprehensive 3D Radiology Med-VQA Dataset with Multi-Temporal Analysis and Diverse Diagnostic Tasks<div align="center"><a href="https://github.com/Tang-xiaoxiao/3D-RAD/stargazers"><img src="https://img.shields.io/github/stars/Tang-xiaoxiao/3D-RAD?style=social" /></a><a href="https://arxiv.org/abs/2506.11147"><img src="https://img.shields.io/badge/arXiv-Paper-b31b1b.svg?logo=arxiv" /></a><a href="https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity"><img src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" /></a></div>## π’ News<summary><strong>What's New in This Update π</strong></summary>- **2025.10.23**: π₯ Updated **the latest version** of the paper!- **2025.09.19**: π₯ Paper accepted to **NeurIPS 2025**! π―- **2025.05.16**: π₯ Set up the repository and committed the dataset!## π Overviewπ‘ In this repository, we present the dataset for **["3D-RAD: A Comprehensive 3D Radiology Med-VQA Dataset with Multi-Temporal Analysis and Diverse Diagnostic Tasks"](https://arxiv.org/pdf/2506.11147)**.In our project, we collect a large-scale dataset designed to advance 3D Med-VQA using radiology CT scans, 3D-RAD, encompasses six diverse VQA tasks: **Anomaly Detection** (task 1), **Image Observation** (task 2), **Medical Computation** (task 3), **Existence Detection** (task 4), **Static Temporal Diagnosis** (task 5), and **Longitudinal Temporal Diagnosis** (task 6).## π 3D-RAD DatasetIn the `3DRAD` directory, there are QA data without 3D images.You can find the full dataset with 3D images (For efficient model input, the original CT images were preprocessed and converted into .npy format.) in [3D-RAD_Dataset](https://huggingface.co/datasets/Tang-xiaoxiao/3D-RAD).### π Images/This folder contains preprocessed 3D CT volumes in `.npy` format.Each file is structured to facilitate direct input into vision-language models.- Purpose: Standardized model input across all tasks.### π train/ and π test/These folders contain the question-answer (QA) pairs categorized by task.Each file corresponds to a specific QA task such as anomaly detection, measurement, or temporal reasoning.- `train/`: QA pairs for model training- `test/`: QA pairs for model evaluation### Fields:- `VolumeName`: File name of the associated CT volume (matches the file in `Images/`)- `Question`: The natural language question- `Answer`: The ground truth answer1 unmodified line- `AnswerChoice`: Correct option (A/B/C/D) for closed questions- `Choice A`β`Choice D`: Candidate options for closed questions## π€ M3D-RAD ModelTo assess the utility of 3D-RAD, we **finetuned two M3D model variants** with different parameter scales, thereby constructing the M3D-RAD models. You can find our finetuned model in [M3D-RAD_Models](https://huggingface.co/Tang-xiaoxiao/M3D-RAD).## π Evaluation### Zero-Shot Evaluation.We conducted **zero-shot evaluation** of several stateof-the-art 3D medical vision-language models on our benchmark to assess their generalization capabilities.In the `RadFM` and `M3D` directory, there are code for evaluating RadFM and M3D models on our 3D-RAD benchmark. Note that, the base code is [RadFM](https://github.com/chaoyi-wu/RadFM), and the base code is [M3D](https://github.com/BAAI-DCAI/M3D). To run our evaluation, you should first satisfy the requirements and download the models according to the base code of these models.Compare to the base code, we make the following modifications: In the `RadFM` directory, we add a new Dataset in `RadFM/src/Dataset/dataset/rad_dataset.py` and modify the Dataset to test in `RadFM/src/Dataset/multi_dataset_test.py`. Then we add a new python file to evaluate our benchmark in `RadFM/src/eval_3DRAD.py`. In the `M3D` directory, we add a new Dataset in `M3D/Bench/dataset/multi_dataset.py` and add a new python file to evaluate our benchmark in `M3D/Bench/eval/eval_3DRAD.py`.You can evaluate RadFM on our 3D-RAD benchmark by running:```pythoncd 3D-RAD/RadFM/srcpython eval_3DRAD.py \--file_path={your test file_path} \--output_path={your saved output_path}```You can evaluate M3D on our 3D-RAD benchmark by running:```pythoncd 3D-RAD/M3Dpython Bench/eval/eval_3DRAD.py \--model_name_or_path={your model_name} \--vqa_data_test_path={your test file_path} \--output_dir={your saved output_dir}```### Scaling with Varying Training Set Sizes.To further investigate the impact of dataset scale on model performance, we randomly **sampled 1%, 10% and 100%** of the training data per task and fine-tuned M3D accordingly.## π Data SourceThe original CT scans in our dataset are derived from [CT-RATE](https://huggingface.co/datasets/ibrahimhamamci/CT-RATE), which is released under a CC-BY-NC-SA license. We fully comply with the license terms by using the data for non-commercial academic research, providing proper attribution.## π Model Links| Model | Paper || ----- | ------------------------------------------------------------ |
README.md+75-13