Command Palette
Search for a command to run...
Hossein Jafarinia Alireza Alipanah Danial Hamdi Saeed Razavi Nahal Mirzaie Mohammad Hossein Rohban

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
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| multiple-instance-learning-on-camelyon16 | Snuffy (DINO Exhaustive) | ACC: 0.948 AUC: 0.987 Expected Calibration Error: 0.083 FROC: 0.675 Patch AUC: 0.957 |
| multiple-instance-learning-on-camelyon16 | Snuffy (MAE Adapter) | ACC: 0.900 AUC: 0.910 Expected Calibration Error: 0.078 FROC: 0.543 Patch AUC: 0.873 |
| multiple-instance-learning-on-camelyon16 | Snuffy (SimCLR Exhaustive) | ACC: 0.952 AUC: 0.970 Expected Calibration Error: 0.057 FROC: 0.622 Patch AUC: 0.980 |
| multiple-instance-learning-on-elephant | Snuffy | ACC: 0.923 AUC: 0.967 |
| multiple-instance-learning-on-musk-v1 | Snuffy | ACC: 0.961 AUC: 0.989 |
| multiple-instance-learning-on-musk-v2 | Snuffy | ACC: 0.789 AUC: 0.985 |
| multiple-instance-learning-on-tcga | Snuffy (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.