arXiv:2609.04336cs.CLSep 2026

Manuscript Offprint

arXiv:2609.04336

MedProb: Probing Internal Representations of Vision-Language Models for Medical Question Answering

Erfan Nourbakhsh, Ke Yang, Anthony Rios

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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. Code is available here: https://github.com/erfan-nourbakhsh/MedProb

1 Introduction

Medical visual question answering (Med-VQA) asks models to answer clinical questions about medical images. Med-VQA is widely used to evaluate vision-language models (VLMs) in medical settings (OpenAI et al., 2023; Lu et al., 2024; Chen et al., 2024c) because clinical AI systems must connect visual evidence with medical language (Fries et al., 2022; Moor et al., 2023a). Recent work often improves Med-VQA by adding more resources to the model or inference pipeline. This includes

Figure

Figure 1: Prior methods (left) give a medical image and question to a VLM or multi-agent system, which then generates a free-text answer. This can lead to unsupported clinical reasoning. MedProb (right) uses the same input, but keeps the VLM frozen, extracts hidden representations from each layer, and predicts the multiple-choice answer with a linear classifier.

domain-adaptive pretraining on biomedical image-text data (Gururangan et al., 2020; Chen et al., 2024a; Xie et al., 2024; Wu et al., 2025), multi-agent systems (Kim et al., 2024; Li et al., 2024), tool-augmented pipelines (Fallahpour et al., 2025), retrieval-augmented generation (Nourbakhsh et al., 2026) and large closed-source models that are costly and difficult to inspect in privacy-sensitive clinical settings (Marks and Haupt, 2023; Sellergren et al., 2026). These approaches differ in architecture and training, but they often share a common assumption that better Med-VQA requires larger models, more medical adaptation, or more complex inference.

We ask the question, when a VLM gives the wrong answer, is the answer-relevant “signal” absent from its internal representations, or is it present but not reflected in the generated answer? Current Med-VQA benchmarks usually evaluate models through free-text generation, which mixes several factors, including what the model represents in their internal features, how the prompt is written, how answer options are ordered, and how the model expresses its answer in language. A model may represent useful information about a medical image but still choose the wrong answer because the prompt is brittle, the answer options appear in a different order, or the generated explanation introduces unsupported reasoning.

This distinction matters for how we interpret model scale and medical adaptation. Under prompting, large VLMs often appear much stronger than small VLMs, and medically adapted models may appear stronger than their general-purpose bases. However, part of these gaps may reflect differences in generation behavior rather than differences in the answer-relevant information available in the hidden states. Prior work supports this concern. Medically adapted models do not always outperform general-domain models under controlled prompting (Jeong et al., 2024), clinical fine-tuning does not always make knowledge more accessible (Zhao et al., 2025), and generalist VLMs can match or outperform specialist medical models on clinical tasks (Zhong et al., 2026). Prompting itself is also unstable, with semantically equivalent prompts changing accuracy by up to 76 points (Sclar et al., 2024).

We address this gap with MedProb (Figure 1), a lightweight probing framework for Med-VQA. MedProb freezes the VLM, extracts hidden representations from each transformer layer, and trains a linear classifier to predict the correct multiple-choice answer. MedProb is not intended to replace clinical reasoning systems or provide a fully supervised Med-VQA solution. Instead, it tests whether answer-relevant information is linearly recoverable from frozen VLM representations, separate from the difficulties introduced by free-text generation. Our contribution is empirical and diagnostic rather than algorithmic: MedProb applies standard linear probing to frozen medical and general-purpose VLMs to measure how much of the closed-ended Med-VQA answer signal is linearly recoverable from their internal representations.

Across PATH-VQA, SLAKE, and VQA-RAD, MedProb recovers substantially more answer-relevant signal than prompting. It also achieves competitive or higher closed-ended accuracy than several generation-based systems, including medically fine-tuned VLMs and multi-agent methods. We further find that the gap between small and large models is much smaller under probing than under prompting, suggesting that generation-based evaluation can underestimate the answer-relevant signal present in smaller models. Across 14 matched general-purpose and medically adapted VLM pairs, medical adaptation does not consistently improve the linear decodability of Med-VQA answer signal. Finally, free-text generation exhibits an answer-position bias of up to 10 percentage points, whereas MedProb is more stable under option reordering.

Our main contributions are as follows:

• We propose MedProb, a lightweight linear-probing framework that predicts multiple-choice Med-VQA answers from frozen VLM representations, separating linearly decodable answer signal from free-text generation.

• We show that generation-based evaluation can underestimate the answer-relevant signal in VLM representations. Across three Med-VQA benchmarks, MedProb recovers substantially more task-relevant signal than prompting, and the small-versus-large model gap is much smaller under probing.

• We analyze two evaluation confounds, domain adaptation and answer-option position. Across 14 matched model pairs, medical adaptation does not consistently improve the linear decodability of Med-VQA answer signal, and prompting accuracy changes by up to 10 percentage points depending on answer placement.