mlsanityData to 14 Oct 2026

HAPS: Rethinking Image Similarity for Virtual Staining

arXiv 2605.20362 ↗First posted 19 May 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Virtual staining of histopathology images (e.g., H&E-IHC) is an emerging tool in digital pathology, enabling faster and cheaper workflows by synthesizing target stains from routinely acquired slides. Yet, the quality of virtual staining models is still predominantly assessed with generic metrics such as SSIM, PSNR, and LPIPS. Originally developed for natural images, these metrics are inherently misaligned with the domain-specific characteristics of histological data, failing to capture tissue morphology preservation and biomarker expression patterns. Consequently, a robust, domain-specific standard for quantifying similarity across diverse histological modalities remains a critical gap in the field. In this work, we formalize histology image similarity as a standalone problem and systematically evaluate a broad set of full-reference metrics against a dataset of H&E-IHC patch pairs annotated with expert similarity scores. We further analyze metrics sensitivity to controlled geometric distortions (shifts, rotations and non-rigid deformations) that mimic realistic registration errors between serial sections. Guided by these observations, we propose the Histology-Aware Perceptual Similarity (HAPS) metric. HAPS computes distances in the feature space of a frozen encoder pretrained on histopathology data, adding a linear head to aggregate feature-level differences into a final score that aligns with expert assessments. Finally, we demonstrate the practical value of HAPS for quality control of training data. By quantifying the similarity of training pairs in the MIST dataset and filtering low-scoring samples, we create a cleaner training set. Virtual staining models trained on this refined data outperform those trained on the original, unfiltered dataset.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 29 references that are in the map. First posted on arXiv 19 May 2026.

Builds on

10 of 29 references.

References · 10

  1. 2022BCI: Breast Cancer Immunohistochemical Image Generation through Pyramid Pix2pixcited by 61
  2. 2020Deep learning-based transformation of the H&E stain into special stainscited by 55
  3. 2023Adaptive Supervised PatchNCE Loss for Learning H&E-to-IHC Stain Translation with Inconsistent Groundtruth Image Pairscited by 38
  4. 2019GAN-based Virtual Re-Staining: A Promising Solution for Whole Slide Image Analysiscited by 22
  5. 2024Pathological Semantics-Preserving Learning for H&E-to-IHC Virtual Stainingcited by 21
  6. 2024A study of why we need to reassess full reference image quality assessment with medical imagescited by 17
  7. 2024StainDiffuser: MultiTask Dual Diffusion Model for Virtual Stainingcited by 11
  8. 2019Weakly Supervised Fine Tuning Approach for Brain Tumor Segmentation Problemcited by 2
  9. 2025Conditional Consistency Guided Image Translation and Enhancementcited by 2
  10. 2025Pathology-Guided Virtual Staining Metric for Evaluation and Trainingcited by 1

Built on by

Not cited yet.