Snuffy: Efficient Whole Slide Image Classifier

Hossein Jafarinia, Alireza Alipanah, Danial Hamdi, Saeed Razavi, Nahal Mirzaie +1 more
8/15/2024
cs.CVcs.AIcs.LG

Official code: jafarinia/snuffy (57 stars, MIT, last commit 2024-09-24).

Abstract

Whole Slide Image (WSI) classification with multiple instance learning (MIL) in digital pathology faces significant computational challenges. Current methods mostly rely on extensive self-supervised learning (SSL) for satisfactory performance, requiring long training periods and considerable computational resources. At the same time, no pre-training affects performance due to domain shifts from natural images to WSIs. We introduce Snuffy architecture, a novel MIL-pooling method based on sparse transformers that mitigates performance loss with limited pre-training and enables continual few-shot pre-training as a competitive option. Our sparsity pattern is tailored for pathology and is theoretically proven to be a universal approximator with the tightest probabilistic sharp bound on the number of layers for sparse transformers, to date. We demonstrate Snuffy's effectiveness on CAMELYON16 and TCGA Lung cancer datasets, achieving superior WSI and patch-level accuracies. The code is available on https://github.com/jafarinia/snuffy.

View on arXivView PDF

Code Implementations(1)

jafarinia/snuffyOfficial100%
MIT

Snuffy: Efficient Whole Slide Image Classifier For Efficient and Performant Diagnosis in Pathology Whole Slide Images

576Shell, PythonJul 7, 20242 years agoMIT
deep-ledeep-learningmultiple-instance-learningself-supervised-learningsparse-transformer

Similar Papers

Cite this paper

@article{jafarinia2024snuffy,
  title  = {Snuffy: Efficient Whole Slide Image Classifier},
  author = {Hossein Jafarinia and Alireza Alipanah and Danial Hamdi and Saeed Razavi and Nahal Mirzaie and Mohammad Hossein Rohban},
  year   = {2024},
  eprint = {2408.08258},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.08258v3},
  journal = {ECCV 2024 2024}
}

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

Discussion