betaFeedback

WorksComputer Science

spora: A Unified Multimodal Dataset and Platform for Spatial Proteomics

Abstract

Spatial proteomics (SP) captures the molecular composition and spatial organization of tissues at single-cell resolution, opening a direct view of the cellular ecosystems that drive disease. Protein panels, acquisition platforms, and tissue contexts differ from one cohort to the next, and a coherent picture of tissue biology can only emerge from models trained to bridge this heterogeneity. Foundation models offer the natural path forward, but their training depends on large, harmonized corpora that span platforms, panels, and cohorts. No public resource currently approaches that scale; available data sit in small, narrowly scoped releases with incompatible formats and conventions. We present spora\texttt{spora}, a large-scale multimodal SP dataset of 13,546 standardized multiplex images from 5,477 patients across 35 cohorts and five major SP technologies. Curated with biomedical experts, spora\texttt{spora} provides model training-ready formats together with cell and tissue segmentations, structured clinical metadata, and, where available, paired H&E enabling the training of virtual staining models. It is complemented by spora [io]\texttt{spora [io]}, a unified interface for tiling, sampling, and standardization across all cohorts and modalities, and spora [bench]\texttt{spora [bench]}, a benchmark suite spanning cell phenotyping, diagnostic and therapeutic prediction as well as virtual staining tasks across twelve cohorts that places current SP foundation models on common ground against task specific baselines.

Data: spora.bioimagearchive.org

Docs: spora.epfl.ch/docs

Introduction

Tissue function arises from the molecular states of individual cells and their spatial organization. Spatial proteomics resolves both at single-cell resolution, measuring dozens of proteins across intact tissue sections through technologies such as imaging mass cytometry (IMC), CODEX (now PhenoCycler), MIBI, and Orion [1, 2, 3, 4]. The resulting images expose immune cell phenotypes, checkpoint expression, stromal composition, and the architecture of the tumor microenvironment [5, 6]. These features are increasingly relevant to questions in translational oncology, including immunotherapy response prediction, microenvironment characterization, and the identification of spatial patterns associated with recurrence and treatment resistance [7, 8, 9]. Across these applications, SP is moving from research use into clinical decision support [10, 11].

Realizing this trajectory at scale depends on AI, and the AI that has reshaped adjacent areas of biomedicine is fundamentally data-driven: performance scales with the volume and diversity of the data on which models are trained, and no single SP study supplies either at the level required. Protein panels, acquisition platforms, and tissue contexts differ from one cohort to the next, so the corpora needed to train such models can only be built by aggregating across studies. Foundation models (FMs) [12] are the clearest expression of this paradigm, pretrained at scale on diverse data and applied to specific downstream tasks, and their development has consistently followed the same pattern where large standardized (public) corpora enable successive waves of model development [13]: In histopathology, the Cancer Genome Atlas (TCGA) [14] and HistAI [15] provide hundreds of thousands of standardized hematoxylin and eosin (H&E) whole-slide images, seeding a generation of general-purpose FMs [16, 17, 18] (Nechaeav et al. 2024). In spatial transcriptomics, HEST-1k [20] and STOmicsDB [21] consolidate paired transcriptomic and histology samples in standardized formats and supported the first FM pretraining and benchmarks for the modality. In single-cell RNA sequencing, CellxGENE [22] aggregates millions of cells from thousands of studies into a single queryable resource, providing the basis for cross-study atlases and FMs.

SP has yet to undergo this consolidation, and is structurally harder to unify than the modalities above. Acquisition technologies differ in resolution, intensity distribution, and file format. Antibody panels vary from one study to the next (Figure A1). Pairing with H&E is inconsistent across cohorts. Existing machine learning models trained on SP reflect this fragmentation [23]: they are trained on small single-disease cohorts [7], single-cell imaging [24], or proprietary data the community cannot access or extend [25], and the benchmarks built around them inherit the same limitations. For related work, see Appendix § 7.

Figure A1. Circle plot indicating, for each protein (HUGO gene nomenclature) and non-protein nuclear marker in the dataset, the cohorts in which it is represented.

In this work, we present the Spatial Proteomics Reference Atlas (spora), the first unified, multimodal, AI-ready resource for spatial proteomics, and, to our knowledge, the largest publicly available SP corpus assembled to date (Figure 1). spora brings together a large body of publicly released SP cohorts under a common resolution, file layout, and metadata schema, with cell and tissue segmentations, structured clinical annotations, and paired H&E provided wherever the source studies allow. By unifying SP at this scale, spora not only enables FM training across panels, technologies, and tissues, but also lays the groundwork for spatial tissue atlases: reference maps that capture how cells are organized within tissues across health and disease. Such atlases would provide reference frames for interpreting new patient samples, expose microenvironmental archetypes that recur across cancers and organs, and document how treatments reshape tissue at single-cell resolution. The accompanying library spora [io] exposes the dataset as an AI-ready interface, and spora [bench] evaluates current SP foundation models against task-specific baselines on a set of cell- and tissue-level tasks. We summarize our main contributions as follows:

Figure 1. Overview of spora. a. Unified dataset composition and per-sample file structure of spora [data]. b. Library pipeline of spora [io] from dataset browsing and tiling to standardized model input. c. spora [bench] benchmark tasks for foundation model evaluation.

  • spora [data], a large-scale unified spatial proteomics dataset. We assemble 13,546 standardized SP multiplex (mx) images from 5,477 unique patients across 35 cohorts, 13 tissue origins, and five major SP technologies (IMC, CODEX, Orion, MIBI, IF). All images are resized to a common 1.0 μm/px1.0\,\mu\mathrm{m}/\mathrm{px} resolution and stored as .ome.zarr files, accompanied per sample by cell instance and tissue segmentation masks as well as structured patient, clinical, and acquisition metadata. Depending on the cohort, paired H&E images (as pixel-level registered or matched modalities) and cell-type annotations are additionally provided, enabling multimodal learning at a scale not previously available in SP.

  • spora [io], a multimodal data loading library. A Python package built around the spora dataset with four core capabilities: (i) precomputed tissue-aware tile coverage that improves over standard grid tiling by adapting to irregular tissue geometry; (ii) cross-cohort combination with weighted sampling for flexible experiment design; (iii) multimodal lazy loading directly from .ome.zarr images, jointly streaming paired H&E and cell segmentation masks; and (iv) standardization strategies at multiple levels (channel, tissue, cohort, and global) to minimize batch effects across technologies and marker panels.

  • spora [bench], a spatial proteomics benchmark for oncology. A modular benchmark suite spanning cell-level (segmentation and phenotyping) and tissue-level (diagnosis, therapy response, and virtual staining) tasks across cancer types, organs and technologies, evaluated against current SP foundation models and task-specific baselines.

Released open-source at spora.bioimagearchive.org, spora turns spatial proteomics from a collection of bespoke single-study problems into a shared resource for the ML community to study marker-set heterogeneity, technology shift, multimodal pairing, and multiscale supervision.

spora Dataset

Building a unified SP dataset is not principally a problem of aggregation but of harmonization: public SP cohorts disagree on file format, marker nomenclature, segmentation strategy, and identifier conventions. These disagreements are what have so far prevented cross-cohort training. spora [data] resolves them through a set of design choices we describe in this section, applied to a corpus of 13,546 multiplex images from 5,477 patients across 35 cohorts, 13 tissue origins, 295 markers, and five SP technologies (IMC, CODEX, Orion, MIBI, IF; Figure 1, Figure A1). Each sample carries a multiplex image, tissue and cell instance masks, structured patient data, and metadata; where available, paired H&E and per-cell phenotype annotations are additionally provided. Table A1 summarizes the included cohorts.

Table A1: Overview of cohorts included in SPORA. mx = multiplex spatial proteomics images. Alignment indicates whether MX and H&E modalities are registered at the pixel level or unregistered but from matched samples. Specimen type: WSI = whole-slide image, TC = tumor core. Demographics lists the patient-level demographic fields available in the released metadata; †age provided as ranges only. Additional metadata might be available in the referenced publications.

DatasetModalitiesAlignment# PatientsImage TypeOrganPrimary CancerDemographics#MX imgs#MX crops#H&E imgs#H&E cropsLicense
allam2022spatially ((Allam et al., 2022))IMC–26TCLung, LymphnodeLung–262,592––CC BY 4.0
bowen2023naproxen ((Bowen et al., 2023))IMC–18TCColonOther disease–58721––CC BY 4.0
cho2025modeling ((Cho et al., 2026))IMC–12TCPancreas, LiverPancreaticAge†, Sex613,664––CC BY 4.0
cords2023cancer ([7])IMC–12TCBreastBreastAge†, Sex1096,820––CC BY 4.0
cords2024cancer ([36])IMC, H&Ematched1,361TCLungLungAge, Sex, Smoking2,04076,7962,32887,637CC BY 4.0
damond2019map ((Damond et al., 2019))IMC–12TCPancreasOther disease–84519,156––CC BY 4.0
danenberg2022breast ([37])IMC–718TCBreastBreast–71826,012––CC BY 4.0
ehret2025shaking ((Ehret, 2025))IMC–55TCColonColorectalAge, Sex1085,832––CC BY 4.0
fischer2023multiplex ((Fischer et al., 2023))IMCmatched892TCBreastBreastAge, Sex1,25243,864––CC BY 4.0
greenwald2026temporal ((Greenwald et al., 2026))MIBI–113TCBreastBreast–1,25820,128––CC SA 4.0
gupta2026single ((Gupta et al., 2026))IMC–527TCBreastNo diseaseAge1,492197,568––CC BY 4.0
haist2026lymph ((Haist et al., 2026))CODEX, H&Eregistered79TCLymphnodeHead and NeckAge, Sex, Smoking3893,3883893,388CC BY 4.0
hickey2023organization ((Hickey et al., 2023))CODEX, H&Eregistered8WSIColonOther disease–6422,5446414,300CC0 1.0
hoch2022multiplexed ([38])IMC–35TCSkin, LymphnodeSkin (melanoma)Age†, Sex503,408––CC BY 4.0
hoefflin2026spatial ((Klein et al., 2026))CODEX, H&Eregistered25WSIBrainBrainAge, Sex3022,3643022,364CC BY 4.0
hubmap2019human ((HuBMAP Consortium, 2019))CODEX–15WSISpleen, LymphnodeOther disease–80481,156––CC BY 4.0
hu2023single ((Hu et al., 2023))IMC–12TCLung, Head and NeckLung–514,732––CC BY 4.0
jackson2020single ((Jackson et al., 2020))IMC–357TCBreastBreastAge, Sex7232,?––CC BY 4.0
klein2026spatialable ((Klein et al., 2026))CODEX–10WSIColon, Head and NeckColorectalAge, Sex31630,?––CC BY 4.0
li2023multiplexed ((Li et al., 2023b))CODEXregistered40WSIColon, Head and NeckColorectalAge, Sex, BMI41623,196––CC BY-NC 4.0
liu2022reproducible ((Liu et al., 2022))MIBI–28WSILymphnode, Tonsil, Soft Tissue, BladderBreast, ColorectalAge, Sex1641,312––CC BY 4.0
malchiodi2024natural ((Malchiodi et al., 2024))IMC–63TCPancreasPancreatic, Other diseaseAge, Sex, Race16416,468––CC BY 4.0
meyer2025stratification ([39])IMC–215TCBreastBreastAge45017,304––CC BY 4.0
moldovan2024spatial ((Moldovan et al., 2022))IMC–9TCLungLungAge, Sex945,616––CC BY 4.0
monkman2024spatial ((Monkman et al., 2024))CODEX–42TCLymphnodeLymphomaAge92020,916––CC BY 4.0
philpott2024spatial ((Philips et al., 2024))CODEX–104TCSkinMelanomaAge10817,804––CC BY 4.0
rigamonti2024integrating ([26])CODEX, H&Ematched158TCLungLungAge, Sex15817,10821024,992By author agreement
rita2023multi ((Rita et al., 2023))CODEX–191WSILiverLiver–19452,109––CC BY 4.0
salie2025spatial ([8])IMC–192WSILiverLiverAge, Sex19227,?––CC BY 4.0
schulz2018simultaneous ((Schulz et al., 2018))IMC–79TCBreastBreast–792,744––CC BY 4.0
eling2025spatial ((Eling et al., 2025))IMC–179TCLung, Head and NeckColorectal, Lung, Head and Neck, Breast–1796,372––CC BY 4.0
schurch2020coordinated ((Schürch et al., 2020))CODEX, H&Eregistered35TCColon, OtherColorectalAge, Sex2518,0642517,784CC0 1.0
xiao2022multiplexed ([9])IMC–26WSILymphnode, Soft Tissue, OtherSkin (melanoma)Age†, Sex1586,152––CC BY 4.0
zhu human2025spatial ((Zhu et al., 2025))IMC–62TCLungLung–1,649109,372––CC BY 4.0

