MedProb: Probing Internal Representations of Vision-Language Models for Medical Question Answering
Organizations: The University of Texas at San Antonio
Abstract
Medical visual question answering (Med-VQA) is often assumed to require medical fine-tuning, large models, or complex multi-agent pipelines. We revisit this assumption with MedProb, a lightweight probing framework that predicts multiple-choice Med-VQA answers from frozen VLM representations without free-text generation. Across PATH-VQA, SLAKE, and VQA-RAD, MedProb recovers substantially more answer-relevant signal than prompting and performs stronger than medical VLMs and agentic systems. Probing also reduces the apparent gap between small and large models compared to prompting, suggesting that smaller VLMs contain more recoverable Med-VQA signal than generation-based evaluation reveals. Across 14 matched general-purpose and medical VLM pairs, medical adaptation does not consistently improve this linear decodability. Finally, free-text generation exhibits an answer-position bias of up to 10 percentage points, whereas MedProb also has positional bias, however, it is impacted differently than prompting. Our main results target the multiple-choice/multiclass Med-VQA setting; we additionally show the probe can be extended to open-ended generation via a rejection-sampling scoring procedure.
Figures & tables
| Model | Method | PATH-VQA | SLAKE | VQA-RAD | Average | ||||
| F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | ||
| MAM Zhou et al. (2025) | Agentic | 51.85 | 51.80 | 39.92 | 59.51 | 39.31 | 59.31 | 39.62 | 56.87 |
| MMedAgent Li et al. (2024) | Agentic | 36.11 | 37.00 | 28.30 | 43.13 | 59.80 | 58.17 | 41.40 | 46.10 |
| UCAgents Feng et al. (2025) | Agentic | 60.55 | 61.19 | 78.09 | 77.10 | 64.17 | 71.10 | 62.36 | 69.80 |
| HuatuoGPT-Vision-34B Chen et al. (2024a) | Medical VLM | 60.61 | 61.80 | 77.89 | 76.86 | 83.57 | 75.66 | 74.02 | 71.44 |
| Aloe-Vision-72B-AR Guasch-Martí et al. (2026) | Medical VLM | 67.70 | 69.20 | 86.80 | 80.24 | 75.73 | 79.46 | 76.74 | 76.30 |
| General Model | Medical Model | |
| Gemma-4B | MedGemma-4B | 4.92 |
| Gemma-27B | MedGemma-27B | 0.95 |
| Open-Flamingo-9B | Med-Flamingo-9B | 1.93 |
| InternVL3-1B | BioMed-InternVL3-1B | 2.36 |
| LLaVA-7B | LLaVA-Med-7B | 0.17 |
| LLaMA3.2-11B-Vision | BioMed-LLaMA3.2-11B | 2.30 |
| Model | Method | SLAKE | VQA-RAD |
| Llama-3.2-11B-Vision | MedProb | 82.4 | 76.0 |
| Text-only (image-ablated) | 67.2 | 68.4 | |
| Image-shuffled | 66.5 | 65.8 | |
| Qwen3-VL-8B | MedProb | 84.1 | 75.3 |
| Text-only (image-ablated) | 67.7 | 68.4 | |
| Image-shuffled | 65.8 | 69.1 |
Appendix figures & tables42 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Split | Size | Yes/No | Multiple Choice |
| VQA-RAD | Train | 820 | 753 | 67 |
| Validation | 205 | 187 | 18 | |
| Test | 272 | 251 | 21 | |
| Total | 1297 | 1191 | 106 | |
| PATH-VQA | Train | 9804 | 9804 | 0 |
| Validation | 3135 | 3135 | 0 |
| Model Name | HF Link |
| HuatuoGPT-Vision-34B | Link |
| Aloe-Vision-72B-AR | Link |
| InfiMed-RL-3B | Link |
| UniMedVL-14B | Link |
| Gemma-3-4B-IT | Link |
| Gemma-3-27B-IT | Link |
| General Model | Medical Model | Medical Training Datasets |
| Gemma (4B, 27B) Team et al. (2025) | MedGemma (4B, 27B) Sellergren et al. (2026) | MIMIC-CXR, CT-US1, MRI-US1, PMC-OA, EyePACS, PAD-UFES-20, Digital Knee X-ray, internal histopathology ( 32.55M patches), internal dermatology (51K images), SLAKE, VQA-RAD. |
| LLaVA-V0-7B Liu et al. (2023) | LLaVA-Med-7B Li et al. (2023) | PMC-15M (600K caption pairs; 60K GPT-4 instruction pairs across CXR, CT, MRI, histopathology, and gross pathology). |
| OpenFlamingo-9B Awadalla et al. (2023) | Med-Flamingo-9B Moor et al. (2023b) | Medical Textbook dataset (MTB; 0.8M images), PMC-OA (1.3M pairs). |
| InternVL3-1B Zhu et al. (2025) | BioMed-InternVL3-1B Cheng et al. (2025) | PubMedVision/PMCRefined (500K caption pairs), 144K synthetic visual instruction tasks. |
| Llama-3.2-11B Vision Grattafiori et al. (2024) | BioMed-Llama-3.2-11B Cheng et al. (2025) | PubMedVision/PMCRefined (500K caption pairs), 144K synthetic visual instruction tasks. |
| Qwen2-VL-2B Wang et al. (2024) | BioMed-Qwen2-VL-2B Cheng et al. (2025) | PubMedVision/PMCRefined (500K caption pairs), 144K synthetic visual instruction tasks. |
| Category | Model | System Prompt | Prompt Format | Sampling |
| General Models | Gemma (4B, 27B) Team et al. (2025) | ✗ | ✗ | ⚫ |
| LLaVA-V0-7B Liu et al. (2023) | ⚫ | ⚫ | ⚫ | |
| OpenFlamingo-9B Awadalla et al. (2023) | ✗ | ✗ | ✗ | |
| InternVL3-1B Zhu et al. (2025) | ✗ | ✓ | ⚫ | |
| Llama-3.2-11B-Vision Grattafiori et al. (2024) | ✗ | ⚫ | ✗ | |
| Qwen3-VL (2B, 4B, 8B, 30B) Bai et al. (2025a) | ✗ | ✓ | ✓ |
| Model | Shot | PATH | SLAKE | RAD | Avg. |
| InternVL3-1B | 3 | 58.20 | 66.99 | 68.82 | 64.67 |
| 0 | 62.80 | 75.66 | 65.02 | 67.83 | |
| BioMed-Qwen2-VL-2B | 3 | 37.20 | 41.93 | 12.17 | 30.43 |
| 0 | 56.20 | 63.62 | 65.02 | 61.61 | |
| Qwen3-VL-2B | 3 | 57.20 | 74.22 | 65.02 | 65.48 |
| 0 | 56.80 | 77.83 | 64.64 | 66.42 |
| Model | Method | PVQ | SLK | RAD | Avg. |
| LLaVA-V0-7B | Free-text | 49.6 | 45.5 | 42.6 | 45.9 |
| Opt.-likeli. | 45.8 | 53.7 | 56.2 | 51.9 | |
| Probing | 84.6 | 68.0 | 66.9 | 73.2 | |
| Llama-3.2-11B | Free-text | 59.8 | 69.9 | 66.5 | 65.4 |
| Opt.-likeli. | 62.2 | 72.8 | 72.1 | 69.0 | |
| Probing | 86.2 | 82.4 | 75.4 | 81.3 |
| Model | Dataset | 95% CI | ||
| LLaVA-V0-7B | PATH-VQA | |||
| SLAKE | ||||
| VQA-RAD | ||||
| Llama-3.2-11B | PATH-VQA | |||
| SLAKE | ||||
| VQA-RAD |
| Model | Train Dataset | PATH-VQA | SLAKE | VQA-RAD |
| InternVL3-1B | OmniMedVQA | 55.40 | 72.29 | 61.60 |
| PATH-VQA | 82.20 | 57.35 | 57.41 | |
| SLAKE | 63.00 | 83.13 | 58.94 | |
| VQA-RAD | 61.40 | 75.18 | 72.62 | |
| LLaVA-V0-7B | OmniMedVQA | 53.60 | 51.08 | 53.61 |
| PATH-VQA | 84.60 | 53.49 | 55.13 |
| Model | Method | PATH-VQA | SLAKE Binary | VQA-RAD Binary |
| Uniform random | — | 50.00 | 50.00 | 50.00 |
| InternVL3-1B | Prompting | 62.80 | 78.31 | 62.55 |
| MedProb | 82.20 | 85.35 | 70.52 | |
| Qwen3-VL-8B | Prompting | 59.00 | 78.31 | 69.72 |
| MedProb | 86.20 | 86.48 | 75.30 | |
| MedVLThinker-3B | Prompting | 59.60 | 65.35 | 69.72 |
| Model | Uniform | Prompting | MedProb |
| InternVL3-1B | 25.00 | 67.75 | 71.75 |
| Qwen3-VL-8B | 25.00 | 61.75 | 80.75 |
| MedVLThinker-3B | 25.00 | 63.50 | 67.50 |
| Model | Rejection- sampling probe (ours) | Without probe (baseline) | Oracle (select correct candidate) |
| Qwen2.5-VL-7B-Instruct | 0.13 | 0.09 | 0.19 |
| Llama-3.2-11B-Vision-Instruct | 0.19 | 0.15 | 0.27 |
| Model | Dataset | Last-10 (mean std) | Last-10 range | Prompting |
| Qwen2.5-VL-7B | PATH-VQA | 82.06 0.70 | 80.40–82.80 | 62.40 |
| SLAKE | 80.96 1.06 | 79.28–82.89 | 73.01 | |
| VQA-RAD | 75.82 1.79 | 72.24–77.57 | 71.10 | |
| MedVLThinker-7B | PATH-VQA | 82.78 1.10 | 81.00–84.40 | 64.60 |
| SLAKE | 77.06 1.27 | 75.66–79.76 | 65.78 | |
| VQA-RAD | 73.95 1.18 | 71.86–75.67 | 65.78 |
| Ex. | Modality / Task | GT | Prompt | Probe | Failure Pattern |
| E-1 | Histopathology (soft-tissue mass classification) | B (No) | A | B ✓ | Hallucinated pathology narrative |
| E-2 | Brain MRI (imaging modality identification) | B (No) | A | B ✓ | Correct rule, misapplied context |
| Ex. | Modality / Task | GT | Prompt | Probe | Failure Pattern |
| E-3 | Brain MRI (ring-enhancement pattern detection) | A (Yes) | B | B | Subtle spatial pattern beyond model’s resolution |
| E-4 | Gross pathology (bowel wall skip-lesion detection) | B (No) | A | A | Fine-grained structural discrimination failure |
| Ex. | Modality / Task | GT | Prompt | Probe | Failure Pattern |
| E-5 | Lung histology (coarse tissue category recognition) | A (Yes) | A ✓ | B | Direct semantic label, probe misses coarse class |
| E-6 | Gross pathology (cardiac CHF classification) | A (Yes) | A ✓ | B | Compositional clinical reasoning required |
| Cat. | Ex. | GT | Prompt | Probe | Key Failure Mode |
| P M | E-1 | B | A | ✓ B | Hallucinated pathology narrative |
| E-2 | B | A | ✓ B | Textbook rule misapplied | |
| Both | E-3 | A | B | B | Ring-enhancement too subtle |
| E-4 | B | A | A | Bowel skip-lesion ambiguity | |
| M P | E-5 | A | ✓ A | B | Coarse semantic label inaccessible to probe |
| E-6 | A | ✓ A | B | CHF requires compositional reasoning |
| Model | Approach | Modality | ||||||||
| CT | Dermoscopy | Fundus Photography | Microscopy Images | MRI | OCT | Ultrasound | X-Ray | Average | ||
| Open-Flamingo-9B | Prompting | 18.0 | 26.0 | 36.0 | 30.0 | 26.0 | 26.0 | 24.0 | 40.0 | 28.0 |
| Probing | 62.0 | 58.0 | 76.0 | 56.0 | 60.0 | 66.0 | 82.0 | 64.0 | 66.0 | |
| Med-Flamingo-9B | Prompting | 26.0 | 20.0 | 28.0 | 36.0 | 40.0 | 38.0 | 40.0 | 36.0 | 33.0 |
| Probing | 80.0 | 64.0 | 80.0 | 60.0 | 64.0 | 76.0 | 76.0 | 72.0 | 72.0 | |
| InternVL3-1B | Prompting | 62.0 | 70.0 | 68.0 | 74.0 | 74.0 | 46.0 | 76.0 | 72.0 | 68.0 |
| Model | Log. Acc. | MLP Acc. | Log. F1 | MLP F1 |
| Llama-3.2-11B-Vision | 81.3 | 80.9 | 85.9 | 81.1 |
| Qwen3-VL-8B | 81.4 | 81.6 | 82.3 | 71.3 |
| Model | Acc. | Macro-F1 | Best Layers |
| LLaVA-V0-7B | 18 / 16 / 27 | ||
| Llama-3.2-11B-Vision | 20 / 13 / 23 | ||
| Qwen3-VL-8B | 21 / 25 / 23 |
| Method | PATH-VQA | SLAKE | VQA-RAD | Avg. |
| Prompting | 36.40 | 63.13 | 54.37 | 51.30 |
| MedProb | 85.00 | 83.37 | 81.37 | 83.25 |