⚠️ Access Required
To access the files in this dataset, you must agree to the cc-by-nc-nd-3.0 license terms.
This dataset is for academic research use only and not intended for commercial or clinical applications.
ViDRiP-LLaVA is a vision-language framework designed for instruction-based diagnostic reasoning using both image patches and video clips from pathology slides. It builds on LLaVA and extends it to the medical domain with domain-specific datasets and fine-tuned models.
🧠 Introducing our ViDRiP-LLaVA: the first multimodal model for diagnostic reasoning in pathology through video-based instruction. 🔬📽️
Our method leverages chain-of-thought (CoT) prompting to distill the reasoning capabilities of LLMs. ViDRiP-LLaVA generates both detailed histological descriptions and final diagnoses, simulating how pathologists analyze and sign out cases.
📚 Trained on 4,278 instructional video pairs
⚙️ Combines single-image + clip transfer and fine-tuning on segmented diagnostic videos
All clips are:
These steps preserve diagnostic signal while respecting the rights of YouTube creators and complying with YouTube’s Terms of Service.
The ViDRiP-LLaVA models were trained on an internal dataset version that included:
All evaluations (including those in our benchmark) are conducted using the publicly released test set, ensuring full reproducibility.
The videos data is ~ 60 GB:
We use publicly available datasets: Quilt-LLaVA and PathAsst. Please refer to their respective repositories for download instructions.
ViDRiP_Instruct_Train./scripts/train/finetune_ov_video.sh
./scripts/train/finetune_ov_video_lora.sh
🔗 Merge LoRA weights
./scripts/train/merge_lora_weights.py
./doc/ViDRiP_LLaVA_trial.py
We use lmms_eval to evaluate the performance of video diagnostic reasoning.
To benchmark ViDRiP-LLaVA and compare it with other models:
lmms_eval repocp -r lmms_eval/tasks/ViDRiP_Instruct_Test /path/to/lmms_eval/tasks/
You can then run evaluation using the standard lmms_eval CLI interface.
Coming soon
ViDRiP-LLaVA (Vision-language Diagnostic Reasoning in Pathology), including its dataset, code, and model checkpoints, is released strictly for non-commercial research purposes only.
This project may incorporate or build upon resources such as LLaVA-Next, QUILT-1M, LLaMA, PathAsst, and GPT-4, each subject to their own licenses and Terms of Use.
ViDRiP-LLaVA includes data derived from public educational pathology videos hosted on YouTube. All content usage complies with YouTube’s Terms of Service, and the intellectual property rights of the original pathologist creators are fully acknowledged and respected.
38 commits
⚠️ Access Required
To access the files in this dataset, you must agree to the cc-by-nc-nd-3.0 license terms.
This dataset is for academic research use only and not intended for commercial or clinical applications.
ViDRiP-LLaVA is a vision-language framework designed for instruction-based diagnostic reasoning using both image patches and video clips from pathology slides. It builds on LLaVA and extends it to the medical domain with domain-specific datasets and fine-tuned models.
🧠 Introducing our ViDRiP-LLaVA: the first multimodal model for diagnostic reasoning in pathology through video-based instruction. 🔬📽️
Our method leverages chain-of-thought (CoT) prompting to distill the reasoning capabilities of LLMs. ViDRiP-LLaVA generates both detailed histological descriptions and final diagnoses, simulating how pathologists analyze and sign out cases.
📚 Trained on 4,278 instructional video pairs
⚙️ Combines single-image + clip transfer and fine-tuning on segmented diagnostic videos
All clips are:
These steps preserve diagnostic signal while respecting the rights of YouTube creators and complying with YouTube’s Terms of Service.
The ViDRiP-LLaVA models were trained on an internal dataset version that included:
All evaluations (including those in our benchmark) are conducted using the publicly released test set, ensuring full reproducibility.
The videos data is ~ 60 GB:
We use publicly available datasets: Quilt-LLaVA and PathAsst. Please refer to their respective repositories for download instructions.
ViDRiP_Instruct_Train./scripts/train/finetune_ov_video.sh
./scripts/train/finetune_ov_video_lora.sh
🔗 Merge LoRA weights
./scripts/train/merge_lora_weights.py
./doc/ViDRiP_LLaVA_trial.py
We use lmms_eval to evaluate the performance of video diagnostic reasoning.
To benchmark ViDRiP-LLaVA and compare it with other models:
lmms_eval repocp -r lmms_eval/tasks/ViDRiP_Instruct_Test /path/to/lmms_eval/tasks/
You can then run evaluation using the standard lmms_eval CLI interface.
Coming soon
ViDRiP-LLaVA (Vision-language Diagnostic Reasoning in Pathology), including its dataset, code, and model checkpoints, is released strictly for non-commercial research purposes only.
This project may incorporate or build upon resources such as LLaVA-Next, QUILT-1M, LLaMA, PathAsst, and GPT-4, each subject to their own licenses and Terms of Use.
ViDRiP-LLaVA includes data derived from public educational pathology videos hosted on YouTube. All content usage complies with YouTube’s Terms of Service, and the intellectual property rights of the original pathologist creators are fully acknowledged and respected.
38 commits