Table A1.

All cohorts are released under permissive licenses and were obtained through open-access repositories or directly from the original study authors via dataset access requests and correspondence. Over two years, in close collaboration with biomedical experts, they were integrated into a unified, biomedically validated, AI-ready resource. This required substantial preprocessing: folder structures, file formats, metadata schemas, and image representations were harmonized across cohorts, and tissue and cell segmentations were recomputed and improved over those provided in the original releases. Full procedures are detailed in the following paragraphs and in the dataset documentation1.

Meta and patient data. spora [data] provides metadata at two levels. Every sample in spora [data] is de-identified and pseudonymized, and is assigned a unique tissue identifier composed of a cohort ID, patient ID, and specimen ID. A multiplex image and a paired H&E image share the same specimen ID if and only if both were acquired from the exact same tissue slide and are spatially registered. Co-registration between modalities is therefore encoded in the identifier itself, with no separate registration table to maintain. Cohort-level metadata additionally records the source publication, license, and publication date. Each tissue entry further stores the acquisition modality, possible alignment level to H&E, original patient and tissue identifiers from the source study (for backlinking to the original results), and a harmonized primary cancer type derived from OncoTree (Kundra et al., [28]) for solid tumors and community-standard taxonomies for hematologic malignancies. Figure 1 and Figure A2 report the distribution of tiles and patients across these dimensions.

Figure A2. Overview of the dataset. a. Distribution of multiplexed tiles across specimen types, split between tumor cores (TC) and whole-slide images. b. Number of mx tiles per organ (log scale), spanning 13 tissue types. c. Number of datasets containing diagnostic and therapeutic annotations that can be used for downstream tasks. d. Per-cohort breakdown of mx tiles (blue, left axis) and number of patients (green, right axis), both on a log scale, sorted by decreasing tile count.

Clinical annotations are recorded at the patient level and fall into three groups (see Figure A2c). Diagnostic annotations (available for 20 cohorts) include cancer subtyping, grading, staging, histopathological descriptors, and cell-state or immune infiltration levels. Therapeutic annotations (available for 15 cohorts) include administered treatment, treatment response, and overall, progression-free, and disease-free survival. Demographic annotations (available for 17 cohorts) include sex, age, and smoking status. All tissue- and patient-level annotations are stored in a single per-cohort .parquet file, supporting efficient filtering and stratification during experiment design and providing the label infrastructure for the benchmark tasks described in §4.

Spatial proteomics images. spora [data] includes both whole-slide images (WSI) and tumor cores from tissue microarrays, each identified by its tissue ID. Because acquisition technologies and source datasets report different resolutions, all images are provided both in their native solution as well as resampled to a common 1.0 μm/px resolution and stored in .ome.zarr (Moore et al., [29]), the community standard for large multiplex imaging data. .ome.zarr not only supports chunked lazy loading optimal for ML model training but also is natively compatible with standard bioimaging tools including QuPath, napari, or Fiji [30, 31, 32]. Each tissue is accompanied by a precomputed binary tissue mask, used downstream to restrict tile sampling to foreground tissue and avoid background regions. See §C for exemplary visualizations of all technologies.

Per-channel marker information is embedded within each .ome.zarr image and additionally saved as cohort-level .parquet tables for efficient programmatic access. These tables record the cohort-consistent marker names and official UniProt identifier where applicable. Nuclear stains such as DAPI or Hoechst bind DNA directly rather than a protein target and therefore lack UniProt identifiers; they are flagged with a dedicated binary column, allowing cell segmentation methods to locate the nuclear channel regardless of which specific stain a given cohort used. A quality-control column further flags channels that did not pass our or the original publications QC, allowing them to be excluded from analyses. Additional tissue-level tables are used when marker panels vary between patients within a single cohort, ensuring correct marker-channel assignment.

Cell segmentation and phenotyping. Every multiplex image in spora is accompanied by a cell instance segmentation at 1.0 µm/px resolution. For each study, we provide standardized cell masks predicted using the VirTues-based segmentation model [33] (Figure A3–Figure A6), as well as the cell masks published alongside the source study to preserve the original authors’ annotations. VirTues was selected after systematic comparison with alternative segmentation approaches and consultation with domain experts, as it produced the most consistent results across acquisition technologies and organs; in several cohorts, expert review judged VirTues-based masks to be of higher quality than those released with the original study (§D, Figure A7-Figure A8), motivating our decision to include VirTues segmentations uniformly across all cohorts.

Example MX images and instance cell masks for four IMC datasets

Figure A3. Example mx images for four IMC datasets with instance cell masks.

Example multiplexed image for the Orion dataset with VirTues predicted instance cell masks

Figure A6. Example mx image for the Orion dataset with VirTues predicted instance cell masks.

Figure A7. Comparison of cell instance segmentations obtained from VirTues and provided with the original study by Cords et al. [36]. VirTues. Original Study (cords2024cancer, IMC, Lung Cancer). Iridium. 1. Original segmentation divided fibroblast into three cells. 2. False positives in original segmentation. 3. Over-segmentation in original segmentation.

Figure A8. Comparison of cell instance segmentations obtained from VirTues and provided with the original study by Liu et al. (2022). VirTues. Original Study (liu2022reproducible, MIBI, Colorectal Cancer). DNA. 1. Original segmentation divides cells into many. 2. False positives for noise in original. 3. Under-segmentation in original.

For 16 cohorts, per-cell phenotype annotations are additionally available with granularity matching the source study’s original labels (Table A2). These typically capture both cell type (e.g., CD15+^+ myeloid cells) and activation state (e.g., MHC-II+^+ myeloid cells), enabling downstream tasks that distinguish phenotypic identity from functional state. Phenotype labels are released as panoptic segmentation masks alongside structured .parquet tables keyed on cell-instance identifiers.

DatasetOriginal cell-type fieldsDerived cell-type fieldsMethod name
cords2023cancercelltype, cell_subtypecell_type_atlasPhenoGraph, FlowSOM
cords2024cancercell_category, cell_subtype, cell_typecell_type_atlasPhenoGraph, FlowSOM
damond2019mapcell_category, cell_typeilastik
danenberg2022breastcell_category, cell_type, cell_subtypecell_type_atlasFlowSOM, PhenoGraph
gupta2026singlecluster_labelPhenoGraph
hoch2022multiplexedcell_category, cell_typecell_type_atlascytomapper
jackson2020singlecell_category, cell_typecell_type_atlasPhenoGraph
lin2023highcell_typecell_type_atlasCustom RFC gating
liu2022reproduciblecategoriesFlowSOM
meyer2025stratificationmetacluster_combined, metacluster_tumor_combinedcell_type_atlasPhenoGraph, Astir
moldoveanu2022spatiallycell_categorycell_type_atlasPhenoGraph, ilastik
phillips2021immunecell_categoryX-shift
rigamonti2024integratingcell_category, cell_typecell_type_atlasCytoMAP, QuPath
schulz2024immucancelltypescell_type_atlascytomapper
schurch2020coordinatedcell_category, cell_typeX-shift
xiao2022multiplexedcelltype20, celltype4FlowSOM, PhenoGraph

Table A2. Cohorts in spora with original and derived cell type annotations, and the methods the original authors used to derive them.

Together these components turn 35 disjoint releases into a single queryable resource: every tissue has a globally unique identifier, every marker has a stable name, and every cell and tissue have a segmentation produced by a uniform pipeline. What remains is to make this resource consumable at training scale, which spora [io] addresses next.

spora [io] Library

The value of a large spatial proteomics corpus depends not only on its scale, but also on whether models can access it through a fast and stable interface. Consuming the dataset at training scale raises challenges that go beyond data loading: tiling WSI images requires adapting to irregular tissue geometry; combining cohorts of differing sizes calls for principled sampling strategies; jointly streaming SP, paired H&E, and segmentation masks demands lazy multimodal access to avoid memory bottlenecks; and training across cohorts and technologies requires consistent standardization to minimize batch effects. A dedicated IO library is therefore essential to translate spora’s curated data into reproducible, training-scale model development to separate model performance from pre-processing choices.

spora [io] addresses these challenges with a single Python interface that exposes spora [data] as an AI-ready dataset rather than a collection of files. It plays three roles: streaming samples lazily from the canonical on-disk format, applying standardized spatial and intensity preprocessing, and providing the data abstractions on which all benchmark tasks are built.

Data abstractions. spora [io] is organized around typed dataset objects that expose the same logical operations across modalities while preserving modality-specific metadata. The fundamental unit of access is the tissue identifier, for which H&E and immunohistochemistry (IHC) loaders return RGB image objects, while multiplex loaders return C×H×WC \times H \times W tensors with channel names, binary masks capturing which channels are measured and pass quality control, along with UniProt identifiers. Further, the same tissue identifier can be used to retrieve the tissue mask, cell-level masks, and tiles from any modality. Further, a composed dataset class is provided, that builds on the unimodal loaders to provide a multimodal loader for registered or unregistered modalities, enabling benchmarking tasks to switch between unimodal, crossmodal, and multimodal supervision.

Multimodal tiling and sampling. Tiling determines the input distribution of every SP model, yet it has received limited methodological attention. The standard approach, inherited from H&E pipelines, enumerates a fixed grid and discards tiles below a tissue-content threshold. This works for H&E, where tissues are typically dense gigapixel WSIs, but breaks on SP: tumor cores and resections exhibit irregular morphology, interior voids (necrotic cores, folds), and biologically critical margins where invasive fronts and immune infiltrates concentrate. Grid tiling can discard or contaminate the regions that carry the strongest clinical signal. On the tissues in Figure 2, the spora [io] tiler reaches tissue-to-background ratios of 5.43 to 6.18.

Figure 2. Exemplary tissues and annotations. Multiplex images of a. an IMC tumor core (Rigamonti et al., [26]) and b. a CODEX whole-slide image (Ruf et al., [27]), with cell instance segmentations from VirTues and tissue-aware tile distributions from spora [io]. The tiling adapts to tissue geometry, achieving tissue-to-background ratios well above standard grid tiling.

We address this by posing tiling as a budgeted coverage optimization problem. Let M∈{0,1}H×WM \in\{0,1\}^{H \times W} be the binary tissue mask and let CτC_{\tau} be the set of stride-grid candidate tiles whose tissue purity is at least 1−τ1-\tau. Each candidate (y,x)∈Cτ(y,x) \in C_{\tau} covers a set of valid pixels S(y,x):=T(y,x)∩{(i,j):Mij=1}S_{(y,x)} := T(y,x) \cap\{(i,j): M_{ij}=1\}, and for a budget BB we seek

max⁡T⊆Cτ, ∣T∣≤Bf(T)=∣⋃(y,x)∈TS(y,x)∣.\max_{\mathcal{T}\subseteq C_{\tau},\ |\mathcal{T}|\le B} f(\mathcal{T}) = \left|\bigcup_{(y,x)\in\mathcal{T}} S_{(y,x)}\right|.

