SAR2Net: Learning Spatially Anchored Representations for Retrieval-Guided Cross-Stain Alignment

Tianle Shen, Fang Yan, Xiaofan Zhang
10/19/2026
cs.CV

Official code: Shentl/SAR2Net (1 star, last commit 2026-03-13).

Abstract

Achieving spatial alignment between whole-slide images(WSIs) across stains is essential for integrating morphology and molecular information, yet it remains challenging due to extreme resolution, tissue fragmentation, and large nonlinear deformations. Conventional registration pipelines depend on global pre-alignment and spatial consistency, which often collapse under such distortions. We present SAR2Net, a framework that learns spatially anchored representations and reformulates cross-stain alignment as a region-level feature retrieval problem. Instead of estimating explicit transformations, SAR2Net learns pointwise representations encoding the relative spatial relationships to tissue landmarks. Given landmarks and arbitrary coordinates, it predicts spatially anchored features that serve as deformation-invariant descriptors of tissue topology. A twostage retrieval framework then establishes correspondences between slides, even when global alignment is infeasible. Experiments on biopsy-oriented HE-IHC datasets show that SAR2Net achieves robust region-level alignment under severe tissue distortions, outperforming previous methods. Code is available at https://github.com/Shentl/SAR2Net.

View on arXivView PDF

Code Implementations(1)

Shentl/SAR2NetOfficial100%
10PythonMar 13, 20267 months ago

Similar Papers

Cite this paper

@article{shen2026sarnet,
  title  = {SAR2Net: Learning Spatially Anchored Representations for Retrieval-Guided Cross-Stain Alignment},
  author = {Tianle Shen and Fang Yan and Xiaofan Zhang},
  year   = {2026},
  eprint = {2610.26217},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.26217v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.26217.svg)](https://codeofpaper.com/paper/2610.26217)

Discussion