QwenVLConnector: A Fast, Unified Medical VLM Chatbot for Fine-Grained Clinical Perception and Text Generation
Authors: Le Thien Phuc Nguyen, Thien Nguyen, Thanh-Huy Nguyen, Gia Minh Hoang, Anh Mai Vu, Ulas Bagci
Organizations: University of Wisconsin - Madison, USA · University of North Carolina - Chapel Hill · Carnegie Mellon University, USA · Northwestern University, USA · Mayo Clinic, College of Medicine and Science, Scottsdale, USA · University of Houston, USA
Most medical vision-language models (VLMs) excel at open-ended report generation and VQA but provide limited support for structured, fine-grained clinical perception within a unified interface. We present QwenVLConnector, a Qwen2.5-VL-based medical chatbot that unifies classification, multi-label classification, textualized detection, counting, regression, and free-form report generation under a single next-token objective. Our key component is a lightweight dense multi-layer Connector that aggregates low- and high-level visual features, aligns them through the pretrained vision Merger, and fuses them with the final visual representation without increasing sequence length. This design enriches visual tokens with complementary spatial and semantic cues while preserving efficiency. On FLARE-2D, QwenVLConnector improves detection F1 from 0.55 to 0.85, raises single-label classification from 0.37 to 0.51, and boosts report-generation GREEN by up to 18.3 points over the Qwen2.5-VL baseline. We further explore multimodal in-context learning for report generation, showing additional improvements without updating model parameters. Overall, QwenVLConnector offers a unified and efficient framework for combining structured medical perception with open-ended clinical text generation. Our code can be found at https://github.com/plnguyen2908/QwenConnector.
Figures & tables
Figure 1: High-level architecture of QwenVLConnector. A Vision Encoder extracts features from medical images; a lightweight dense multi-layer Connector fuses low/high-level cues and projects them to the LLM without increasing sequence length. The fused visual tokens (green) are prepended to the text tokens (pink), and a decoder-only LLM performs next-token generation for every task.
Figure 2: Dense multi-layer connector in QwenVLConnector. Early and late ViT features are depth-averaged, aligned via the backbone Merger , concatenated channel-wise with the encoder output, and projected by a lightweight MLP to LLM visual tokens.
Prompt
Instruction: [Task Instruction]
User: [Demonstration 1]
Response: [Answer 1]
…
User: [Demonstration k]
Response: [Answer k]
Table 1: Prompt template with ICL mechanism.
Alignment
Instruction
FLARE tuning
Epochs
1
1
3
Learning rate
2e-3
2e-4
2e-4
Per-device batch
1
1
1
Number of devices
8
8
8
GPU type
A40
A40
A40
Training Time
3 days
7 days
1 day
Table 2: Key hyperparameters per training stage.
Model
Classification ↑
Multi-label classification ↑
4-bit QwenVL 2.5 7B [ 28 ]
0.37
0.57
8-bit QwenVL 2.5 7B [ 28 ]
0.36
0.56
16-bit QwenVL 2.5 7B [ 28 ]
0.35
0.55
4-bit QwenVLConnector 7B (Ours)
0.51
0.49
8-bit QwenVLConnector 7B (Ours)
0.46
0.53
16-bit QwenVLConnector 7B (Ours)
0.50
0.54
Table 3: Classification evaluation. The result is reported on validiation-hidden subset on Codabench. All metrics are reported as fractions in [0,1].
Model
Detection ↑
Instance Detection ↑
4-bit QwenVL 2.5 7B [ 28 ]
0.51
0
8-bit QwenVL 2.5 7B [ 28 ]
0.55
0
16-bit QwenVL 2.5 7B [ 28 ]
0.53
0
4-bit QwenVLConnector 7B (Ours)
0.76
0
8-bit QwenVLConnector 7B (Ours)
0.85
0
16-bit QwenVLConnector 7B (Ours)
0.81
0
Table 4: Detection evaluation. The result is reported on validiation-hidden subset on Codabench. All metrics are reported as fractions in [0,1].
Model
Regression ↓
Counting ↓
Report Generation ↑
4-bit QwenVL 2.5 7B [ 28 ]
15.51
287.3
65.74
8-bit QwenVL 2.5 7B [ 28 ]
15.19
276.77
55.77
16-bit QwenVL 2.5 7B [ 28 ]
15.43
268.24
74.78
4-bit QwenVLConnector 7B (Ours)
20.91
284.44
76.01
8-bit QwenVLConnector 7B (Ours)
21.13
275.81
74.05
16-bit QwenVLConnector 7B (Ours)
19.04
266.7
74.93
Table 5: Regression, Counting, and Report Generation evaluation. The result of Regression is reported on validation-hidden subset on Codabench. The result of Counting and Report Generation is reported on validation-public subset. Report Generation is reported as decimal number in [0, 100].
Figure 3: Effect of in-context learning (ICL) on QwenVLConnector for the report-generation task: BLEU, GREEN Clinical Significance, GREEN Entity Matching, and overall GREEN Score on the validation-public split. Incorporating k demonstrations consistently improves performance over no-ICL prompts.
Figure 4: Qualitative examples on Ultrasound images. Left: multiple-choice classification task. Right: lesion detection task where green is our detection, blue is ground truth, and red is QwenVL’s [ 28 ] detection.
Requirements
Answer
A meaningful title
Yes
The number of authors ( ≤ 6)
6
Author affiliations and ORCID
Yes
Corresponding author email is presented
Yes
Validation scores are presented in the abstract
Yes
Introduction includes at least three parts: background, related work, and motivation
Yes
Table 6: Checklist Table. Please fill out this checklist table in the answer column.
Medical vision--language models (VLMs) have shown strong potential for medical visual question answering (VQA), yet their reasoning remains largely text-centric: images are encoded once as static context, and subsequent inference is dominated by language. This paradigm is fundamentally limited in clinical scenarios, where accurate answers often depend on subtle, localized visual evidence that cannot be reliably preserved in static embeddings. We propose MedLVR, a latent visual reasoning framework that introduces an explicit visual evidence state into autoregressive decoding. Instead of relying solely on text-based intermediate reasoning, MedLVR interleaves a short latent reasoning segment within the decoder by reusing hidden states as continuous latent steps, enabling iterative preservation and refinement of query-relevant visual evidence before answer generation. To support effective visual supervision, we adopt a two-stage training strategy: region of interest (ROI)-supervised fine-tuning aligns latent states with clinically relevant image evidence, and Visual-Latent Policy Optimization (VLPO) further optimizes latent reasoning and answer generation under outcome-level rewards. Experiments on OmniMedVQA and five external medical VQA benchmarks show that MedLVR consistently outperforms recent reasoning baselines and improves the average score over the Qwen2.5-VL-7B backbone from 48.3% to 53.4%. These results show that latent visual reasoning provides an effective mechanism for preserving diagnostically relevant visual evidence and improving the reliability of medical VQA.
Suyang Xi, Songtao Hu, Yuxiang Lai +4
Department of Radiation Oncology and Winship Cancer Institute, Emory University School of Medicine, Atlanta, 30322, GA, USA · Department of Biostatistics and Bioinformatics, Emory University, Atlanta, 30322, GA, USA
Medical Vision-Language Models (Med-VLMs) excel at verbalizing visual content, yet precise visual perception, segmentation, and grounding remain challenging. Existing approaches either verbalize regions as coordinate strings or rely on external modules that decouple perception from understanding, creating representation gaps for region-language alignment. We present MedUP, a Med-VLM that natively unifies perception and understanding within a shared token space. At its core lies UniMedTok, a region tokenizer that encodes masks as discrete tokens in the LLM vocabulary, enabling the model to seamlessly interleave mask tokens with text. We curate UniMed-Train, a 1.84M-instance corpus spanning text-guided segmentation, region-grounded understanding, medical VQA and CoT-based segmentation, and introduce UniMed-Bench for unified evaluation. Extensive experiments show that MedUP outperforms native, agentic, and dual-decoder Med-VLMs across all tasks while remaining competitive with specialist segmentors, demonstrating the strong potential of unified understanding and perception modeling.
Large vision-language models (VLMs) often benefit from chain-of-thought (CoT) prompting in general domains, yet its efficacy in medical vision-language tasks remains underexplored. We report a counter-intuitive trend: on medical visual question answering, CoT frequently underperforms direct answering (DirA) across general-purpose and medical-specific models. We attribute this to a medical perception bottleneck: subtle, domain-specific cues can weaken visual grounding, and CoT may compound early perceptual uncertainty rather than correct it. To probe this hypothesis, we introduce two training-free, inference-time grounding interventions: (i) perception anchoring via region-of-interest cues and (ii) description grounding via high-quality textual guidance. Across multiple benchmarks and model families, these interventions improve accuracy, mitigate CoT degradation, and in several settings reverse the CoT--DirA inversion. Our findings suggest that reliable clinical VLMs require robust visual grounding and cross-modal alignment, beyond extending text-driven reasoning chains. Code is available here.
Yuan Wu, Zongxian Yang, Jiayu Qian +5
Department of Computer Science, City University of Hong Kong (Dongguan) · College of Computing and Data Science (CCDS), Nanyang Technological University · School of Computer Science, Northwestern Polytechnical University