mlsanityData to 7 Oct 2026

Adaptive Patching for High-resolution Image Segmentation with Transformers

arXiv 2404.09707 ↗First posted 15 Apr 2024cs.CV cs.AI cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Attention-based models are proliferating in the space of image analytics, including segmentation. The standard method of feeding images to transformer encoders is to divide the images into patches and then feed the patches to the model as a linear sequence of tokens. For high-resolution images, e.g. microscopic pathology images, the quadratic compute and memory cost prohibits the use of an attention-based model, if we are to use smaller patch sizes that are favorable in segmentation. The solution is to either use custom complex multi-resolution models or approximate attention schemes. We take inspiration from Adapative Mesh Refinement (AMR) methods in HPC by adaptively patching the images, as a pre-processing step, based on the image details to reduce the number of patches being fed to the model, by orders of magnitude. This method has a negligible overhead, and works seamlessly with any attention-based model, i.e. it is a pre-processing step that can be adopted by any attention-based model without friction. We demonstrate superior segmentation quality over SoTA segmentation models for real-world pathology datasets while gaining a geomean speedup of 6.9× for resolutions up to 64K2, on up to 2,048 GPUs.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 46 of its 68 references that are in the map. First posted on arXiv 15 Apr 2024.

Builds on

46 of 68 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  7. 2017Squeeze-and-Excitation Networkscited by 4,763
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2020Longformer: The Long-Document Transformercited by 3,362
  10. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
  11. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  12. 2017Non-local Neural Networkscited by 2,290
34 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  2. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  3. 2020Reformer: The Efficient Transformercited by 1,658
  4. 2020Rethinking Attention with Performerscited by 1,584
  5. 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  7. 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
  8. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  9. 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
  10. 2021UNETR: Transformers for 3D Medical Image Segmentationcited by 954
  11. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  12. 2018Image Transformercited by 770
  13. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  14. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  15. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  16. 2021Self-Supervised Pre-Training of Swin Transformers for 3D Medical Image Analysiscited by 418
  17. 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 357
  18. 2022Transformers in Medical Imaging: A Surveycited by 245
  19. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
  20. 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
  21. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
  22. 2021Self-attention Does Not Need O(n2) Memorycited by 152
  23. 2021HRFormer: High-Resolution Transformer for Dense Predictioncited by 149
  24. 2022QuadTree Attention for Vision Transformerscited by 129
  25. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
  26. 2023Specformer: Spectral Graph Neural Networks Meet Transformerscited by 102
  27. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 100
  28. 2021Multi-Scale High-Resolution Vision Transformer for Semantic Segmentationcited by 92
  29. 2023Semantic Segmentation using Vision Transformers: A surveycited by 73
  30. 2021SparseBERT: Rethinking the Importance Analysis in Self-attentioncited by 46
  31. 2021Octree Transformer: Autoregressive 3D Shape Generation on Hierarchically Structured Sequencescited by 38
  32. 2021LazyFormer: Self Attention with Lazy Updatecited by 16
  33. 2021Three-level Hierarchical Transformer Networks for Long-sequence and Multiple Clinical Documents Classificationcited by 6
  34. 2023Ultra-Long Sequence Distributed Transformercited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 2.

4 papers.