SurgQ-VLM-7B
Weights for SurgQ-VLM: Question-Conditioned Dual-Stream Compression and Answer-Type-Aware Reinforcement for Surgical Video Question Answering (WACV 2027).
Dhruv Makwana, Ananya Mantravadi ยท Centific Global Solutions
Code: https://github.com/DhruvMakwana/SurgQ-VLM ยท Paper: link coming soon
SurgQ-VLM answers questions about 30-second clips of laparoscopic cholecystectomy. A question-conditioned dual-stream (slow/fast) compressor reduces each clip to 671 visual tokens for a LoRA-adapted Qwen2.5-VL-7B, and GRPO post-training with an answer-type-aware reward scores each answer on the metric that matches its structure (binary, classification, multi-label, counting, sentence-temporal).
Files
| File | Stage | Size |
|---|---|---|
surgqvlm_grpo_weights.pt |
SFT + GRPO (paper's headline model) | 0.86 GB |
surgqvlm_sft_weights.pt |
SFT only (Stage 1) | 0.86 GB |
Each file holds only the trained parameters: the compressor and the LLM LoRA adapters (306M parameters). The frozen Qwen2.5-VL-7B base weights are downloaded from Qwen/Qwen2.5-VL-7B-Instruct at load time.
Results
Sealed test split, 21,840 QA pairs over Cholec80 + CholecT50:
| Weights | K-Acc | Primary |
|---|---|---|
| SFT | 0.754 | 0.722 |
| SFT + GRPO | 0.779 | 0.743 |
Usage
The weights are loaded by the code in the GitHub repository. Install it, build the benchmark (see the repository README), then:
git clone https://github.com/DhruvMakwana/SurgQ-VLM && cd SurgQ-VLM
pip install -r requirements.txt
# Download the weights
hf download dhruvmakwana/SurgQ-VLM-7B surgqvlm_grpo_weights.pt --local-dir .
# Evaluate on the sealed test split
python evaluate.py --weights surgqvlm_grpo_weights.pt \
--model_config configs/sft.yaml --split test --eval_batch_size 24 \
--gen_max_new_tokens 384
The files are standard PyTorch checkpoints (torch.load(..., weights_only=False)), loaded with load_state_dict(strict=False).
Data
The benchmark is generated from Cholec80 and CholecT50, which are distributed by CAMMA, University of Strasbourg under signed access requests. No surgical video is included here; request the datasets from CAMMA and build the benchmark with the scripts in the GitHub repository.
Intended use and limitations
For research on surgical video understanding only. The model is not a medical device and must not be used for clinical decision-making. It was trained and evaluated on a single procedure (laparoscopic cholecystectomy) with template-generated questions; behaviour on other procedures or free-form questions is untested.
License
The weights are released under CC BY-NC-SA 4.0, inherited from the Cholec80 and CholecT50 training data. The code is MIT-licensed. Use of the base model is subject to the Qwen2.5-VL-7B-Instruct license.
Citation
@inproceedings{surgqvlm2027,
title = {SurgQ-VLM: Question-Conditioned Dual-Stream Compression and
Answer-Type-Aware Reinforcement for Surgical Video Question Answering},
author = {Makwana, Dhruv and Mantravadi, Ananya},
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications
of Computer Vision (WACV)},
year = {2027},
}
Acknowledgements
This work was funded by Centific Global Solutions, which also provided the compute resources.
Model tree for dhruvmakwana/SurgQ-VLM-7B
Base model
Qwen/Qwen2.5-VL-7B-Instruct