Sequential Attention-based Sampling for Histopathological Analysis

Tarun Gogisetty, Naman Malpani, Gugan Thoppe, Sridharan Devarajan
7/1/2025
2 citations

Official code: coglabiisc/SASHA (9 stars, Python, last commit 2025-12-03).

Abstract

Deep neural networks are increasingly applied in automated histopathology. Yet, whole-slide images (WSIs) are often acquired at gigapixel sizes, rendering them computationally infeasible to analyze entirely at high resolution.

Show full abstract

Diagnostic labels are largely available only at the slide-level, because expert annotation of images at a finer (patch) level is both laborious and expensive. Moreover, regions with diagnostic information typically occupy only a small fraction of the WSI, making it inefficient to examine the entire slide at full resolution. Here, we propose SASHA -- Sequential Attention-based Sampling for Histopathological Analysis -- a deep reinforcement learning approach for efficient analysis of histopathological images. First, SASHA learns informative features with a lightweight hierarchical, attention-based multiple instance learning (MIL) model. Second, SASHA samples intelligently and zooms selectively into a small fraction (10-20\%) of high-resolution patches to achieve reliable diagnoses. We show that SASHA matches state-of-the-art methods that analyze the WSI fully at high resolution, albeit at a fraction of their computational and memory costs. In addition, it significantly outperforms competing, sparse sampling methods. We propose SASHA as an intelligent sampling model for medical imaging challenges that involve automated diagnosis with exceptionally large images containing sparsely informative features. Model implementation is available at: https://github.com/coglabiisc/SASHA.

View on arXivView PDF

Code Implementations(1)

coglabiisc/SASHAOfficial100%
93PythonMay 5, 202512 months ago

Similar Papers

Cite this paper

@article{gogisetty2025sequential,
  title  = {Sequential Attention-based Sampling for Histopathological Analysis},
  author = {Tarun Gogisetty and Naman Malpani and Gugan Thoppe and Sridharan Devarajan},
  year   = {2025},
  eprint = {2507.05077},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2507.05077},
  url    = {https://doi.org/10.48550/arXiv.2507.05077},
  journal = {Neural Information Processing Systems}
}

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/2507.05077.svg)](https://codeofpaper.com/paper/2507.05077)

Discussion