MediAug: Exploring Visual Augmentation in Medical Imaging
Xuyin Qi, Zeyu Zhang, Canxuan Gang, Hao Zhang, Lei Zhang, Zhiwei Zhang, Yang Zhao
TL;DR
Medical image augmentation faces a domain gap with natural images and fragmented evaluation across tasks. MediAug provides a unified benchmark applying six mix-based augmentations—MixUp, YOCO, CropMix, CutMix, AugMix, and SnapMix—across ResNet-50 and ViT-B backbones on brain-tumor MRI and eye-fundus datasets, enabling direct cross-method comparisons. Results show task-specific best pairings (MixUp with ResNet-50 and SnapMix with ViT-B for brain tumors; YOCO with ResNet-50 and CutMix with ViT-B for eye diseases) and underscore the importance of hyperparameter tuning (e.g., CutMix $\alpha$). The framework, with public code, offers practical, reproducible guidance for robust, generalizable clinical AI systems and accelerates the safe deployment of deep learning in medical imaging.
Abstract
Data augmentation is essential in medical imaging for improving classification accuracy, lesion detection, and organ segmentation under limited data conditions. However, two significant challenges remain. First, a pronounced domain gap between natural photographs and medical images can distort critical disease features. Second, augmentation studies in medical imaging are fragmented and limited to single tasks or architectures, leaving the benefits of advanced mix-based strategies unclear. To address these challenges, we propose a unified evaluation framework with six mix-based augmentation methods integrated with both convolutional and transformer backbones on brain tumour MRI and eye disease fundus datasets. Our contributions are threefold. (1) We introduce MediAug, a comprehensive and reproducible benchmark for advanced data augmentation in medical imaging. (2) We systematically evaluate MixUp, YOCO, CropMix, CutMix, AugMix, and SnapMix with ResNet-50 and ViT-B backbones. (3) We demonstrate through extensive experiments that MixUp yields the greatest improvement on the brain tumor classification task for ResNet-50 with 79.19% accuracy and SnapMix yields the greatest improvement for ViT-B with 99.44% accuracy, and that YOCO yields the greatest improvement on the eye disease classification task for ResNet-50 with 91.60% accuracy and CutMix yields the greatest improvement for ViT-B with 97.94% accuracy. Code will be available at https://github.com/AIGeeksGroup/MediAug.
