mlsanityData to 7 Oct 2026

A Study on Context Length and Efficient Transformers for Biomedical Image Analysis

arXiv 2501.00619 ↗First posted 31 Dec 2024cs.CV cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Biomedical imaging modalities often produce high-resolution, multi-dimensional images that pose computational challenges for deep neural networks. These computational challenges are compounded when training transformers due to the self-attention operator, which scales quadratically with context length. Recent developments in long-context models have potential to alleviate these difficulties and enable more efficient application of transformers to large biomedical images, although a systematic evaluation on this topic is lacking. In this study, we investigate the impact of context length on biomedical image analysis and we evaluate the performance of recently proposed long-context models. We first curate a suite of biomedical imaging datasets, including 2D and 3D data for segmentation, denoising, and classification tasks. We then analyze the impact of context length on network performance using the Vision Transformer and Swin Transformer by varying patch size and attention window size. Our findings reveal a strong relationship between context length and performance, particularly for pixel-level prediction tasks. Finally, we show that recent long-context models demonstrate significant improvements in efficiency while maintaining comparable performance, though we highlight where gaps remain. This work underscores the potential and challenges of using long-context models in biomedical imaging.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 60 references that are in the map. First posted on arXiv 31 Dec 2024.

Builds on

28 of 60 references.

References · 28

  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. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  5. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  10. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  11. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  12. 2020Efficient Transformers: A Surveycited by 784
16 more
  1. 2021The Medical Segmentation Decathloncited by 620
  2. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  3. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  4. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  5. 2024SegMamba: Long-range Sequential Modeling Mamba For 3D Medical Image Segmentationcited by 266
  6. 2024MM1: Methods, Analysis & Insights from Multimodal LLM Pre-trainingcited by 230
  7. 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 222
  8. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
  9. 2022FlexiViT: One Model for All Patch Sizescited by 151
  10. 2024Mamba-UNet: UNet-Like Pure Visual Mamba for Medical Image Segmentationcited by 133
  11. 2024DeepStack: Deeply Stacking Visual Tokens is Surprisingly Simple and Effective for LMMscited by 72
  12. 2023Structured State Space Models for Multiple Instance Learning in Digital Pathologycited by 41
  13. 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
  14. 2024An Image is Worth More Than 16x16 Patches: Exploring Transformers on Individual Pixelscited by 32
  15. 2022Exploring Long-Sequence Masked Autoencoderscited by 22
  16. 2023Neural Natural Language Processing for Long Texts: A Survey on Classification and Summarizationcited by 7

Built on by

Not cited yet.