[Paper Review] ViT-AE++: Improving Vision Transformer Autoencoder for Self-supervised Medical Image Representations
ViT-AE++ enhances Vision Transformer Autoencoder with auxiliary reconstruction losses and a contrastive loss to learn better self-supervised representations for both 2D and 3D medical images, and extends the approach to 3D volumes.
Self-supervised learning has attracted increasing attention as it learns data-driven representation from data without annotations. Vision transformer-based autoencoder (ViT-AE) by He et al. (2021) is a recent self-supervised learning technique that employs a patch-masking strategy to learn a meaningful latent space. In this paper, we focus on improving ViT-AE (nicknamed ViT-AE++) for a more effective representation of 2D and 3D medical images. We propose two new loss functions to enhance the representation during training. The first loss term aims to improve self-reconstruction by considering the structured dependencies and indirectly improving the representation. The second loss term leverages contrastive loss to optimize the representation from two randomly masked views directly. We extended ViT-AE++ to a 3D fashion for volumetric medical images as an independent contribution. We extensively evaluate ViT-AE++ on both natural images and medical images, demonstrating consistent improvement over vanilla ViT-AE and its superiority over other contrastive learning approaches. Codes are here: https://github.com/chinmay5/vit_ae_plus_plus.git.
Motivation & Objective
- Motivate improved self-supervised representation learning for medical imaging where labels are scarce.
- Introduce auxiliary reconstruction losses that capture structural and edge information.
- Combine autoencoder-based and contrastive learning paradigms to optimize representations directly.
- Extend ViT-AE++ to 3D volumetric data to handle MRI/CT-like modalities.
- Demonstrate consistent performance gains over ViT-AE and competitive results with contrastive methods.
Proposed method
- Use a ViT-based autoencoder with random masking of patches and a MASK token for missing patches.
- Introduce auxiliary losses: L_per (VGG-based perceptual loss) and L_edge (3D Sobel edge loss) to capture structural information.
- Add a contrastive loss L_CL between two randomly masked views to directly optimize representations.
- Combine losses into total objective: L = L_rec + λ1 L_per + λ2 L_edge + L_CL with scheduled λ2 decay.
- Extend the framework to 3D by employing 3D patches, 3D positional encoding, and a 3D Transformer decoder.
- Evaluate with linear probing on multiple datasets and report AUC/accuracy as downstream task metrics.
Experimental results
Research questions
- RQ1Can auxiliary structure-aware reconstruction improve semantic content capture beyond pixel-wise loss?
- RQ2Does incorporating a contrastive objective along with autoencoder reconstruction yield better representations for medical images?
- RQ3Do 3D adaptations of ViT-AE++ sustain improvements on volumetric medical data?
- RQ4How do masking ratio and edge/perceptual loss weights affect training stability and representation quality?
Key findings
- ViT-AE++ consistently outperforms vanilla ViT-AE on 2D datasets (CIFAR-10: 95.40 vs 94.10; CIFAR-100: 78.82 vs 75.61; Tiny ImageNet-100: 72.09 vs 70.42; Chest X-ray: 95.60 vs 95.20).
- On 3D datasets, ViT-AE++ achieves competitive to superior results against leading contrastive methods on BraTS and surpasses them on EGD (BraTS: 0.767 AUC; EGD: 0.846 AUC).
- Ablation studies show that the auxiliary edge and perceptual losses plus the contrastive loss jointly drive improvements over ViT-AE.
- Masking ratio p and a decaying edge loss weight λ2 are crucial for performance and training stability; optimal p around 0.75 and linear decay of λ2 stabilize training.
- 3D ViT-AE++ demonstrates strong downstream performance when used as a feature extractor with linear probing on medical datasets and remains competitive with state-of-the-art methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.