mlsanityData to 14 Oct 2026

Rethinking Transformer for Long Contextual Histopathology Whole Slide Image Analysis

arXiv 2410.14195 ↗First posted 18 Oct 2024cs.CVcited by 12

Not on the map. Why?

Abstract (arXiv)

Histopathology Whole Slide Image (WSI) analysis serves as the gold standard for clinical cancer diagnosis in the daily routines of doctors. To develop computer-aided diagnosis model for WSIs, previous methods typically employ Multi-Instance Learning to enable slide-level prediction given only slide-level labels. Among these models, vanilla attention mechanisms without pairwise interactions have traditionally been employed but are unable to model contextual information. More recently, self-attention models have been utilized to address this issue. To alleviate the computational complexity of long sequences in large WSIs, methods like HIPT use region-slicing, and TransMIL employs approximation of full self-attention. Both approaches suffer from suboptimal performance due to the loss of key information. Moreover, their use of absolute positional embedding struggles to effectively handle long contextual dependencies in shape-varying WSIs. In this paper, we first analyze how the low-rank nature of the long-sequence attention matrix constrains the representation ability of WSI modelling. Then, we demonstrate that the rank of attention matrix can be improved by focusing on local interactions via a local attention mask. Our analysis shows that the local mask aligns with the attention patterns in the lower layers of the Transformer. Furthermore, the local attention mask can be implemented during chunked attention calculation, reducing the quadratic computational complexity to linear with a small local bandwidth. Building on this, we propose a local-global hybrid Transformer for both computational acceleration and local-global information interactions modelling. Our method, Long-contextual MIL (LongMIL), is evaluated through extensive experiments on various WSI tasks to validate its superiority. Our code will be available at github.com/invoker-LL/Long-MIL.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 71 of its 94 references that are in the map. First posted on arXiv 18 Oct 2024.

Builds on

71 of 94 references.

References · 71

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2023GPT-4 Technical Reportcited by 18,396
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  9. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  10. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  11. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  12. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
38 more
  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  2. 2020Longformer: The Long-Document Transformercited by 3,413
  3. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  5. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  7. 2020Reformer: The Efficient Transformercited by 1,668
  8. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  9. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  10. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  11. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  12. 2018Attention-based Deep Multiple Instance Learningcited by 1,095
  13. 2024VMamba: Visual State Space Modelcited by 969
  14. 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
  15. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  16. 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 745
  17. 2020A Generalization of Transformer Networks to Graphscited by 661
  18. 2019Multimodal Transformer for Unaligned Multimodal Language Sequencescited by 645
  19. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  20. 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 555
  21. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  22. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  23. 2020Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learningcited by 478
  24. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  25. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
  26. 2018Stacked Cross Attention for Image-Text Matchingcited by 416
  27. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  28. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
  29. 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 359
  30. 2022DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classificationcited by 256
  31. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
  32. 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 207
  33. 2020Whole Slide Images based Cancer Survival Prediction using Attention Guided Deep Multiple Instance Learning Networkscited by 178
  34. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
  35. 2019Blockwise Self-Attention for Long Document Understandingcited by 159
  36. 2021Self-attention Does Not Need O(n2) Memorycited by 154
  37. 2022Benchmarking Self-Supervised Learning on Diverse Pathology Datasetscited by 150
  38. 2021BRACS: A Dataset for BReAst Carcinoma Subtyping in H&E Histology Imagescited by 132

50 most cited of 71 All 71 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 5.

12 papers.