This is a budgeted maximum coverage problem over the purity-feasible candidate set and is NP-hard in general [34]. However, the coverage objective ff is monotone and submodular, so for any fixed tile budget BB, the greedy prefix of length BB achieves the classical (1−1/e)≈0.63(1-1/e)\approx0.63 approximation guarantee to the optimal BB-tile coverage [35]. In practice, we do not require BB to be fixed a priori. Instead, the algorithm constructs the greedy sequence and terminates only once the coverage exceeds γ\gamma and the best remaining marginal gain falls below αc2\alpha c^2. The first condition prevents premature stopping on sparse or fragmented tissue, while the second avoids adding mostly redundant tiles once only negligible new tissue remains. Two design choices make the procedure practical at WSI scale, where ∣Cτ∣|C_{\tau}| can reach hundreds of thousands. First, all initial candidate gains are computed with summed-area tables. Second, after selecting a tile, we update only spatially overlapping candidates using a local integral image of the uncovered mask, rather than recomputing every marginal gain from scratch. Thus, each greedy step requires a vectorized best-candidate scan plus local updates over the affected candidates. For details on the spora tiling algorithm, see §E.1.

Tile coordinates are precomputed and released with spora, and can be deterministically reproduced from MM, τ\tau, γ\gamma, and α\alpha, ensuring that benchmark numbers remain comparable across papers.

Multiplex standardization. Multiplex intensities are not comparable across cohorts, markers, or acquisition technologies, so any model trained on raw values learns acquisition identity as readily as biology. We precompute standardization statistics rather than estimating them inside training code, making preprocessing reproducible across models, machines, and benchmark runs. Channel-wise statistics are exposed at the tissue and cohort level, letting users trade batch-effect removal against preservation of biological variation, and two default transforms are provided: quantile-clipped linear normalization for general use, and a log-compressed variant for the heavy-tailed marker distributions common in multiplex proteomics. Formulas, validity-mask handling, and routines for computing statistics on new datasets are given in §E.2.

spora Benchmark

The spatial proteomics benchmark, spora [bench], is based on the images and associated cell- and tissue-level metadata provided by spora [data] as well as the spora [io] interface. It spans the field’s core analysis tasks: (i) cell segmentation, (ii) cell phenotyping (e.g., assigning cell types and functional states), (iii) diagnostic and therapeutic prediction (e.g., risk stratification, cancer subtyping), and (iv) virtual staining (i.e., predicting unmeasured markers from observed measurements). We provide a modular implementation of these tasks consisting of an abstract model wrapping class with pre-defined method signatures, for each FM an implementation of this abstract class, and six evaluation pipelines that then run each wrapped model and collect task-level benchmarking results.

In total, spora [bench] contains eight segmentation, 18 cell phenotyping, six diagnostic and therapeutic prediction and eight virtual staining tasks, and is designed to effortlessly integrate new tasks on both existing and new patient cohorts.

Guidelines on data splits and exposure. For all datasets in spora [data], we provide fixed 80/20 train–test splits at the patient level, enabling fair and reproducible comparisons and preventing models from exploiting patient-specific batch effects. Validation data, where needed, should be carved out from the training split. These splits must be respected during benchmark finetuning and, where possible, during pretraining. For public models the latter is often not verifiable, and we therefore recommend explicit reporting when such models are compared. Even when splits are followed strictly, pretraining exposure, i.e., whether a model has encountered a cohort during pretraining, may confound comparisons. Because the large SP cohorts most valuable for finetuning are also the most valuable for pretraining, and remain scarce, we ask users to disclose pretraining exposure rather than excluding benchmark datasets altogether. For spora [bench], Table A3 reports pretraining exposure for each cohort and foundation model whose developers disclose it publicly.

ModelVirTuesKRONOSEva
Dataset
Cords et al. [7]✓✗?
Cords et al. [36]✓✗?
Danenberg et al. [37]✓✗?
Eling et al. (2025)✓✗?
Hickey et al. (2023)✓✗?
Hoch et al. [38]✓✗?
Lin et al. [4]✓✗?
Meyer et al. [39]✓✗?
Moldoveanu et al. (2022)✓✗?
Phillips et al. (2021)✓✗?
Rigamonti et al. [26]✓✗?
Schürch et al. (2020)✓✗?

Table A3. Disclosure of pretraining exposure. We indicate pretraining occurrence for each foundation model and benchmark cohort of spora [bench]. We use the model instance virtues-sp32 of VirTues. Pretraining data of Eva is not clearly disclosed.

Cell phenotyping. We distinguish two cell phenotyping settings, each implemented by its own pipeline: (i) linear-probe cell classification and (ii) cross-cohort cell annotation. The former assesses the biological information content of the cell-level representations produced by an FM by fitting a logistic regression probe within a single cohort. The latter targets the practical setting of annotating a newly acquired cohort for which no labels are available, and therefore additionally measures how well methods generalize across cohorts and panels.

For the linear-probe setting, we select ten cohorts ([36, 7, 37, 38, 4, 39, 26] (Moldoveanu et al. 2022; Phillips et al. 2021; Eling et al. 2025)) and use the phenotype annotations provided by the original studies. These span a wide range of granularity, from four coarse classes ([7]) to fourteen fine-grained ones (Eling et al., 2025), and comprise 12.4 million cells in total. For the cross-cohort annotation setting, we select eight of these cohorts ([7, 36, 37, 39, 4, 26] (Moldoveanu et al. 2022; Eling et al. 2025)) and harmonize their annotations into seven common classes.

We benchmark two FMs for spatial proteomics on the linear-probe tasks, VirTues ([33]) and KRONOS ([25]). To this aim, we compute cell-level representations following each model’s prescribed procedure, normalize them feature-wise, and train and evaluate a logistic regression classifier on the respective data split. On the cross-cohort cell annotation tasks, we evaluate VirTues under its semantic-segmentation-based annotation protocol, together with two classical specialized tools, astir (Guenich et al., 2021) for unsupervised cell annotation, and MAPS (Shaban et al., 2024) for cell label transfer. KRONOS is omitted here, as it provides no method for unsupervised cell annotation or label transfer across varying panels.

Macro-average F1 scores across all cohorts and models are reported in Table 1 for the linear-probe tasks and in Table A5 for the cross-cohort annotation tasks. Per-cohort and per-cell-type results are provided in §F (Table A6–Table A15). On the linear-probe tasks, VirTues achieves the highest score in every cohort, across all levels of cell type granularity. On the cross-cohort annotation tasks, VirTues is again the most consistent performing method, ranking first on four of the eight cohorts and second on three.

ModelKRONOSVirTues
Dataset
Cords et al. [7]0.601 [.597, .605]0.782 [.778, .785]
Cords et al. [36]-0.757 [.755, .758]
Danenberg et al. [37]0.355 [.352, .358]0.611 [.607, .615]
Hoch et al. [38]0.574 [.566, .582]0.836 [.830, .841]
Lin et al. [4]0.400 [.397, .402]0.642 [.638, .645]
Meyer et al. [39]0.480 [.476, .484]0.718 [.714, .722]
Moldoveanu et al. (2022)0.523 [.507, .538]0.716 [.699, .733]
Phillips et al. (2021)0.437 [.419, .454]0.715 [.701, .729]
Rigamonti et al. [26]0.577 [.569, .585]0.699 [.690, .708]
Eling et al. (2025)0.546 [.539, .553]0.761 [.756, .768]

Table 1. Linear-probe cell phenotyping results. Macro average F1-score per dataset and model. Best performing model per dataset is shown in bold. The 95% confidence intervals calculated via bootstrapping (n=1000n = 1000 repeats) are shown in brackets.

DatasetVirTuesastirMAPS
Cords et al. [7]0.717 [.713, .721]0.532 [.530, .535]0.614 [.611, .617]
Cords et al. [36]0.652 [.650, .653]0.592 [.591, .594]0.502 [.500, .503]
Danenberg et al. [37]0.553 [.551, .556]0.407 [.404, .410]0.390 [.387, .392]
Lin et al. [4]0.478 [.475, .480]0.520 [.518, .521]0.637 [.634, .640]
Meyer et al. [39]0.605 [.602, .608]0.596 [.594, .599]0.693 [.691, .696]
Moldoveanu et al. (2022)0.611 [.596, .624]0.561 [.555, .566]0.314 [.305, .324]
Rigamonti et al. [26]0.605 [.600, .609]0.623 [.619, .626]0.497 [.494, .501]
Eling et al. (2025)0.620 [.617, .624]0.621 [.618, .624]0.455 [.451, .459]

Table A5. Cross-cohort cell annotation results. Macro average F1-score per dataset and model. Best performing model per dataset is highlighted in bold, the second-best is underlined. The 95% confidence intervals calculated via bootstrapping (n=1000n = 1000 repeats) are shown in brackets.

Model ClassKRONOSVirTues
CAF0.627 [.622, .632]0.791 [.788, .794]
Endothelial0.420 [.408, .433]0.585 [.573, .596]
Immune0.591 [.587, .596]0.819 [.816, .822]
Tumour0.765 [.762, .768]0.932 [.930, .933]

Table A6. Detailed cell phenotyping results for cords2023cancer ([7]). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

ClassKRONOSVirTues
B cell0.546 [.527, .563]0.835 [.824, .846]
CD4 T cell0.492 [.470, .514]0.766 [.751, .781]
CD8 T cell0.570 [.554, .585]0.784 [.775, .795]
Ki67+ cell0.630 [.619, .641]0.873 [.866, .879]
Dendritic cell0.346 [.329, .366]0.519 [.501, .537]
HLA-DR+ cell0.322 [.295, .347]0.413 [.386, .438]
CD163+ macrophage0.543 [.529, .555]0.735 [.726, .744]
Mural cell0.648 [.637, .659]0.886 [.880, .892]
NK cell0.454 [.396, .506]0.614 [.564, .658]
Neutrophil0.595 [.579, .610]0.919 [.912, .925]
Treg0.657 [.635, .678]0.884 [.871, .897]
Tumor cell0.771 [.768, .774]0.948 [.947, .950]
Plasmacytoid DC0.517 [.478, .558]0.627 [.591, .663]
Plasma cell0.554 [.536, .570]0.858 [.849, .867]

Table A15. Detailed cell phenotyping results for schulz2024immucan (Eling et al., 2025). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

Cell instance segmentation. Segmenting cell instances is a key step in nearly every SP analysis requiring understanding of cell shapes across varying morphology markers. We benchmark this task across eight cohorts ([7, 36, 37, 39, 4, 26] (Moldovan et al. 2022; Eling et al. 2025)), using the instance segmentation masks provided by the original publications as ground truth. We evaluate the FM VirTues ([33]) alongside three established specialized segmentation tools: Cellpose ((Pachitariu et al., 2025)), InstanSeg ((Goldsborough et al., 2024)), and StarDist ((Weigert and Schmidt, 2022)). To reflect the real-world setting of segmenting a newly imaged cohort and to test the generalization ability of methods across cohorts, the task is evaluated zero-shot, i.e., none of the methods is trained on any segmentation masks from the target cohort.

We report results in terms of instance F1-scores at intersection-over-union (IoU) threshold τ=0.5\tau= 0.5 in Table A16. VirTues performs best overall, leading on six of the eight cohorts, often by a substantial margin. Cellpose is the strongest of the remaining methods and accounts for the other two cohorts.

Table A16: Cross-cohort cell segmentation results. Instance F1-score at τ=0.5\tau= 0.5 IoU threshold per dataset and model. Best performing model per dataset is highlighted in bold, the second-best is underlined.

