arXiv:2610.28350cs.CVOct 2026

Manuscript Offprint

arXiv:2610.28350

Gated Prototype Transfer for Zero-Support Medical Vision Language Model

Sumaiya Fazal, Rizwan Qureshi, Laleh Behjat, Samira Ebrahimi Kahou

ABSTRACT

Realistic few-shot adaptation of medical vision-language models (VLMs) can leave low-prevalence classes without any labeled support. The training-free SS-Text+ solver remains operational in this setting, but its zero-support prototypes receive no visual adaptation and fall back to a purely textual class prototype. We introduce Gated Knowledge-Guided Prototype Transfer (GProtoT), a pre-repulsion module that transfers supported-class visual residuals to missing classes using VLM similarity and an ontology-based clinical distance. A validation-free evidence gate scales transfer based on semantic relevance and residual agreement, thereby limiting unsupported extrapolation. In 50 paired realistic one-shot trials on MESSIDOR with FLAIR features, severe and proliferative diabetic retinopathy were absent from every support set. Relative to SS-Text+, gated ProtoT improved missing-class recall by 5.23 points, average class accuracy by 1.37 points, and the missing/supported recall harmonic mean by 1.83 points. It reduced negative-transfer frequency from 46-48% for ungated transfer to 2%, while at the cost of reductions of 1.20 percentage points in supported-class recall and 0.45 percentage points in top-1 accuracy. These results identify that evidence-based gating provides a safety mechanism for the knowledge source. GProtoT is based on SS-Text+ and requires no gradients, validation data, or additional model inference, offering a low-compute path toward accountable adaptation under incomplete clinical supervision. Code is available: https://github.com/sumaiyaafridi/GProtoT

1 INTRODUCTION

Medical VLMs provide transferable representations and text-derived class prototypes, making black-box few-shot adaptation possible without updating a large encoder (Shakeri et al., 2024). Yet the conventional balanced K-shot protocol is poorly aligned with disease prevalence. Common findings may appear repeatedly while rare or severe categories receive no labeled examples, and aggregate accuracy can then remain high even when clinically important categories are unrecognized.

Silva-Rodríguez et al. (2025a) introduced SS-Text+, a closed-form text-based linear probe to formalize realistic, imbalanced, validation-free adaptation. For a class with no support, SS-Text+ correctly retains its text prototype rather than fitting an undefined visual evidence. This behavior is robust, but limited-supported classes become task-adapted while a missing class remains purely zero-shot. An alternate method is to borrow a related supported prototype. Our experiments show that borrowing a related supported prototype strategy is unsafe and, due to ungated VLM and ontology-guided transfer, reduced balanced performance and missing-class recall is nearly half of support trials.

We therefore ask whether cross-class transfer can improve a zero-support prototype without turning external knowledge into a source of negative transfer? We propose evidence-based GProtoT, a training-free module applied after SS-Text+ forms class prototypes and before its standard repulsion

∗^{*}Corresponding author.

step. The main formulation transfers visual residuals, preserving the missing class's text semantics, and the evidence-based gate shrinks the update when semantic relevance or source agreement is weak. Our contributions are:

• a non-recursive residual-transfer rule that employs only originally supported classes

• a VLM, ontology, and hybrid neighbor construction with a validation-free evidence-based gate

• a paired safety evaluation that reports missing-class recall, supported-class recall, their harmonic mean, and negative-transfer frequency, not only overall accuracy