Manuscript Offprint

arXiv:2610.22751

MedSTP: Preserving Subspace and Transition Evidence for Medical VQA Token Pruning

Mengchen Fan, Qizhen Lan, Xi Xiao, Lin Zhao, Liang He, Tianyang Wang, Xiaoqian Jiang, Pulin Che, Baocheng Geng

Abstract

Medical vision-language models (VLMs) for visual question answering (VQA) often pass long visual-token sequences to the language model, making visual-token pruning attractive but risky for medical images, where answers may depend on localized boundary and texture evidence. We study training free pre-decoding pruning and treat pruning as a subspace stable evidence preservation problem. The retained tokens should remain close to the dominant visual evidence subspace induced by the full token set. To this end, we propose Subspace-Transition Token Pruning (MedSTP), which estimates each token's spectral support from principal component space and constructs a compact representation subspace. To better reflect medical image structure, MedSTP further uses a bounded token-grid transition prior to promote boundary and texture sensitive tokens. We evaluate MedSTP on the closed-ended SLAKE and OmniMedVQA benchmarks and on RadImageNet-VQA, which provides both closed-ended and open-ended evaluations, using Lingshu-7B and Qwen3-VL-8B backbones. MedSTP delivers consistently strong performance on both the closed-ended and open-ended RadImageNet-VQA evaluations. These results show that MedSTP is an effective training free pruning framework for medical domain VQA.

1. Introduction

Medical VQA is increasingly limited by the visual token budget rather than by the question text. Modern VLMs pass long image-token sequences into the language model, and recent backbones such as Qwen3-VL make this cost central to practical inference [6]. For medical images, this pressure matters: answers may depend on small boundary or texture

Figure

Figure 1. Qualitative comparison under the same compact token budget. The dashed red circle marks the relevant abnormal region; MedSTP keeps boundary and texture evidence that generic pruning may miss.

changes, not only on the dominant anatomy [3].

Visual token pruning is the natural compression tool. In ViTs, DynamicViT and EViT remove tokens with learned predictors or class-token attention [37, 42], while Token Merging (ToMe) merges similar patches at runtime [8]. In VLMs, FastV uses early visual attention [11], SparseVLM uses text relevance [49], VisPruner and PyramidDrop target duplicate or low-utility tokens [45, 48], BTP and PruneSID add diversity or grouping control [24, 35], and TransPrune and Photon use representation transitions or instruction-conditioned scheduling [23, 34]. This line makes fixed budget pruning practical. It also leaves open what the budget should protect in medical VQA.

The open question is not whether to prune, but what a fixed budget selector should treat as evidence. Most medical token reduction so far lives in segmentation and volume understanding, where dense masks, edge-aware halting, or instruction-conditioned scheduling can exploit task structure during training [23, 25, 50]. Frozen-VLM medical VQA is more constrained: before language decoding, the selector must choose K visual tokens with no dense supervision, no task-specific retraining, and no repeated subset decoding. Under that setting, a selector driven by generic saliency or redundancy can keep the dominant anatomy and still discard boundary or texture tokens that receive lower priority under generic scoring, as illustrated in Fig. 1.

This failure mode has a representation-level reading. The full token set spans a visual evidence subspace, and the retained subset should stay close enough to it for the language model to receive the leading evidence directions. We take this subspace-stable evidence preservation as the selection target. Redundancy then becomes a budget error: a subset may keep high-energy tokens while spending most of its budget on one anatomical pattern. The harder case runs the other way. Subtle boundary and texture transitions can carry subspace support, yet a generic saliency or redundancy score may rank them below the dominant anatomy. Preserving the subspace is necessary, but a rule that scores tokens by global participation alone can still deprioritize these transitions, which can matter in medical images [3].

We propose Subspace-Transition Token Pruning (MedSTP), a training free selector for the visual tokens of a frozen VLM. MedSTP has two coupled parts. The first forms a subspace-stable subset: token-side PCA defines the visual-evidence subspace, and the retained set is built progressively by selecting, at each step, the token that adds the most previously unrepresented information to the current subspace. A short perturbation argument on the retained-token second moment matrix (Prop. 1) explains why high-participation, non-redundant tokens help keep the leading subspace stable. The second part adds local sensitivity. MedSTP reads a Sobel-style transition score from the VLM token grid [44] and applies it as a bounded multiplier on the spectral score, promoting a boundary- or texture-like token when it already carries subspace support. The bound keeps the transition term from overriding the subspace signal.

We make the following contributions:

• We cast fixed budget visual-token pruning for frozen-VLM medical VQA as subspace-stable evidence preservation: the retained tokens should keep the leading visual subspace induced by the full token set, a target we support with a perturbation argument on the retained-token second moment matrix.

• We introduce bounded token-grid transition subspace construction, which promotes boundary and texture tokens when they retain spectral support, without letting the transition term override the subspace signal.

• We realize both in MedSTP, a training free pre-decoding selector that needs no dense masks or retraining, and evaluate it on SLAKE, OmniMedVQA and RadImageNet-VQA with Lingshu-7B and Qwen3-VL-8B under matched insertion points and fixed token budgets.

References (53)