ModelVirTuesCellposeInstanSegStarDist
Dataset
Cords et al. [7]0.801<u>0.312</u>0.2510.120
Cords et al. [36]0.7420.326<u>0.369</u>0.128
Danenberg et al. [37]0.5370.299<u>0.340</u>0.210
Lin et al. [4]0.3400.495<u>0.454</u>0.300
Meyer et al. [39]<u>0.597</u>0.6940.1570.408
Moldoveanu et al. (2022)0.622<u>0.564</u>0.4850.473
Rigamonti et al. [26]0.498<u>0.384</u>0.2870.089
Eling et al. (2025)0.700<u>0.595</u>0.4180.368

Table A16. Cross-cohort cell segmentation results. Instance F1-score at τ=0.5\tau= 0.5 IoU threshold per dataset and model. Best performing model per dataset is highlighted in bold, the second-best is underlined.

Diagnostic and therapeutic prediction. To assess the extent to which SP models capture tissue-level signal, we include six clinically relevant pathology tasks spanning cancer grading and subtyping across a non-small cell lung cancer cohort ([36]), a diverse breast cancer cohort ([37]), and a triple-negative breast cancer cohort ([39]), comprising 3,284 tissues from 2,002 patients in total. As in the cell phenotyping tasks, we use the unified wrapper to evaluate the two SP foundation models alongside a ResNet feature encoder ([23]), a traditional baseline for tissue-level SP prediction ((Klein et al., 2026)).

We follow the tissue-level evaluation protocol of VirTues and KRONOS, iteratively embedding tissue tiles in a grid-crop manner to extract patch or tile representations respectively. The resulting set of embeddings for each whole tissue is aggregated through attention-based multiple instance learning (ABMIL) ((Ilse et al., 2018)), the standard framework for tissue-level prediction, to train a downstream classifier. For the ResNet baseline, we substitute the patch representations with tile-level features extracted by the encoder. Figure 3 reports performance across all six tasks. VirTues outperforms KRONOS on four tasks and matches it on patient risk stratification and breast cancer grading.

Figure 3. Tissue-level diagnostic and therapeutic results. Performance across diagnostic and therapeutic tasks on three cohorts spanning non-small cell lung cancer (NSCLC), triple-negative breast cancer (TNBC), and a heterogeneous breast cancer cohort. Each task contains two classes.

We observe that on spora [bench], foundation models outperform classical baselines across cell-, tissue-, and patient-level tasks. Yet performance is far from saturated, with substantial headroom remaining across all tasks. One likely reason is that pretraining data has so far been limited in both scale and standardization, a constraint that spora addresses directly. The rest of the gap is harder to attribute and likely reflects architectural and aggregation choices, which lie outside what a dataset alone can solve. As spora grows, the data-side of this gap should narrow further, though closing it fully will likely also require advances in architecture and aggregation.

Virtual staining. Multiplexed SP resolves tissue composition with molecular specificity, but cost, turnaround time, and finite tissue limit its use, forcing investigators toward smaller panels or applying the assay to a subset of samples. Virtual staining offers a way to relax these constraints: given H&E morphology or a reduced marker panel, a foundation model can impute unmeasured channels in silico, extending an assay’s effective size without additional tissue. Beyond its practical value, this task probes what a model has learned. Imputation requires exploiting dependencies among markers and between molecular signal and morphology, so performance measures how well spatial and cross-modal structure has been captured, not only how useful the output is.

spora [bench] introduces two standardized virtual staining benchmarks: (i) multiplex-to-multiplex virtual staining, and (ii) H&E-to-multiplex virtual staining. The benchmarks can be evaluated both in-distribution, using models trained on the datasets’ training splits, and out-of-distribution, by withholding the entire dataset from all model training. We compare below methods evaluated in-distribution. Importantly, performance numbers from different evaluation settings are not directly comparable, and should be reported with the setting made explicit.

Multiplex-to-multiplex virtual staining benchmarks are provided for four cohorts ([36, 37, 26] (Eling et al. 2025)). Here, for each tissue, we iteratively hold out one channel at a time and predict it from the remaining channels. We report the per-marker Pearson correlation between predicted and ground-truth signal, averaged over all test tissues (Figure 4, Figure A11). We compare two foundation models, VirTues and Eva (Liu et al., 2025), against two simpler references: a linear model fit per target marker on a pixel-wise basis, and a nearest-marker baseline that imputes for each marker the single most similar alternative marker. Virtual stains predicted by VirTues correlate consistently well with the ground truth and outperform all other methods. Performance nevertheless varies substantially across markers and correlates with the nearest-marker baseline, suggesting some markers carry redundant information while others encode unique signal.

Figure 4. Multiplex virtual staining results. a. Average Pearson correlation between predicted and ground-truth markers across tissues; the baseline (light-gray cross) substitutes the closest available marker for the target. b. Representative multiplex images and their virtual staining predictions obtained from VirTues.

Figure A11. Virtual staining results. a. Average Pearson correlation between predicted and ground-truth markers across multiplex images; the baseline (light-gray cross) substitutes the closest available marker for the target. b. Representative multiplex images and their virtual staining predictions obtained from VirTues.

Likewise, we provide H&E-to-multiplex virtual staining benchmarks for four cohorts ([4] (Hickey et al. 2023; Phillips et al. 2021; Schürch et al. 2020)). Leveraging the availability of registered modalities, the multiplexed marker panel is here predicted directly from an H&E slide, which is fast and inexpensive to acquire. We benchmark three virtual staining models, GigaTIME (Valanarasu et al., 2025), HistoPlexer (Andani et al., 2025) and ROSIE (Wu et al., 2025). All three were trained on closed-source and comparatively small corpora (21 WSIs, 336 ROIs and 1,342 tumor cores, respectively), all but ROSIE on a single cohort, and each predicts a fixed panel that overlaps only partly with the others. Accordingly, their performance on our four evaluation cohorts is limited (Table 2, Table A17–Table A20), with correlations near zero for most markers. This gap is what cross-cohort, cross-platform training and evaluation is meant to close, and what spora is built to measure.

Dataset# markersGigaTIME Pearson ↑GigaTIME SSIM ↑HistoPlexer Pearson ↑HistoPlexer SSIM ↑ROSIE Pearson ↑ROSIE SSIM ↑
Hickey et al. (2023)10/5/230.0560.3840.0040.6030.0430.082
Lin et al. [4]10/3/150.0460.2660.0040.0560.0660.301
Phillips et al. (2021)15/6/290.1060.2940.0030.5760.0600.076
Schürch et al. (2020)14/7/330.0720.2450.0040.4080.0380.098

Table 2. H&E virtual staining results. Pearson correlation and SSIM averaged over the markers predicted by all three models in a given cohort. Predicted marker set differs between models, indicated by # markers in the order GigaTIME/HistoPlexer/ROSIE. Best performing model per dataset and metric is shown in bold.

Table A17: Per-marker virtual staining results on Hickey et al. (2023). Pearson correlation and SSIM for every marker predicted by at least one model. Dashes mark markers absent from a model’s output panel (GigaTIME: 10, HistoPlexer: 5, ROSIE: 23). Best performing model per marker and metric is shown in bold.

MarkerGigaTIMEHistoPlexerROSIE
Pearson ↑SSIM ↑Pearson ↑SSIM ↑Pearson ↑SSIM ↑
BCL2––––0.0600.081
CD11C0.0340.379––0.0020.135
CD1380.0220.364––––
CD160.0500.4390.0110.505––
CD163––––0.0570.027
CD21––––0.0380.108
CD30.0720.3950.0070.6240.0420.123
CD31––0.0130.7220.0740.040
CD340.0520.497––0.0820.081
CD38––––0.0430.028
CD40.0650.424––0.0480.074
CD44––––0.0910.084
CD45––––0.0830.076
CD45RO––––0.0780.093
CD66––––0.0520.120
CD680.0470.460––0.0710.109
CD80.0400.3730.0020.5820.0430.041
COLLAGENIV––––0.1470.081
GATA3––––-0.0010.072
HLADR––0.0100.5860.0580.112
KI670.0580.442––0.0480.083
PANCK0.0620.417––0.1100.114
PODOPLANIN––––0.0510.034
SMA––––0.0890.088
VIMENTIN––––0.1090.110

Table A17.

MarkerGigaTIME Pearson ↑GigaTIME SSIM ↑HistoPlexer Pearson ↑HistoPlexer SSIM ↑ROSIE Pearson ↑ROSIE SSIM ↑
BCL2––––0.0370.115
CD11C0.0110.248––−0.0200.142
CD138−0.0260.155––––
CD160.0360.2120.0200.246––
CD163––––0.0240.035
CD200.0020.247−0.0020.411−0.0210.036
CD21––––0.0130.083
CD30.1490.2230.0060.3200.0820.190
CD31––0.0000.8220.0270.022
CD340.0380.253––0.0220.058
CD38––––0.1070.125
CD40.1010.196––0.0420.117
CD44––––0.0380.124
CD45––––0.0420.095
CD45RO––––0.0660.086
CD680.0670.285––0.0620.109
CD79A––––0.0130.050
CD80.0630.2660.0080.4930.0540.068
COLLAGENIV––––−0.0020.041
EPCAM––––0.0830.146
FOXP3––––0.0750.114
GATA3––––0.0590.078
GRANZYMEB––––−0.0010.011
HLADR––−0.0080.560−0.0290.057
ICOS––––0.0290.101
IDO1––––0.0790.156
KI670.0600.228––0.0590.154
LAG3––––0.0930.140
MELANA––0.0170.185––
PANCK−0.0020.272––0.0070.042
PD10.1700.119––0.1330.154
PDL10.0120.168––0.0050.129
PODOPLANIN––––0.0210.051
SMA––––0.0490.068
TBET0.1030.225––––
VIMENTIN––––0.0660.132
VISTA––––0.0930.217

Table A20. Per-marker virtual staining results on Schürch et al. (2020). Pearson correlation and SSIM for every marker predicted by at least one model. Dashes mark markers absent from a model’s output panel (GigaTIME: 14, HistoPlexer: 7, ROSIE: 33). Best performing model per marker and metric is shown in bold.

Conclusion

spora is the first spatial proteomics resource large and standardized enough to support foundation model development across cohorts, panels, and tissue types. It combines harmonized data from 35 studies, a multiplex IO library, and a multiscale benchmark spanning cell-, tissue-, and patient-level tasks. Together, these components enable large-scale pretraining and systematic evaluation across heterogeneous biological contexts. They lay the data and computational foundations for spatial proteomics atlases in which evidence can accumulate across studies rather than remain confined to individual datasets. Like the public data it draws on, however, spora is skewed towards cancer and covers only a subset of cancer types and organs, reflecting where the field has concentrated its efforts so far. spora [bench] inherits these limitations, and the scope of our model evaluation is constrained by how few spatial proteomics foundation models are currently available. As continued data acquisition and community contributions broaden its coverage, spora will support increasingly generalizable models that reveal how molecular and cellular organization shapes tissue function and disease.

Acknowledgments

spora is officially hosted by EMBL-EBI. We are deeply grateful to the BioImage Archive team, in particular Matthew Hartley, Aybuke Kupcu Yoldas, Teresa Zulueta Coarasa, Christina Ernst, Tushar Mandloi, and Daniel Marks, for integrating spora as an EMBL-EBI database. Their expertise in managing large-scale imaging data and their close and ongoing collaboration throughout the process were essential to establishing spora as a sustainable, openly accessible resource. We hope it will continue to grow as a community resource, with more researchers contributing their own datasets over time.

We thank the Research Computing Platform (RCP) at EPFL, especially Khadidja Malleck and Yoann Moulin, as well as Edward Andò and Florian Aymans at the EPFL Center for Imaging for storing and visualizing spora. We further acknowledge support from John W. Hickey, Garry Nolan, Federica Marchesi, Marika Viatore, James Monkman, Lasse Meyer, Christian Schürch, Jia-Ren Lin, Raza Ali, Magdalena Matusiak, and Gabriele Gut with accessing and analyzing the datasets.

