mlsanityData to 7 Oct 2026

Language models are good pathologists: using attention-based sequence reduction and text-pretrained transformers for efficient WSI classification

arXiv 2211.07384 ↗First posted 14 Nov 2022cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

In digital pathology, Whole Slide Image (WSI) analysis is usually formulated as a Multiple Instance Learning (MIL) problem. Although transformer-based architectures have been used for WSI classification, these methods require modifications to adapt them to specific challenges of this type of image data. Among these challenges is the amount of memory and compute required by deep transformer models to process long inputs, such as the thousands of image patches that can compose a WSI at × 10 or × 20 magnification. We introduce textitSeqShort, a multi-head attention-based sequence shortening layer to summarize each WSI in a fixed- and short-sized sequence of instances, that allows us to reduce the computational costs of self-attention on long sequences, and to include positional information that is unavailable in other MIL approaches. Furthermore, we show that WSI classification performance can be improved when the downstream transformer architecture has been pre-trained on a large corpus of text data, and only fine-tuning less than 0.1% of its parameters. We demonstrate the effectiveness of our method in lymph node metastases classification and cancer subtype classification tasks, without the need of designing a WSI-specific transformer nor doing in-domain pre-training, keeping a reduced compute budget and low number of trainable parameters.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 55 of its 79 references that are in the map. First posted on arXiv 14 Nov 2022.

Builds on

55 of 79 references.

References · 55

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  9. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  10. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  11. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  12. 2020Longformer: The Long-Document Transformercited by 3,362
38 more
  1. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  2. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  4. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  5. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  6. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  7. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  8. 2017Mixed Precision Trainingcited by 1,135
  9. 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
  10. 2018Attention-based Deep Multiple Instance Learningcited by 1,077
  11. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  12. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  13. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  14. 2021Scaling Vision Transformerscited by 993
  15. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  16. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  17. 2020Quantifying Attention Flow in Transformerscited by 759
  18. 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 738
  19. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
  20. 2018Universal Transformerscited by 613
  21. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  22. 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 549
  23. 2020Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learningcited by 473
  24. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  25. 2018HoVer-Net: Simultaneous Segmentation and Classification of Nuclei in Multi-Tissue Histology Imagescited by 387
  26. 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 357
  27. 2018A Simple Method for Commonsense Reasoningcited by 223
  28. 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
  29. 2018Scaling Neural Machine Translationcited by 204
  30. 2019The Evolved Transformercited by 180
  31. 2020Whole Slide Images based Cancer Survival Prediction using Attention Guided Deep Multiple Instance Learning Networkscited by 178
  32. 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
  33. 2019Blockwise Self-Attention for Long Document Understandingcited by 158
  34. 2020Self supervised contrastive learning for digital histopathologycited by 146
  35. 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
  36. 2021Hierarchical Transformers Are More Efficient Language Modelscited by 99
  37. 2020Language Models are Open Knowledge Graphscited by 95
  38. 2020Multi-scale Domain-adversarial Multiple-instance CNN for Cancer Subtype Classification with Unannotated Histopathological Imagescited by 81

50 most cited of 55 All 55 (JSON)

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.