Self Pre-training with Masked Autoencoders for Medical Image Classification and Segmentation
Lei Zhou, Huidong Liu, Joseph Bae, Junjun He, Dimitris Samaras, Prateek Prasanna
TL;DR
The paper introduces MAE-based self pre-training of Vision Transformers on the target medical datasets to learn rich contextual representations without relying on large external pretraining data. By pre-training ViT encoders on three medical tasks and transferring them to task-specific heads (linear for classification and UNETR-style decoders for segmentation), the approach achieves consistent improvements over random and ImageNet pretraining, including 3D CT/MRI analyses. Ablation results highlight the importance of masked-patch reconstruction and reveal task-dependent optimal mask ratios. Overall, MAE self pre-training offers a practical, data-efficient pathway to boost medical image classification and segmentation with ViTs, applicable to both 2D and 3D modalities and small datasets.
Abstract
Masked Autoencoder (MAE) has recently been shown to be effective in pre-training Vision Transformers (ViT) for natural image analysis. By reconstructing full images from partially masked inputs, a ViT encoder aggregates contextual information to infer masked image regions. We believe that this context aggregation ability is particularly essential to the medical image domain where each anatomical structure is functionally and mechanically connected to other structures and regions. Because there is no ImageNet-scale medical image dataset for pre-training, we investigate a self pre-training paradigm with MAE for medical image analysis tasks. Our method pre-trains a ViT on the training set of the target data instead of another dataset. Thus, self pre-training can benefit more scenarios where pre-training data is hard to acquire. Our experimental results show that MAE self pre-training markedly improves diverse medical image tasks including chest X-ray disease classification, abdominal CT multi-organ segmentation, and MRI brain tumor segmentation. Code is available at https://github.com/cvlab-stonybrook/SelfMedMAE