This work was supported by the Swiss AI Initiative through a Swiss National Supercomputing Centre (CSCS) allocation under the Swiss AI Large Grants a146 and ab007 (“Virtual Patient Platform”), an AI2050 Early Career Fellowship, the EPFL AI Center PhD Fellowship program, and by the ISREC Foundation. Figure 1 created in BioRender: Klein, L. (2026) https://BioRender.com/j07qq2t.

Related Work

Histopathology atlases and benchmarks. Histopathology has been the testbed for the data-then-models trajectory in medical imaging. TCGA [14], CPTAC (Li et al., 2023), ACROBAT (Weitz et al., 2023), and HistAI [15] together provided H&E corpora at the scale of hundreds of thousands of WSIs, behind the current generation of histology foundation models [16, 17, 21]. Standardized benchmarks consolidated alongside the data: CAMELYON16 (Ehteshami Bejnordi et al., 2017) and CAMELYON17 (Bandi et al., 2019) for metastasis detection, PANDA (Bulten et al., 2022) for prostate cancer grading, AGGC (Huo et al., 2024) for gleason grading, or WSSS4LUAD (Han et al., 2022) for lung adenocarcinoma tissue differentiation.

Spatial transcriptomics atlases and benchmarks. Spatial transcriptomics is consolidating along the same trajectory on a shorter timeline. HEST-1k [20] and STOmicsDB [21] aggregated paired ST and H&E samples in unified formats, enabling the first wave of FM pretraining for the modality. HEST-Bench, released with HEST-1k, evaluates ST FMs on gene expression prediction from H&E and serves as the principal benchmark for the modality.

Single-cell RNA-seq atlases and benchmarks. Single-cell RNA-seq consolidated earlier than the spatial modalities and offers the clearest precedent. CELLxGENE [22] aggregates more than fifty million cells from thousands of studies into a single queryable resource with harmonized ontologies and metadata, supporting cross-study atlases and foundation models. scIB (Luecken et al., 2022) provided the first standardized comparison framework for atlas-level integration, and Open Problems in Single-Cell Analysis (Luecken et al., 2021) extended this to label transfer, denoising, and modality prediction. The trajectory illustrates how atlas-scale data and shared benchmarks compound, accelerating the field’s progress toward foundation models.

Spatial proteomics datasets and benchmarks. SP has not yet undergone this consolidation. Public SP cohorts are released study by study, each typically restricted to a single cancer type, technology, and institution [4, 36] (Wang et al. 2023; Fischer et al. 2023), and no resource of comparable scale to TCGA, HEST-1k, or CELLxGENE exists. The set of foundation models trained on SP is correspondingly limited and is described in §F.1. A complementary line of work synthesizes SP from H&E through virtual staining (Wu et al., 2025; Andani et al., 2025; Valanarasu et al., 2025; Li et al., 2026), but prediction quality varies across organs, cancer types, and markers, and cannot be validated without ground-truth SP on the target cohorts. On the evaluation side, no standardized large-scale SP benchmark exists: existing tasks are extracted from individual biological studies [36] (Wang et al. 2023; Lee et al. 2021), each confined to a single cohort and heterogeneous in organ, cancer type, technology, and target label, with baselines from classical computational biology rather than from comparable FM evaluation.

spora closes both gaps. It aggregates 35 cohorts under a single format with paired H&E where the source studies allow, and spora [bench] provides a unified cell- and tissue-level evaluation across cohorts, technologies, and cancer types, enabling the first head-to-head comparison of SP foundation models on a common protocol.

spora Dataset Metadata Overview

Example MX Images across Technologies

Example MX images and VirTues predicted instance cell masks for four CODEX datasets

Figure A4. Example mx images for four CODEX datasets with VirTues predicted instance cell masks.

Figure A5. Example mx images for two MIBI datasets with VirTues predicted instance cell masks.

Qualitative VirTues Segmentation Evaluation

We compared the VirTues foundation model–based segmentations against the classical instance segmentation algorithms used in the original studies and found the VirTues-based segmentations to be preferable in the large majority of cases. Figure A7 and Figure A8 provide qualitative comparisons across two cohorts that differ in both image acquisition technique and tissue of origin. Neither of the two original studies were included in the training of segmentation model.

For classical cell instance segmentation algorithms such as watershed- or star-convex polygon–based methods (e.g., StarDist), we observe a substantial number of failure modes. False positives are common, with single cells frequently fragmented into multiple instances—particularly for elongated morphologies such as fibroblasts. We further observe pronounced over- and under-segmentation for cells that deviate from a roughly round shape, as well as spurious segmentation of noise and imaging artifacts, which are especially prevalent in IMC and MIBI acquisitions. Under-segmentation arises in large part because these methods rely solely on a nuclear marker channel and do not exploit complementary markers that delineate cell shape and membrane boundaries. Conversely, over-segmentation occurs more frequently in CODEX images, where markers tend to appear more diffuse.

Because VirTues is a foundation model trained across diverse tissues and acquisition modalities, it is inherently more robust to noise and to the wide variability of cell morphologies encountered in highly multiplexed imaging. Moreover, VirTues leverages the full set of available markers rather than the nuclear channel alone, providing richer evidence for boundary delineation. These properties together yield consistently more accurate instance segmentations, which motivated our choice to include additionally VirTues-based segmentation masks in the data corpus.

spora [io] Library

Adaptive Greedy Tiling Algorithm

The following section details the candidate enumeration, purity filtering, and mask update steps that complete the tiling algorithm summarized in § 3.

Candidate enumeration. Given a stride Δ\Delta, tile positions are enumerated along each axis as

Y={0,Δ,2Δ,…}∪{H−c},X={0,Δ,2Δ,…}∪{W−c},(1)\mathcal{Y} = \{0, \Delta, 2\Delta, \ldots\} \cup\{H-c\}, \qquad\mathcal{X} = \{0, \Delta, 2\Delta, \ldots\} \cup\{W-c\}, \tag*{(1)}

yielding the candidate grid C=Y×X\mathcal{C} = \mathcal{Y} \times\mathcal{X}. The boundary positions H−cH-c and W−cW-c are added to ensure that tissue near image edges is not systematically excluded by the stride.

Purity filtering. For each (y,x)∈C(y,x) \in\mathcal{C}, let r(y,x)r(y,x) denote the number of valid (foreground) pixels the tile contains. The candidate set passed to the greedy procedure is

Cτ={(y,x)∈C:r(y,x)/c2≥1−τ},(2)\mathcal{C}_{\tau} = \left\{(y,x) \in\mathcal{C} : r(y,x)/c^{2} \ge1-\tau\right\}, \tag*{(2)}

where τ∈[0,1)\tau\in[0,1) is the purity tolerance. Setting τ\tau small forces tiles to be nearly all tissue; larger τ\tau admits boundary tiles that may contain biologically informative tissue margins at the cost of background pixels.

Mask update. At iteration tt, after selecting the tile of maximum marginal gain (yt,xt)(y_t,x_t), the uncovered mask is updated as

Ut+1=Ut⊙I{(i,j)∉T(yt,xt)},(3)U_{t+1} = U_t \odot\mathbb{I}\{(i,j) \notin T(y_t,x_t)\}, \tag*{(3)}

where ⊙\odot denotes element-wise product and I{⋅}\mathbb{I}\{\cdot\} is the indicator over pixel positions. Since T(yt,xt)T(y_t,x_t) is a contiguous rectangle, the update is performed in O(c2)O(c^{2}) time, independent of image size.

Hyperparameters. The algorithm exposes four hyperparameters: stride Δ\Delta, purity tolerance τ\tau, target coverage γ\gamma, and marginal-gain threshold α\alpha. Defaults used in spora are exposed through spora [io] and can be overridden per cohort. The tiles in spora are generated with: Δ=c/2\Delta= c/2, τ=0.95\tau= 0.95, γ=0.95\gamma= 0.95, and α=0.1\alpha= 0.1.

Figure A9. Tile distributions under classical grid tiling (≥10%\ge10\% tissue inclusion) compared with our coverage-optimized tiling (Δ=c/2\Delta= c/2, τ=0.95\tau= 0.95, γ=0.95\gamma= 0.95, α=0.1\alpha= 0.1). Tissue-to-background ratios show improved coverage under our method, particularly near image borders where grid tiling discards partial tiles or includes large out-of-image portions.

Multiplex Standardization

The following section details the standardization tables, default transformations, and extension routines summarized in § 3.

Standardization tables. For each selected tissue ii and channel cc, spora [io] retrieves an upper quantile qicupq_{ic}^{\mathrm{up}}, lower quantile qiclowq_{ic}^{\mathrm{low}}, mean μic\mu_{ic}, and standard deviation σic\sigma_{ic} from precomputed tables, and performs standardization in an optimized fashion. Channels with invalid standardization metadata are filtered out by a validity mask before preprocessing, so they do not corrupt the input.

Default transformations. spora [io] ships two default transformations. The first is quantile clipping followed by optional mean-standard-deviation normalization,

x~icuv=clip⁡(xicuv,qiclow,qicup)−qiclowqicup−qiclow+ε,zicuv=x~icuv−μicσic+ε.(4)\tilde{x}_{icuv} = \frac{\operatorname{clip}\left(x_{icuv},q_{ic}^{\mathrm{low}},q_{ic}^{\mathrm{up}}\right)-q_{ic}^{\mathrm{low}}}{q_{ic}^{\mathrm{up}}-q_{ic}^{\mathrm{low}}+\varepsilon}, \qquad z_{icuv} = \frac{\tilde{x}_{icuv}-\mu_{ic}}{\sigma_{ic}+\varepsilon}. \tag*{(4)}

This maps each marker channel to a bounded dynamic range while reducing the influence of rare saturated pixels or acquisition artifacts.

The second is a log-compressed variant,

x~icuv=log⁡(1+clip⁡(xicuv,qiclow,qicup)),zicuv=x~icuv−μicσic+ε,(5)\tilde{x}_{icuv} = \log\left(1+\operatorname{clip}\left(x_{icuv},q_{ic}^{\mathrm{low}},q_{ic}^{\mathrm{up}}\right)\right), \qquad z_{icuv} = \frac{\tilde{x}_{icuv}-\mu_{ic}}{\sigma_{ic}+\varepsilon}, \tag*{(5)}

which is useful for heavy-tailed marker distributions commonly observed in multiplex proteomics.

Extending to new datasets. spora [io] includes routines for computing tile coordinates under the optimized tiling strategy (§E.1) and tissue- and dataset-wise standardization statistics, so cohorts beyond those currently in spora can be integrated under the same protocol.

Tile visualizer and dataset explorer tools

Figure A10. a. Tile visualizer tool to compare different tiling hyperparameter visually. b. Dataset explorer command line tool that is part of spora [io] to explore and combine different cohorts based on meta data.

spora Benchmark

Foundation Models in Spatial Proteomics

Several foundation models for SP have appeared in recent literature. They differ primarily in how they handle high channel dimensionality and panel heterogeneity across studies.

VirTues [33] disentangles marker and spatial attention and tokenizes channels with protein language model embeddings, allowing the model to generalize to markers not seen during pretraining. The dual-axis attention design decouples spatial context from marker identity, so arbitrary panels can in principle be processed at inference time. Generalization to unseen markers, however, is mediated by the protein language model and is therefore bounded by its coverage and the quality of its embeddings for less-studied proteins. For all benchmarks, we use the model instance virtues-sp32 of VirTues.

KRONOS [25] adopts a panel-agnostic single-marker formulation with sinusoidal marker-identity encodings. Its pretraining corpus is partially non-redistributable: 44% of the data used for training is not publicly available. By treating each channel independently and identifying it through a fixed positional code, KRONOS sidesteps the need for any biological grounding of marker identity, but for the same reason cannot directly transfer semantic information across related markers. The non-public portion of its pretraining data further complicates reproduction and clean head-to-head comparison against models trained on fully open corpora.

