English

Patch-Wise Hypergraph Contrastive Learning with Dual Normal Distribution Weighting for Multi-Domain Stain Transfer

Computer Vision and Pattern Recognition 2026-04-07 v2

Abstract

Virtual stain transfer leverages computer-assisted technology to transform the histochemical staining patterns of tissue samples into other staining types. However, existing methods often lose detailed pathological information due to the limitations of the cycle consistency assumption. To address this challenge, we propose STNHCL, a hypergraph-based patch-wise contrastive learning method. STNHCL captures higher-order relationships among patches through hypergraph modeling, ensuring consistent higher-order topology between input and output images. Additionally, we introduce a novel negative sample weighting strategy that leverages discriminator heatmaps to apply different weights based on the Gaussian distribution for tissue and background, thereby enhancing traditional weighting methods. Experiments demonstrate that STNHCL achieves state-of-the-art performance in the two main categories of stain transfer tasks. Furthermore, our model also performs excellently in downstream tasks. Code is available at https://github.com/Whywwwzzzg/STNHCL

Keywords

Cite

@article{arxiv.2503.09523,
  title  = {Patch-Wise Hypergraph Contrastive Learning with Dual Normal Distribution Weighting for Multi-Domain Stain Transfer},
  author = {Haiyan Wei and Hangrui Xu and Bingxu Zhu and Yulian Geng and Aolei Liu and Wenfei Yin and Jian Liu},
  journal= {arXiv preprint arXiv:2503.09523},
  year   = {2026}
}

Comments

Accepted to ICME 2025

R2 v1 2026-06-28T22:17:47.673Z