File size: 12,023 Bytes
692b7d9 49637ff 692b7d9 b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff b896ef5 49637ff |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
---
license: mit
library_name: transformers
pipeline_tag: image-text-to-text
tags:
- medical
- multimodal
- clinical-diagnosis
- clinical-reasoning
- multi-turn
- consultation
- medical-images
- report-generation
- reinforcement-learning
- preference-optimization
---
<p align="center">
<a href="https://huggingface.co/AQ-MedAI/PulseMind-72B" target="_blank" rel="noopener">🤖 PulseMind-72B Model</a>
<a href="https://github.com/AQ-MedAI/PulseMind" target="_blank" rel="noopener">Code & Eval</a>
<a href="https://arxiv.org/abs/2601.07344" target="_blank" rel="noopener">Technical Report</a>
</p>
# *PulseMind-72B* - Multimodal Large Language Model for Real-World Clinical Diagnosis
# <strong style="color: red">BIG NEWS: <a href="https://huggingface.co/AQ-MedAI/PulseMind-72B" target="_blank" rel="noopener">PulseMind-72B</a> is released for real-world multi-turn clinical diagnosis with state-of-the-art performance on diagnostic consultation benchmarks.</strong>
This repository contains the **PulseMind-72B** model from the paper
<a href="https://arxiv.org/abs/2601.07344" target="_blank" rel="noopener"><i>PulseMind: A Multi-Modal Medical Model for Real-World Clinical Diagnosis</i></a>.
---
## Highlights
* **Real-world clinical diagnosis focus**: Designed for **multi-turn diagnostic consultation** where models must integrate **medical images + textual clinical context** and maintain evolving patient–physician interaction.
* **PulseMind Benchmark**: Evaluated using a **multi-turn diagnostic consultation benchmark**.
* **MediScope dataset**: Trained and studied with **MediScope**, a large-scale multimodal clinical diagnostic dataset consisting of **98,000** real-world multi-turn consultations and **601,500** medical images spanning **10+** major clinical departments and **200+** sub-specialties.
* **Strong overall performance**: Demonstrates competitive results on both the diagnostic consultation benchmark and public medical benchmarks (see paper for full results).
---
## Release
- **Technical report**:
- <a href="https://arxiv.org/abs/2601.07344" target="_blank" rel="noopener">arXiv: PulseMind: A Multi-Modal Medical Model for Real-World Clinical Diagnosis</a>
- **Model weights**:
- <a href="https://huggingface.co/AQ-MedAI/PulseMind-72B" target="_blank" rel="noopener">PulseMind-72B</a>
> **Note on data & checkpoints**:
> Due to size and privacy considerations, datasets and some checkpoints may be hosted externally.
> Please refer to the HuggingFace model card / GitHub repository for official download instructions and evaluation scripts.
---
## Disclaimer
> **Disclaimer**:
> Even though the weights, codes, and demos are released openly (similar to other pre-trained models), and despite best efforts in safety evaluation and alignment, **PulseMind-72B may generate inaccurate, misleading, or potentially harmful medical content**.
> It is intended for **research and assistive use** only and must **not** be used as a substitute for professional medical advice, diagnosis, or treatment.
> Developers and stakeholders should conduct their own red-teaming, deploy appropriate safeguards, and comply with all applicable laws and regulations.
> In no event shall the authors be held liable for any claim, damages, or other liability arising from the use of the released weights, codes, or demos.
## Evaluation
### Clinical Consultation Dialogue Benchmark(PulseMind Benchmark)
<p align="center">
<img src="PulseMind_show.png" width="800" />
</p>
### Medical Multimodal VQA
<table>
<thead>
<tr>
<th>Models</th>
<th>MMMU-Med</th>
<th>VQA-RAD</th>
<th>PMC-VQA</th>
<th>SLAKE</th>
<th>PathVQA</th>
<th>DermaVQA</th>
<th>MedXpertQA</th>
<th>Avg.</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="9" style="text-align:center;"><strong>Proprietary Models</strong></td>
</tr>
<tr>
<td>GPT-4o</td>
<td>57.3</td>
<td>71.2</td>
<td>55.2</td>
<td>67.4</td>
<td>55.5</td>
<td>35.0</td>
<td>22.3</td>
<td>52.0</td>
</tr>
<tr>
<td>o1</td>
<td>57.8</td>
<td>63.0</td>
<td>54.5</td>
<td>69.9</td>
<td>57.3</td>
<td>43.0</td>
<td>49.7</td>
<td>56.5</td>
</tr>
<tr>
<td>Gemini-2.5-Pro</td>
<td>49.3</td>
<td>70.5</td>
<td>55.5</td>
<td>75.8</td>
<td>55.4</td>
<td>39.0</td>
<td>39.5</td>
<td>55.0</td>
</tr>
<tr>
<td colspan="9" style="text-align:center;"><strong>Open-source Models (≈72B)</strong></td>
</tr>
<tr>
<td>InternVL3-78B</td>
<td><u>69.1</u></td>
<td>73.6</td>
<td>56.6</td>
<td>77.4</td>
<td><u>51.0</u></td>
<td><u>37.0</u></td>
<td>27.4</td>
<td><u>56.1</u></td>
</tr>
<tr>
<td>Qwen2.5VL-72B</td>
<td>66.4</td>
<td><u>80.3</u></td>
<td><u>59.3</u></td>
<td><u>78.3</u></td>
<td>42.3</td>
<td>34.0</td>
<td><u>27.6</u></td>
<td>55.5</td>
</tr>
<tr>
<td><strong>PulseMind-72B</strong></td>
<td><strong>69.4</strong></td>
<td><strong>87.1</strong></td>
<td><strong>70.3</strong></td>
<td><strong>85.6</strong></td>
<td><strong>64.9</strong></td>
<td><strong>42.0</strong></td>
<td><strong>36.7</strong></td>
<td><strong>65.1</strong></td>
</tr>
<tr>
<td colspan="9" style="text-align:center;"><strong>Open-source Models (≈32B)</strong></td>
</tr>
<tr>
<td>InternVL3-38B</td>
<td><strong>65.2</strong></td>
<td>65.4</td>
<td>56.6</td>
<td>72.7</td>
<td>51.0</td>
<td><u>31.0</u></td>
<td>25.2</td>
<td>52.4</td>
</tr>
<tr>
<td>Qwen2.5VL-32B</td>
<td>62.8</td>
<td>73.8</td>
<td>54.5</td>
<td>71.2</td>
<td>41.9</td>
<td>25.0</td>
<td>25.2</td>
<td>50.6</td>
</tr>
<tr>
<td>LLAVA-med-34B</td>
<td>48.9</td>
<td>58.6</td>
<td>44.4</td>
<td>67.3</td>
<td>48.8</td>
<td>13.0</td>
<td>16.4</td>
<td>42.5</td>
</tr>
<tr>
<td>HuatuoGPT-vision-34B</td>
<td>54.3</td>
<td>61.4</td>
<td>56.6</td>
<td>69.5</td>
<td>44.4</td>
<td>21.0</td>
<td>17.3</td>
<td>46.4</td>
</tr>
<tr>
<td>Lingshu-32B</td>
<td>62.3</td>
<td><u>76.5</u></td>
<td><u>57.9</u></td>
<td><strong>89.2</strong></td>
<td><strong>65.9</strong></td>
<td>17.0</td>
<td><strong>30.9</strong></td>
<td><u>57.1</u></td>
</tr>
<tr>
<td><strong>PulseMind-32B</strong></td>
<td><u>64.6</u></td>
<td><strong>83.2</strong></td>
<td><strong>68.1</strong></td>
<td><u>81.5</u></td>
<td><u>62.0</u></td>
<td><strong>32.0</strong></td>
<td><u>29.6</u></td>
<td><strong>60.1</strong></td>
</tr>
</tbody>
</table>
### Medical Textual QA
<table>
<thead>
<tr>
<th>Models</th>
<th>MMLU-Med</th>
<th>MedMCQA</th>
<th>MedQA</th>
<th>MedXpertQA</th>
<th>Avg.</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="9" style="text-align:center;"><strong>Proprietary Models</strong></td>
</tr>
<tr>
<td>GPT-4o</td>
<td>88.7</td>
<td>73.5</td>
<td>55.7</td>
<td>22.5</td>
<td>60.1</td>
</tr>
<tr>
<td>o1</td>
<td>91.6</td>
<td>82.7</td>
<td>86.6</td>
<td>48.9</td>
<td>77.5</td>
</tr>
<tr>
<td>Gemini-2.5-Pro</td>
<td>89.8</td>
<td>68.6</td>
<td>85.6</td>
<td>24.3</td>
<td>67.1</td>
</tr>
<tr>
<td colspan="9" style="text-align:center;"><strong>Open-source Models (≈72B)</strong></td>
</tr>
<tr>
<td>InternVL3-78B</td>
<td>83.0</td>
<td>66.1</td>
<td><u>93.3</u></td>
<td><u>18.5</u></td>
<td>65.2</td>
</tr>
<tr>
<td>Qwen2.5VL-72B</td>
<td><u>88.3</u></td>
<td><u>67.2</u></td>
<td>91.3</td>
<td>16.1</td>
<td><u>65.7</u></td>
</tr>
<tr>
<td><strong>PulseMind-72B</strong></td>
<td><strong>88.7</strong></td>
<td><strong>71.3</strong></td>
<td><strong>94.8</strong></td>
<td><strong>29.8</strong></td>
<td><strong>71.2</strong></td>
</tr>
<tr>
<td colspan="9" style="text-align:center;"><strong>Open-source Models (>10B)</strong></td>
</tr>
<tr>
<td>InternVL3-38B</td>
<td>82.8</td>
<td>64.9</td>
<td>73.5</td>
<td>16.0</td>
<td>59.3</td>
</tr>
<tr>
<td>Qwen2.5VL-32B</td>
<td>83.2</td>
<td>63.0</td>
<td>71.6</td>
<td>15.6</td>
<td>58.4</td>
</tr>
<tr>
<td>LLAVA-med-34B</td>
<td>74.7</td>
<td>52.2</td>
<td>63.5</td>
<td>14.1</td>
<td>51.1</td>
</tr>
<tr>
<td>HuatuoGPT-vision-34B</td>
<td>80.8</td>
<td>63.6</td>
<td>57.4</td>
<td>16.0</td>
<td>54.5</td>
</tr>
<tr>
<td>Lingshu-32B</td>
<td><u>84.7</u></td>
<td><u>66.1</u></td>
<td><u>74.7</u></td>
<td><strong>22.7</strong></td>
<td><u>62.1</u></td>
</tr>
<tr>
<td><strong>PulseMind-32B</strong></td>
<td><strong>85.6</strong></td>
<td><strong>66.4</strong></td>
<td><strong>92.9</strong></td>
<td><u>21.5</u></td>
<td><strong>66.6</strong></td>
</tr>
</tbody>
</table>
### Usage
```python
from vllm import LLM, SamplingParams
from transformers import AutoProcessor
from qwen_vl_utils import process_vision_info
import PIL.Image as Image
MODEL_ID = "AQ-MedAI/PulseMind-72B"
# Load processor
processor = AutoProcessor.from_pretrained(MODEL_ID)
# Load vLLM engine
llm = LLM(
model=MODEL_ID,
limit_mm_per_prompt={"image": 4},
tensor_parallel_size=2,
enforce_eager=True,
trust_remote_code=True,
)
sampling_params = SamplingParams(
temperature=0.1,
top_k=1,
top_p=0.001,
repetition_penalty=1.05,
max_tokens=2048,
stop_token_ids=[],
)
# Example input
image = Image.open("example.png")
text = "Describe the image and provide relevant clinical observations."
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": image},
{"type": "text", "text": text},
],
}
]
# Build prompt & multimodal inputs
prompt = processor.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
image_inputs, video_inputs = process_vision_info(messages)
mm_data = {}
if image_inputs is not None:
mm_data["image"] = image_inputs
if video_inputs is not None:
mm_data["video"] = video_inputs
outputs = llm.generate(
[{"prompt": prompt, "multi_modal_data": mm_data}],
sampling_params=sampling_params,
)
print(outputs[0].outputs[0].text)
```
Evaluation Scripts (Full Paths)
For complete evaluation pipelines, please refer to:
<p align="left">
<a href="https://github.com/AQ-MedAI/PulseMind/blob/main/Benchmark/Eval/test-CMtMedQA.py" target="_blank" rel="noopener">test-CMtMedQA</a>
<a href="https://github.com/AQ-MedAI/PulseMind/blob/main/Benchmark/Eval/test-MedDiagnose.py" target="_blank" rel="noopener">test-MedDiagnose</a>
</p>
## Citation
If you find our project useful, we hope you would kindly star our repo and cite our work as follows:
```
@article{xu2026pulsemind,
title={PulseMind: A Multi-Modal Medical Model for Real-World Clinical Diagnosis},
author={Xu, Jiao and Liu, Junwei and Lao, Jiangwei and Zhu, Qi and Zhao, Yunpeng and Jin, Congyun and Liu, Shinan and Lu, Zhihong and Zhang, Lihe and Chen, Xin and others},
journal={arXiv preprint arXiv:2601.07344},
year={2026}
}
``` |