Disclosure of Pretraining Exposure

Details on Cell Phenotyping Benchmarks

Benchmark procedure. For linear probing of the foundation-model-based cell representations, we follow each method’s own procedure to compute representations of the benchmark dataset. We discard all cells that are unlabeled or not assigned to a concrete cell phenotype from both training and evaluation. The remaining representations are standardized feature-wise using statistics computed on the train split and used to fit a logistic regression classifier with ℓ2\ell_2 regularization (inverse regularization strength C=1.0C = 1.0), which we evaluate on the test split.

For cross-cohort cell annotation, we likewise follow the annotation procedure of each benchmarked method. In contrast to the linear probe, we place no constraints on the prediction architecture or its training, with one crucial exception: no labels from the target cohort may be used for training, neither those of the train split nor those of the test split. As above, cells without a label or with an unspecific one are excluded from evaluation, and we report classification metrics on the test split of the target benchmark dataset.

Methods and baselines. For linear-probing, we compute cell tokens for KRONOS following the proposed approach for cell phenotyping: we extract a 64×6464 \times64 pixel window centered on the cell and, using the instance segmentation mask, set all pixels outside the cell to the marker-wise background value. The final cell representation is the concatenation of the individual marker embeddings. To match the training resolution of KRONOS, we resample all tissue images to 0.5 μm/px0.5\,\mu\mathrm{m}/\mathrm{px} before passing them to the model. VirTues-based cell tokens are generated with the authors’ original implementation (Wenckstern et al., [33]), using a tile size of 128×128128 \times128 pixels, a stride of 42 pixels and a patch size of 8×88 \times8 pixels.

For cross-cohort cell annotation, VirTues provides a semantic segmentation head, whose pixel-level predictions we aggregate by majority vote over the ground-truth instance segmentation masks to obtain single-cell predictions. Using the cell type annotations harmonized across all eight benchmark datasets, we train a separate segmentation head for each target dataset in a leave-one-dataset-out fashion, i.e. on the remaining seven datasets, following the training protocol of Wenckstern et al. [33]. KRONOS is omitted from this setting, as it does not provide a procedure for cross-cohort, cross-panel cell annotation.

Beyond spatial proteomics foundation models, we report cell annotation results for two specialized tools: astir (Guenich et al., 2021), a probabilistic framework for label-free cell type annotation, and MAPS (Shaban et al., 2024), an MLP-based classifier that we use for label transfer.

For astir, we curated a list of canonical markers for each annotation task and cell type, validated by biomedical experts. These marker sets are provided as configuration files in the spora [bench] repository. We apply astir to arcsinh-transformed mean single-cell marker intensities, arcsinh(x/cx/c). Unless stated otherwise, we follow the hyperparameter recommendations of the official documentation. The only exception is the arcsinh cofactor cc, for which a dataset-specific value improved performance: c=1280c = 1280 for lin2023high (Lin et al. [4]) and c=1c = 1 for all other datasets. By default, astir predicts two additional categories beyond the target cell types ("Unknown" and "Other"). We disable these to keep the label space comparable across methods. As astir is label-free, it uses no annotations from any cohort.

For MAPS, we select one source cohort per target benchmark cohort, preferring cohorts of the same tissue origin and, among those, the one sharing the largest number of markers with the target. The MLP is trained on normalized mean single-cell intensities of the markers shared between source and target cohort, with batch size b=128b = 128, a minimum of 100 and a maximum of 300 epochs, and early stopping with a patience of 20 epochs. The trained model is then applied to the target benchmark cohort for evaluation. The source cohort selected for each target is listed in Table A4.

Target benchmark cohortSelected source cohort
Cords et al. [7]Meyer et al. [39]
Cords et al. [36]Rigamonti et al. [26]
Danenberg et al. [37]Meyer et al. [39]
Lin et al. [4]Rigamonti et al. [26]
Meyer et al. [39]Cords et al. [7]
Moldoveanu et al. (2022)Danenberg et al. [37]
Rigamonti et al. [26]Cords et al. [36]
Eling et al. (2025)Danenberg et al. [37]

Table A4. Source cohort selected for training the MAPS label-transfer model for each target benchmark cohort. Source cohorts were chosen to match the tissue origin of the target where possible and to maximize the number of shared markers.

Further results. We report further benchmark results in Table A5-Table A15.

Model ClassKRONOSVirTues
Fibroblast-0.780 [.778, .781]
Immune cell-0.739 [.738, .741]
T cell-0.772 [.770, .775]
Tumor cell-0.943 [.942, .943]
Vascular cell-0.549 [.543, .555]

Table A7. Detailed cell phenotyping results for cords2024cancer ([36]). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown. Results for KRONOS are omitted because the high dimensionality of its cell embeddings, combined with the large number of cells, made logistic regression computationally infeasible.

Model ClassKRONOSVirTues
Antigen-presenting cell0.099 [.081, .117]0.251 [.230, .272]
B/plasma cell0.427 [.417, .437]0.798 [.792, .804]
ER- epithelial cell0.512 [.510, .515]0.674 [.671, .677]
ER+ epithelial cell0.342 [.337, .347]0.582 [.578, .586]
Myeloid cell0.348 [.341, .354]0.596 [.590, .602]
NK cell0.023 [.016, .030]0.487 [.470, .502]
Stromal cell0.645 [.642, .649]0.834 [.832, .836]
T cell0.444 [.436, .452]0.665 [.658, .671]

Table A8. Detailed cell phenotyping results for danenberg2022breast ([37]). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

Model ClassKRONOSVirTues
Lymphocyte0.500 [.467, .530]0.838 [.820, .856]
Macrophage0.643 [.630, .656]0.829 [.819, .837]
Stromal cell0.325 [.309, .341]0.626 [.613, .639]
T cell0.618 [.609, .627]0.949 [.945, .952]
Tumor cell0.785 [.781, .788]0.937 [.935, .939]

Table A9. Detailed cell phenotyping results for hoch2022multiplexed ([38]). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

ModelKRONOSVirTues
Class
B cell0.557 [.545, .568]0.762 [.753, .770]
CD8 T cell0.495 [.485, .504]0.672 [.664, .679]
Endothelial cell0.396 [.387, .405]0.815 [.809, .820]
Exhausted CD8 T cell0.067 [.058, .076]0.309 [.275, .343]
M2-like macrophage0.483 [.476, .490]0.704 [.698, .710]
Macrophage0.523 [.519, .526]0.668 [.665, .671]
Memory T cell0.207 [.198, .216]0.547 [.534, .561]
PD-L1+ tumor cell0.195 [.181, .210]0.275 [.260, .290]
Stroma0.358 [.355, .361]0.788 [.786, .790]
T cell0.145 [.141, .149]0.433 [.423, .442]
CD4 T cell0.486 [.478, .495]0.670 [.663, .677]
Regulatory T cell0.553 [.540, .566]0.650 [.638, .661]
Tumor0.759 [.758, .761]0.958 [.957, .958]
Vascular smooth muscle0.373 [.367, .379]0.735 [.731, .740]

Table A10. Detailed cell phenotyping results for lin2023highsubset [4]. F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

ModelKRONOSVirTues
Class
B cell0.541 [.530, .553]0.851 [.845, .858]
CD4 T cell0.557 [.548, .566]0.834 [.828, .839]
CD8 T cell0.596 [.587, .605]0.831 [.825, .836]
Endothelial cell0.435 [.427, .444]0.758 [.752, .763]
HLA-DR+ cell0.107 [.090, .125]0.312 [.289, .333]
Immune-low cell0.370 [.350, .389]0.598 [.581, .616]
Monocyte0.511 [.504, .518]0.761 [.756, .765]
Neutrophil0.280 [.262, .297]0.476 [.457, .494]
Stromal cell0.578 [.572, .585]0.789 [.784, .793]
Tumor cell0.821 [.819, .822]0.968 [.967, .968]

Table A11. Detailed cell phenotyping results for meyer2025stratification [39]. F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

ModelKRONOSVirTues
Class
B cell0.218 [.154, .282]0.626 [.556, .691]
Endothelial cell0.750 [.727, .772]0.940 [.931, .950]
Activated CD8 T cell0.625 [.596, .654]0.798 [.778, .818]
Naive CD8 T cell0.347 [.296, .394]0.525 [.474, .576]
Activated CD4 T cell0.519 [.475, .565]0.715 [.677, .750]
Naive CD4 T cell0.279 [.211, .349]0.338 [.257, .423]
Regulatory T cell0.412 [.345, .476]0.662 [.604, .719]
Macrophage/monocyte0.648 [.638, .658]0.868 [.862, .875]
Melanocyte0.911 [.909, .914]0.974 [.972, .975]

Table A12. Detailed cell phenotyping results for moldoveanu2022spatially (Moldoveanu et al., 2022). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

ClassKRONOSVirTues
B cell0.330 [.284, .382]0.720 [.685, .754]
Epithelial cell0.602 [.590, .614]0.945 [.941, .949]
Langerhans cell0.210 [.152, .266]0.328 [.262, .395]
Mast cell0.553 [.456, .639]0.754 [.692, .813]
Myeloid cell0.464 [.448, .480]0.757 [.747, .768]
Nerve cell0.230 [.138, .317]0.621 [.528, .714]
Neutrophil0.502 [.388, .607]0.826 [.757, .883]
Stromal cell0.475 [.455, .494]0.716 [.701, .730]
T cell0.286 [.265, .306]0.532 [.515, .549]
Tumor0.681 [.675, .687]0.841 [.836, .846]
Vascular cell0.475 [.450, .502]0.826 [.808, .841]

Table A13. Detailed cell phenotyping results for phillips2021immune (Phillips et al., 2021). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

ClassKRONOSVirTues
B cell0.666 [.648, .683]0.795 [.782, .807]
CD4 T cell0.572 [.556, .588]0.712 [.700, .725]
CD8 T cell0.673 [.662, .684]0.807 [.798, .816]
Ki67+ cell0.114 [.057, .180]0.224 [.150, .295]
Macrophage0.613 [.602, .622]0.728 [.719, .736]
Regulatory T cell0.472 [.440, .500]0.614 [.588, .639]
Tumor cell0.926 [.925, .928]0.966 [.965, .967]
Vimentin+ cell0.390 [.375, .404]0.573 [.561, .585]
aSMA+ cell0.615 [.604, .625]0.760 [.752, .768]
Vessel0.729 [.720, .737]0.810 [.803, .818]

Table A14. Detailed cell phenotyping results for rigamonti2024integrating (Rigamonti et al., [26]). F1-scores and bootstrapped 95% confidence intervals per cell phenotype are shown.

Details on Instance Segmentation Benchmarks

Benchmark procedure. The instance segmentation benchmark is evaluated zero-shot, i.e., no method may be trained on segmentation masks of the target benchmark cohort. For each tissue image in the test split, we predict a cell instance segmentation mask following the method-specific procedure. To compute the instance F1-score at an IoU threshold τ\tau, predicted and ground-truth instances are matched as follows. We compute the IoU for every pair of predicted and ground-truth instances, discard all pairs with IoU <τ< \tau, and determine a maximum-weight bipartite matching on the remaining pairs, with the IoU as edge weight. Matched pairs are counted as true positives, unmatched predictions as false positives and unmatched ground-truth instances as false negatives. For large tissues, matchings and corresponding counts are calculated chunk-wise using tiles of size 1024×10241024 \times1024 pixels. Finally, we compute precision, recall and the instance F1-scores by pooling counts across tiles and tissues.

