Manuscript Offprint

arXiv:2608.25148

Can You Trust Frozen Hematology Foundation Models under Acquisition Shift?

Jai Kumar Sharma, Peeyush Tapadiya

Jai Kumar Sharma 1^{1} and Peeyush Tapadiya 2^{2}

1^{1} Virginia Tech

jaisharma@vt.edu

2^{2} Accenture

peeyush.tapadiya@accenture.com

Abstract. Frozen hematology foundation-model (FM) embeddings reach near-saturated in-domain white-blood-cell (WBC) accuracy, but clinical deployment demands reliability across scanners, sites, stains and preparation pipelines. We audit 15 frozen encoders (hematology, pathology, and general vision encoders) across four public single-cell acquisition domains along two axes: accuracy robustness and calibration. In-domain linear-probe macro-F1 is saturated (0.98–0.997), yet cross-dataset macro-F1 drops 34–72% and rankings re-order: DinoBloom-L, the in-domain best, falls to 10th of 15 on the most-shifted target (MLL23) at the benchmark's shared 224-px input, while RedDino and several general and pathology encoders outrank it. Rank transfer is probe-dependent: 1-NN retrieval is more stable on average than a source-fitted linear head (median ρ\rho 0.65 vs 0.45), but neither clean-domain probe universally predicts target robustness. Calibration also collapses: source-trained probes are nearly calibrated in-domain (Expected Calibration Error [ECE] 0.004) but become confidently wrong off-domain (ECE 0.35), and source-fitted temperature scaling transfers poorly. We further audit pretraining exposure and identify MLL23 as corresponding to DinoBloom's internal cohort; because the only DinoBloom-held-out dataset is also our source domain, this benchmark cannot isolate exposure from scanner-associated distribution shift. Finally, label-free adaptation and marginal-entropy-based model selection appear safe under balanced evaluation but fail under realistic WBC class-prior shift. Class-Balanced Re-standardization (CBR), a training-free pseudo-label-balanced feature normalization, improves all evaluated target-prior scenario means and partially improves calibration, although encoder-level exceptions and residual miscalibration remain. These results argue that hematology FM benchmarks must jointly audit accuracy, calibration, exposure, and class-prior robustness.

∗^{*} Accepted at the HemaRAI 2026 workshop (a MICCAI 2026 satellite event), oral presentation; to appear in MICCAI 2026 Satellite Events, Lecture Notes in Computer Science, Springer. Project page: https://jaishrm07.github.io/hematology-fm-robustness/

J. K. Sharma and P. Tapadiya

Keywords: Foundation models · Domain shift · Robustness · Calibration · Hematology · Benchmark.

1 Introduction

Blood-smear classifiers are typically trained and benchmarked on one acquisition pipeline but deployed across scanners, laboratories, stains, and preparation protocols. For white-blood-cell (WBC) differential support this creates a dangerous failure mode: a model can be accurate on its development scanner yet systematically (and confidently) wrong elsewhere, where a second site cannot sanity-check it [3,6].

Hematology foundation models (FMs) are commonly compared using frozen linear-probe or nearest-neighbor accuracy on in-domain splits [1,2]. Such evaluation does not answer the questions that matter for deployment: whether clean rankings survive real acquisition-domain shift, whether predicted confidence remains calibrated off-domain, whether benchmark targets overlap the model's pretraining, or whether label-free test-time adaptation stays safe under the class imbalance of a real WBC differential.

We therefore audit frozen embeddings rather than train new classifiers. We train a source-domain linear probe (and a 1-NN probe), evaluate zero-shot across four public single-cell acquisition domains, and measure reliability along two axes: accuracy and calibration. We additionally audit dataset exposure and stress-test label-free adaptation under balanced and realistic target class priors. Contributions. (1) A cross-domain accuracy audit of 15 frozen encoders (hematology FMs, pathology FMs, general SSL/VLM/ImageNet), showing that saturated in-domain linear-probe accuracy does not identify the robust encoder under scanner-associated shift, and that rank transfer is probe-dependent (1-NN ranks are more stable on average than a linear head, yet neither probe is a universally reliable clean-domain selector). (2) A calibration audit showing source-trained probes become confidently wrong off-domain and that source-fitted temperature scaling transfers poorly. (3) A pretraining-exposure audit showing public hematology benchmarks are exposure-ambiguous (we identify MLL23 as corresponding to DinoBloom's internal cohort), finding that these four datasets cannot isolate exposure from scanner-associated shift. (4) A label-shift stress test showing that standard label-free adaptation and marginal-entropy-based model selection, although effective under balanced evaluation, fail under realistic WBC priors. We evaluate Class-Balanced Re-standardization (CBR), a training-free, frozen-feature instance of class-balanced normalization [33,34], which improves all evaluated target-prior scenario means and partially improves calibration.

References (38)