HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Snuffy: Efficient Whole Slide Image Classifier

Hossein Jafarinia Alireza Alipanah Danial Hamdi Saeed Razavi Nahal Mirzaie Mohammad Hossein Rohban

Snuffy: Efficient Whole Slide Image Classifier

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.

Code Repositories

jafarinia/snuffy
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
multiple-instance-learning-on-camelyon16Snuffy (DINO Exhaustive)
ACC: 0.948
AUC: 0.987
Expected Calibration Error: 0.083
FROC: 0.675
Patch AUC: 0.957
multiple-instance-learning-on-camelyon16Snuffy (MAE Adapter)
ACC: 0.900
AUC: 0.910
Expected Calibration Error: 0.078
FROC: 0.543
Patch AUC: 0.873
multiple-instance-learning-on-camelyon16Snuffy (SimCLR Exhaustive)
ACC: 0.952
AUC: 0.970
Expected Calibration Error: 0.057
FROC: 0.622
Patch AUC: 0.980
multiple-instance-learning-on-elephantSnuffy
ACC: 0.923
AUC: 0.967
multiple-instance-learning-on-musk-v1Snuffy
ACC: 0.961
AUC: 0.989
multiple-instance-learning-on-musk-v2Snuffy
ACC: 0.789
AUC: 0.985
multiple-instance-learning-on-tcgaSnuffy (SimCLR Exhaustive)
ACC: 0.947
AUC: 0.972

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Snuffy: Efficient Whole Slide Image Classifier | Papers | HyperAI