Methods and baselines. VirTues provides an instance segmentation head. To satisfy the zero-shot constraint of the benchmark, we train a separate head for each of the eight benchmark datasets in a leave-one-dataset-out fashion, i.e. on the remaining seven datasets, following the training protocol of Wenckstern et al. [33]. The resulting head is then applied to the held-out target dataset without any further adaptation.

In addition to VirTues, we benchmark three widely used, general-purpose cell segmentation tools. All three are applied with their publicly available pretrained weights and without any fine-tuning, so the zero-shot constraint is satisfied by construction. Since these methods expect one or two grayscale channels rather than a full protein panel, we curate a panel-independent mapping from UniProt identifiers to nuclear and cytoplasmic/membrane markers; the marker lists are provided as configuration files in the spora [bench] repository.

We use the pretrained cpsam_v2 model of Cellpose (Pachitariu et al. (2025)) in a two-channel configuration. The cytoplasm channel is formed by normalizing each cytoplasmic and membrane marker to its 1st–99th intensity percentile, clipping to [0, 1] and averaging the resulting channels; the nuclear channel is given by the nuclear marker (Histone H3). For images without a nuclear marker in the panel, we fall back to single-channel cytoplasm segmentation. All remaining parameters are left at their defaults.

For StarDist (Weigert and Schmidt (2022)) we utilize the pretrained 2D_versatile_fluo model instance, applied to the percentile-normalized nuclear marker channel (Histone H3) with default prediction parameters. As StarDist operates on nuclei only, datasets whose panel contains no nuclear marker cannot be processed and are excluded from its evaluation.

Lastly, for InstanSeg (Goldsborough et al. (2024)) we employ the pretrained fluorescence_nuclei_and_cells model instance and apply it to the full marker stack with the built-in normalization enabled, and retain the predicted whole-cell masks.

Results. We report benchmark results per dataset in terms of instance F1-score at τ=0.5\tau= 0.5 IoU threshold in Table A16.

Details on Diagnostics and Therapeutic Prediction Benchmarks

Benchmark procedure. Tissue-level tasks are evaluated with a common multiple-instance learning pipeline, so that methods differ only in how tissue representations are computed. For each tissue image, we sample non-overlapping crops from a regular grid and retain those covering at least 30% tissue. Each method then encodes the retained crops into a bag of embeddings, and the bag is aggregated and classified by a gated multi-head attention-based MIL (ABMIL) model (Ilse et al. (2018)) with 8 attention heads and a hidden dimension of 256. We train ABMIL with Adam (Kingma and Ba (2015)), a batch size of 24, a learning rate of 5×10−45 \times10^{-4}, a weight decay of 10−510^{-5} and cross-entropy loss, for at most 100 epochs with early stopping on the validation loss and a patience of 10 epochs. For every dataset, we use a patient-level 80/20 train-test split and hold out a stratified 20% subset of the training data for validation.

Several label spaces are coarsened prior to training. For cancer subtyping on cords2024cancer, we restrict the task to the two major subtypes, adenocarcinoma and squamous cell carcinoma. For cancer grading on cords2024cancer and danenberg2022breast, we group the three grades {1,2,3}\{1, 2, 3\} into {1–2,3}\{1\text{--}2, 3\}, and for risk stratification on meyer2025stratification we group the provided risk levels into {low–medium,high}\{\text{low--medium}, \text{high}\}, in both cases to reduce class imbalance.

Methods and baselines. We evaluate three tissue encoders: KRONOS (Shaban et al. [25]), VirTues (Wenckstern et al. [33]) and a ResNet-based encoding approach (Sorin et al. [23]). In all three cases, image preprocessing uses dataset-wise, per-channel statistics.

For KRONOS, we resample all images to the pre-training resolution of 0.5 µm/px and map the channel names provided by the spora [io] tissue loader to the KRONOS channel index. Using a tile size of 224×224224 \times224 pixels, each tile is represented by the concatenation of its per-marker embeddings. Following Shaban et al. [25], we reduce the resulting tile-level tokens with a PCA to 256 principal components. Images are preprocessed by 99th-percentile clipping followed by z-score normalization.

Following the original implementation of VirTues, we compute bags of 8×88 \times8 px patch tokens using a tile size of 128×128128 \times128 px at a resolution of 1 µm/px, and take the bag of final-layer patch summary tokens as tile representations. Images are preprocessed by 99th-percentile clipping, a log⁡(1+x)\log(1+x) transformation and z-score normalization.

We initialize a ResNet-50 with ImageNet-1k pre-trained weights and encode each marker channel of a 224×224224 \times224 px tile separately, replicating the channel three times to imitate an RGB input. For each channel we extract the penultimate-layer features and concatenate them across channels. Following Sorin et al. [23], the concatenated embeddings are reduced with a sparse mini-batch PCA to the top 9 principal components. Images are preprocessed by 99th-percentile clipping, a log⁡(1+x)\log(1+x) transformation and z-score normalization.

Additional Virtual Staining Results

Table A18: Per-marker virtual staining results on Lin et al. [4]. Pearson correlation and SSIM for every marker predicted by at least one model. Dashes mark markers absent from a model’s output panel (GigaTIME: 10, HistoPlexer: 3, ROSIE: 15). Best performing model per marker and metric is shown in bold.

MarkerGigaTIMEHistoPlexerROSIE
Pearson ↑SSIM ↑Pearson ↑SSIM ↑Pearson ↑SSIM ↑
CD163––––0.0300.228
CD200.0390.164−0.0040.0530.0690.254
CD30.0620.2400.0090.0170.0690.399
CD40.0790.304––0.0750.316
CD45––––0.1190.265
CD45RO––––0.1300.320
CD680.0260.403––0.0530.284
CD80.0380.3940.0070.0990.0600.251
DAPI0.2100.298––0.2500.189
ECAD––––0.0580.208
KI670.0870.267––0.0750.244
PANCK0.0590.180––0.0400.173
PD10.0930.156––0.0590.236
PDL10.0820.230––0.0690.303
SMA––––0.0520.300

Table A18.

MarkerGigaTIMEHistoPlexerROSIE
Pearson ↑\uparrowSSIM ↑\uparrowPearson ↑\uparrowSSIM ↑\uparrowPearson ↑\uparrowSSIM ↑\uparrow
BCL2––––0.1380.096
CD11C0.0690.312––0.0280.106
CD1380.0850.223––––
CD160.1250.4170.0140.342––
CD163––––0.0430.038
CD200.0290.2810.0000.6600.0270.052
CD30.2100.2970.0040.4170.0940.142
CD31––0.0000.7900.0560.022
CD340.0510.315––0.0800.080
CD38––––0.1400.103
CD40.1820.352––0.0440.089
CD45––––0.1030.090
CD45RO––––0.0420.052
CD680.0720.340––0.0820.111
CD80.0790.3050.0050.6510.0600.035
COLLAGENIV––––0.1110.072
DAPI0.3830.238––0.3850.128
FOXP3––––0.0790.058
GATA3––––0.0970.075
GRANZYMEB––––-0.0030.006
HLADR––0.0100.5950.0590.076
ICOS––––0.1110.191
IDO1––––0.0500.222
KI670.0970.240––0.1060.151
LAG3––––0.1410.122
PANCK0.0220.369––0.0320.048
PD10.1990.243––0.1370.114
PDL10.1210.287––0.0540.180
PODOPLANIN––––0.0140.059
TBET0.1630.228––––
VIMENTIN––––0.0980.149
VISTA––––0.0940.168

Table A19. Table A19: Per-marker virtual staining results: Phillips et al. (2021). Pearson correlation and SSIM for every marker predicted by at least one model. Dashes mark markers absent from a model’s output panel (GigaTIME: 15, HistoPlexer: 6, ROSIE: 29). Best performing model per marker and metric is shown in bold.

