paper-with-me

홈 › Papers

VariViT: A Vision Transformer for Variable Image Sizes

2026-02-16 · Aswathi Varma, Suprosanna Shit, Chinmay Prabhakar, Daniel Scholz, Hongwei Bran Li, Bjoern Menze, Daniel Rueckert, Benedikt Wiestler arxiv

Vision Transformers (ViTs) have emerged as the state-of-the-art architecture in representation learning, leveraging self-attention mechanisms to excel in various tasks. ViTs split images into fixed-size patches, constraining them to a predefined size and necessitating pre-processing steps like resizing, padding, or cropping. This poses challenges in medical imaging, particularly with irregularly shaped structures like tumors. A fixed bounding box crop size produces input images with highly variable foreground-to-background ratios. Resizing medical images can degrade information and introduce artefacts, impacting diagnosis. Hence, tailoring variable-sized crops to regions of interest can enhance feature representation capabilities. Moreover, large images are computationally expensive, and smaller sizes risk information loss, presenting a computation-accuracy tradeoff. We propose VariViT, an improved ViT model crafted to handle variable image sizes while maintaining a consistent patch size. VariViT employs a novel positional embedding resizing scheme for a variable number of patches. We also implement a new batching strategy within VariViT to reduce computational complexity, resulting in faster training and inference times. In our evaluations on two 3D brain MRI datasets, VariViT surpasses vanilla ViTs and ResNet in glioma genotype prediction and brain tumor classification. It achieves F1-scores of 75.5% and 76.3%, respectively, learning more discriminative features. Our proposed batching strategy reduces computation time by up to 30% compared to conventional architectures. These findings underscore the efficacy of VariViT in image representation learning. Our code can be found here: https://github.com/Aswathi-Varma/varivit

📄 PDF Abstract BibTeX arXiv:2602.14615

Code (0)

등록된 구현이 없습니다.

Tasks

Brain Tumor ClassificationRepresentation Learning

Similar Papers 제목 키워드 기반

HeartBEiT: Vision Transformer for Electrocardiogram Data Improves Diagnostic Performance at Low Sample Sizes

2022-12-13 · Akhil Vaid, Joy Jiang, Ashwin Sawant, Stamatios Lerakis 외

The electrocardiogram (ECG) is a ubiquitous diagnostic modality. Convolutional neural networks (CNNs) applied towards ECG analysis require large sample sizes, and transfer learning approaches result in suboptimal perform…

DiagnosticTransfer Learning

Accelerating Vision Transformers with Adaptive Patch Sizes

2025-10-20 · Rohan Choudhury, JungEun Kim, Jinhyung Park, Eunho Yang 외 arxiv

Vision Transformers (ViTs) partition input images into uniformly sized patches regardless of their content, resulting in long input sequence lengths for high-resolution images. We present Adaptive Patch Transformers (APT…

Semantic SegmentationObject Detection

Learning Generative Vision Transformer with Energy-Based Latent Space for Saliency Prediction

2021-12-27 · NeurIPS 2021 12 · Jing Zhang, Jianwen Xie, Nick Barnes, Ping Li

Vision transformer networks have shown superiority in many computer vision tasks. In this paper, we take a step further by proposing a novel generative vision transformer with latent variables following an informative en…

object-detectionObject DetectionRGB-D Salient Object DetectionSaliency Prediction+2

Splitting expands the application range of Vision Transformer -- variable Vision Transformer (vViT)

2022-11-08 · Takuma Usuzaki

Vision Transformer (ViT) has achieved outstanding results in computer vision. Although there are many Transformer-based architectures derived from the original ViT, the dimension of patches are often the same with each o…

Specificity

Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images

2022-01-04 · Ali Hatamizadeh, Vishwesh Nath, Yucheng Tang, Dong Yang 외

Semantic segmentation of brain tumors is a fundamental medical image analysis task involving multiple MRI imaging modalities that can assist clinicians in diagnosing the patient and successively studying the progression …

3D Semantic SegmentationBrain Tumor SegmentationImage SegmentationMedical Image Analysis+3