arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.32478

PathJev: Decision-Native Vision-Language Modelling for Histopathology

Cristian Tommasino, Antonio M. Rinaldi

Abstract

Vision-language models used for decisions in histopathology rarely return calibrated probabilities over the candidates a user cares about. Decision-native models write a question and a candidate set chosen at run time into the input and return a normalised distribution from a small decision head in one forward pass. We build PathJev-P, a decision-native model for histopathology: MedGemma-1.5-4B with LoRA adapters and a decision head, trained on 40,000 patch states from three public collections whose expert labels are turned into typed questions with organ-specific candidate sets and a “none of these” option. In a comparison over 3 seeds with an analysis plan fixed before testing, on test sets without documented overlap with the training data of the backbone, PathJev-P is more accurate than a generative model trained with the same backbone, data and selection rule, the zero-shot pathology model CONCH and a general medical decision model (balanced accuracy 0.541 against 0.492, 0.345 and 0.213); its advantage over the generative model comes from two organs absent from training. The calibration advantage depends on how the generative model’s probabilities are read out. With the summed candidate log-likelihood used in previous work, PathJev-P has the lower calibration error (ECE 0.204 against 0.279); with a length-normalised read-out of the same generative model, examined post hoc, the two have similar mean calibration error (0.201) and the generative model is better calibrated on the unseen organs, where PathJev-P remains over-confident. A supervised linear probe on a pathology foundation model is better calibrated in every setting. In a qualitative whole-slide demonstration, PathJev-P labels unsupervised tissue clusters with abstention and separates carcinoma from other tissue while running the model on a fraction of the tiles.

1 Introduction

Most uses of a vision-language model in pathology end in a decision: which tissue is this, is carcinoma present, which grade, which of these regions needs a closer look. What a downstream rule needs from the model is a probability distribution over the candidates the user cares about, including the option that none of them applies, and probabilities that can be trusted when the tissue comes from an organ or a laboratory the model has not seen. Contrastive pathology models return similarity scores whose scale is arbitrary [1], and generative assistants return free text whose confidence is a token probability [2]; calibration studies of medical vision-language models find the problem particularly severe in pathology [3, 4]. The need is sharpest in whole-slide analysis, where unsupervised tissue clusters are still named by hand [5] or with uncalibrated keyword scores [6].

Decision-native, or “System One”, models offer a different output channel [7]: the question and a candidate set chosen at run time are written into the input, and a small decision head returns a normalised distribution over the candidates in one forward pass. The idea has spread quickly to general benchmarks, multimodal models and medical imaging [8–10], but three questions matter for pathology and remain open. Does decision-native training carry over to histology, where the vocabulary is organ-specific and the morphology is unlike that of other medical images, and does it generalise to organs absent from training? Are the calibration gains reported over generative models a property of the decision head, or of the way generative probabilities are reconstructed for the comparison? And can such a model name tissue clusters in whole slides, abstaining when it is unsure?

We address these questions with PathJev-P, a decision-native model for histopathology built on MedGemma-1.5-4B [11]. We turn the expert labels of three public collections into 40,000 patch states with typed questions (one of K classes, yes or no, ordered levels), organ-specific candidate sets and a “none of these” option, and we evaluate on breast and prostate sets from the training sources and on liver and stomach, two organs absent from training, chosen to have no documented overlap with the backbone’s training data. The comparison includes a generative model trained on the same states with the same backbone, zero-shot pathology vision–language models, a general medical decision model and a supervised probe on a pathology foundation model, with an analysis plan fixed before testing.

PathJev-P is more accurate than the generative model, the zero-shot models and the general medical decision model, and its advantage over the generative model lies almost entirely on the new organs. Its calibration advantage, in contrast, depends on the comparator's read-out: it holds when the generative model's candidate probabilities are computed from summed log-likelihoods, as in previous work, but not when the same log-likelihoods are normalised by length. On new organs PathJev-P remains over-confident, and a supervised linear probe is better calibrated in every setting and far more accurate when given labels from the test domain. In a whole-slide demonstration, PathJev-P labels unsupervised tissue clusters with abstention while running on a fraction of the tiles.

References (35)