References

  1. [1]Charlotte Giesen, Hao A. O. Wang, Denis Schapiro, Nevena Zivanovic, Andrea Jacobs, Bodo Hattendorf, Peter J. Schüffler, Daniel Grolimund, Joachim M. Bühlmann, Simone Brandt, Zsuzsanna Varga, Peter J. Wild, Detlef Günther, and Bernd Bodenmiller. Highly multiplexed imaging of tumor tissues with subcellular resolution by mass cytometry. Nature Methods, 11(4):417–422, 2014.DOI
  2. [2]Sarah Black, Darci Phillips, John W. Hickey, Julia Kennedy-Darling, Vishal G. Venkatar aaman, Nikolay Samusik, Yury Goltsev, Christian M. Schürch, and Garry P. Nolan. CODEX multiplexed tissue imaging with DNA-conjugated antibodies. Nature Protocols, 16(8):3802–3835, 2021.DOI
  3. [3]Leeat Keren, Marc Bosse, Steve Thompson, Tyler Risom, Kausalia Vijayaragavan, Erin McCaffrey, Diana Marquez, Roshan Anghoshtari, Noah F. Greenwald, Harris Fienberg, Jennifer Wang, Neeraja Kambham, David Kirkwood, Garry Nolan, Thomas J. Montine, Stephen J. Galli, Robert West, Sean C. Bendall, and Michael Angelo. MIBI-TOF: A multiplexed imaging platform relates cellular phenotypes and tissue structure. Science Advances, 5(10):eaax5851, 2019.
  4. [4]Jia-Ren Lin, Yu-An Chen, Daniel Campton, Jeremy Cooper, Shannon Coy, Clarence Yapp, Juliann B. Tefft, Erin McCarty, Keith L. Ligon, Scott J. Rodig, et al. High-plex immunofluorescence imaging and traditional histology of the same tissue section for discovering image-based biomarkers. Nature Cancer, 4(7):1036–1052, 2023a.
  5. [5]Mengyao Wu, Huihui Tao, Tiantian Xu, Xuejia Zheng, Chunmei Wen, Guoying Wang, Yali Peng, and Yong Dai. Spatial proteomics: unveiling the multidimensional landscape of protein localization in human diseases. Proteome Science, 22(1):7, 2024.
  6. [6]Nature Eds. Method of the Year 2024: spatial proteomics. Nature Methods, 21(12):2195–2196, 2024.DOI
  7. [7]Lena Cords, Sandra Tietscher, Tobias Anzeneder, Claus Langwieder, Martin Rees, Natalie de Souza, and Bernd Bodenmiller. Cancer-associated fibroblast classification in single-cell and spatial proteomics data. Nature Communications, 14(1):4294, 2023.
  8. [8]Henrike Salié, Lara Wischer, Antonio D’Alessio, Ira Godbole, Yuan Suo, Patricia Otto-Mora, Juergen Beck, Olaf Neumann, Albrecht Stenzinger, Peter Schirmacher, et al. Spatial single-cell profiling and neighbourhood analysis reveal the determinants of immune architecture connected to checkpoint inhibitor therapy outcome in hepatocellular carcinoma. Gut, 74(3):451–466, 2025.
  9. [9]Xu Xiao, Qian Guo, Chuanliang Cui, Yating Lin, Lei Zhang, Xin Ding, Qiyuan Li, Minshu Wang, Wenxian Yang, Yan Kong, et al. Multiplexed imaging mass cytometry reveals distinct tumor-immune microenvironments linked to immunotherapy responses in melanoma. Communications Medicine, 2(1):131, 2022.
  10. [10]Daniela F. Quail and Logan A. Walsh. Revolutionizing cancer research with spatial proteomics and visual intelligence. Nature Methods, 21(12):2216–2219, 2024.
  11. [11]Yunhe Liu, Yibo Dai, and Linghua Wang. Spatial omics at the forefront: emerging technologies, analytical innovations, and clinical applications. Cancer Cell, 44(1):24–49, 2026.
  12. [12]Rishi Bommasani, Drew A. Hudson, Ehsan Adeli, Russ B. Altman, Simran Arora, Sydney von Arx, Michael S. Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, Erik Brynjolfsson, Shyamal Buch, Dallas Card, Rodrigo Castellon, Niladri S. Chatterji, Annie S. Chen, Kathleen Creel, Jared Quincy Davis, Dorottya Demszky, Chris Donahue, Moussa Doumbouya, Esin Durmus, Stefano Ermon, John Etchemendy, Kawin Ethayarajh, Ji Fei-Fei, Chelsea Finn, Trevor Gale, Lauren Gillespie, Karan Goel, Noah D. Goodman, Shelby Grossman, Neel Guha, Tatsunori Hashimoto, Peter Henderson, John Hewitt, Daniel E. Ho, Jenny Hong, Kyle Hsu, Jing Huang, Thomas Icard, Saahil Jain, Dan Jurafsky, Pratyusha Kalluri, Siddharth Karamcheti, Geoff Keeling, Fereshte Khani, Amir Khattab, Pang Wei Koh, Mark S. Krass, Ranjay Krishna, Rohith Kudithipudi, et al. On the Opportunities and Risks of Foundation Models. arXiv preprint arXiv:2108.07258, 2021.arxiv.org/abs/2108.07258
  13. [13]Gabriele Campanella, Shengjia Chen, Manbir Singh, Ruchika Verma, Silke Muehlstedt, Jennifer Zeng, Aryeh Stock, Matt Croken, Brandon Veremis, Abdulkadir Elmas, et al. A clinical benchmark of public self-supervised pathology foundation models. Nature Communications, 16(1):3640, 2025.DOI
  14. [14]Katarzyna Tomczak, Patrycja Czerwińska, and Maciej Wiznerowicz. The Cancer Genome Atlas (TCGA): an immeasurable source of knowledge. Contemporary Oncology/Współczesna Onkologia, 19(1A):A68–A77, 2015.DOI
  15. [15]Dmitry Nechaev, Alexey Pchelnikov, and Ekaterina Ivanova. HISTAI: An Open-Source, Large-Scale Whole Slide Image Dataset for Computational Pathology. arXiv preprint arXiv:2505.12120, 2025.arxiv.org/abs/2505.12120
  16. [16]Richard J. Chen, Tong Ding, Ming Y. Lu, Drew F. K. Williamson, Guillaume Jaume, Andrew H. Song, Bowen Chen, Andrew Zhang, Daniel Shao, Muhammad Shaban, Mane Williams, Lukas Oldenburg, Luca L. Weishaupt, Judy J. Wang, Anurag Vaidya, Long Phi Le, Georg Gerber, Sharifa Sahai, Walt Williams, and Faisal Mahmood. Towards a general-purpose foundation model for computational pathology. Nature Medicine, 30(3):850–862, 2024.DOI
  17. [17]Eric Zimmermann, Eugene Vorontsov, Julian Viret, Adam Casson, Michal Zelechowski, George Shaikovski, Neil Tenenholtz, James Hall, David Klimstra, Razik Yousfi, et al. Virchow2: Scaling Self-Supervised Mixed Magnification Models in Pathology. arXiv preprint arXiv:2408.00738, 2024.arxiv.org/abs/2408.00738
  18. [18]Charlie Saillard, Rodolphe Jenatton, Felipe Llinares-López, Zelda Mariet, David Cahané, Eric Durand, and Jean-Philippe Vert. H-optimus-0, 2024. URL https://github.com/bioptimus/releases/tree/main/models/h-optimus/v0.
  19. [20]Guillaume Jaume, Paul Doucet, Andrew H. Song, Ming Y. Lu, Cristina Almagro-Perez, Sophia J. Wagner, Anurag J. Vaidya, Richard J. Chen, Drew F. K. Williamson, Ahrong Kim, and Faisal Mahmood. HEST-1k: A Dataset for Spatial Transcriptomics and Histology Image Analysis. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024.arxiv.org/abs/2406.16192
  20. [21]Zhicheng Xu, Weiwen Wang, Tao Yang, Ling Li, Xizheng Ma, Jing Chen, Jieyu Wang, Yan Huang, Joshua Gould, Huifang Lu, et al. STOmicsDB: a comprehensive database for spatial transcriptomics data sharing, analysis and visualization. Nucleic Acids Research, 52(D1):D1053–D1061, 2024a.DOI
  21. [22]CZI Cell Science Program, Shibla Abdulla, Brian Aevermann, Pedro Assis, Seve Badajoz, Sidney M. Bell, Emanuele Bezzi, Batuhan Cakir, Jim Chaffer, Signe Chambers, J. Michael Cherry, Tiffany Chi, Jennifer Chien, Leah Dorman, Pablo Garcia-Nieto, Nayib Gloria, Mim Hastie, Daniel Hegeman, Jason Hilton, Timmy Huang, Amanda Infeld, Ana-Maria Istrate, Ivana Jelic, Kuni Katsuya, Yang Joon Kim, Karen Liang, Mike Lin, Maximilian Lombardo, Bailey Marshall, Bruce Martin, Fran McDade, Colin Megill, Nikhil Patel, Alexander Predeus, Brian Raymor, Behnam Robatmil i, Dave Rogers, Erica Rutherford, Dana Sadgat, Andrew Shin, Corinn Small, Trent Smith, Prathap Sridharan, Alexander Tarashansky, Norbert Tavares, Harley Thomas, Andrew Tolopko, Meghan Urisko, Joyce Yan, Garabet Yertessian, Jennifer Zamanian, Arathi Mani, Jonah Cool, and Ambrose Carr. CZ CELLxGENE Discover: a single-cell data platform for scalable exploration, analysis and modeling of aggregated data. Nucleic Acids Research, 53(D1):D886–D900, 2025.DOI
  22. [23]Mark Sorin, Morteza Rezanejad, Elham Karimi, Benoit Fiset, Lysanne Desharnais, Lucas J. M. Perus, Simon Milette, Miranda W. Yu, Sarah M. Maritan, Samuel Doré, et al. Single-cell spatial landscapes of the lung tumour immune microenvironment. Nature, 614(7948):548–554, 2023.
  23. [24]Oren Kraus, Kian Kenyon-Dean, Saber Saberian, Maryam Fallah, Peter McLean, Jess Leung, Vasudev Sharma, Ayla Khan, Jia Balakrishnan, Safiye Celik, et al. Masked Autoencoders for Microscopy are Scalable Learners of Cellular Biology. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 11757–11768, 2024.DOI
  24. [25]Muhammad Shaban, Yuzhou Chang, Huaying Qiu, Yao Yu Yeo, Andrew H. Song, Guillaume Jaume, Yuchen Wang, Luca L. Weishaupt, Tong Ding, Anurag Vaidya, et al. A Foundation Model for Spatial Proteomics. arXiv preprint arXiv:2506.03373, 2025.arxiv.org/abs/2506.03373
  25. [26]Alessandra Rigamonti, Marika Viatore, Rebecca Polidori, Daoud Rahal, Marco Erreni, Maria Rita Fumagalli, Damiano Zanin, Andrea Doni, Anna Rita Putignano, Paola Bossi, et al. Integrating AI-Powered Digital Pathology and Imaging Mass Cytometry Identifies Key Classifiers of Tumor Cells, Stroma, and Immune Cells in Non–Small Cell Lung Cancer. Cancer Research, 84(7):1165–1177, 2024.
  26. [27]Benjamin Ruf, Matthias Bruhns, Sepideh Babaei, Noemi Kedei, Lichun Ma, Mahler Revsine, Mohamed-Reda Bemmbarek, Chi Ma, Bernd Heinrich, Varun Subramanyam, et al. Tumor-associated macrophages trigger MAIT cell dysfunction at the HCC invasive margin. Cell, 186(17):3686–3705, 2023.DOI
  27. [28]Ritika Kundra, Hongxin Zhang, Robert Sheridan, Sahussapont Joseph Sirintrapun, Avery Wang, Angelica Ochoa, Manda Wilson, Benjamin Gross, Yichao Sun, Ramyasree Madupuri, et al. OncoTree: A Cancer Classification System for Precision Oncology. JCO Clinical Cancer Informatics, 5:221–230, 2021.DOI
  28. [29]Josh Moore, Daniela Basurto-Lozada, Sébastien Besson, John Bogovic, Jordão Bragantini, Eva M. Brown, Jean-Marie Burel, Xavier Casas Moreno, Gustavo de Medeiros, Erin E. Diel, et al. OME-Zarr: a cloud-optimized bioimaging file format with international community support. Histochemistry and Cell Biology, 160(3):223–251, 2023.DOI
  29. [30]Peter Bankhead, Maurice B Loughrey, José A Fernández, Yvonne Dombrowski, Darragh G McArt, Philip D Dunne, Stephen McQuaid, Ronan T Gray, Liam J Murray, Helen G Coleman, et al. QuPath: Open source software for digital pathology image analysis. Scientific reports, 7(1):16878, 2017.DOI
  30. [31]Nicholas Sofroniew, Talley Lambert, Grzegorz Bokota, Juan Nunez-Iglesias, Peter Sobolewski, Andrew Sweet, Lorenzo Gaifas, Kira Evans, Alister Burt, Draga Doncila Pop, et al. napari: a multi-dimensional image viewer for python. Zenodo, 2022.
  31. [32]Johannes Schindelin, Ignacio Arganda-Carreras, Erwin Frise, Verena Kaynig, Mark Longair, Tobias Pietzsch, Stephan Preibisch, Curtis Rueden, Stephan Saalfeld, Benjamin Schmid, et al. Fiji: an open-source platform for biological-image analysis. Nature methods, 9(7):676–682, 2012.DOI
  32. [33]Johann Wenckstern, Eeshaan Jain, Benedikt von Querfurth, Yexiang Cheng, Kiril Vasilev, Matteo Pariset, Phil F. Cheng, Petros Liakopoulos, Olivier Michielin, Andreas Wicki, et al. The Virtual Tissues foundation model resolves spatial proteomics across scales. Nature, 657(8132):744–754, 2026.DOI
  33. [34]Dorit S. Hochbaum and Anu Pathria. Analysis of the greedy approach in problems of maximum k-coverage. Naval Research Logistics, 45(6):615–627, 1998.doi.org/10.1002/(sici)1520-6750(199809)45:6<615::aid-nav5>3.0.co;2-5
  34. [35]George L. Nemhauser, Laurence A. Wolsey, and Marshall L. Fisher. An analysis of approximations for maximizing submodular set functions—I. Mathematical Programming, 14(1):265–294, 1978.DOI
  35. [36]Lena Cords, Stefanie Engler, Martina Haberecker, Jan Hendrik Rüschhoff, Holger Moch, Natalie de Souza, and Bernd Bodenmiller. Cancer-associated fibroblast phenotypes are associated with patient outcome in non-small cell lung cancer. Cancer Cell, 42(3):396–412, 2024.DOI
  36. [37]Esther Danenberg, Helen Bardwell, Vito R. T. Zanotelli, Elena Provenzano, Suet-Feung Chin, Oscar M. Rueda, Andrew Green, Emad Rakha, Samuel Aparicio, Ian O. Ellis, et al. Breast tumor microenvironment structures are associated with genomic features and clinical outcome. Nature Genetics, 54(5):660–669, 2022.
  37. [38]Tobias Hoch, Daniel Schulz, Nils Eling, Julia Martínez Gómez, Mitchell P. Levesque, and Bernd Bodenmiller. Multiplexed imaging mass cytometry of the chemokine milieu in melanoma characterizes features of the response to immunotherapy. Science Immunology, 7(70):eabk1692, 2022.DOI
  38. [39]Lasse Meyer, Hartland W. Jackson, Nils Eling, Shan Zhao, Genki Usui, Haithem Dakhli, Peter Schraml, Susanne Dettwiler, Constanze Elfgen, Zsuzsanna Varga, et al. A stratification system for breast cancer based on basoluminal tumor cells and spatial tumor architecture. Cancer Cell, 43(9):1637–1655, 2025.

Paper details

vlnc:W_k8u6p2gg
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents