Abstract
Generative adversarial models with convolutional neural network (CNN) backbones have recently been established as state-of-the-art in numerous medical image synthesis tasks. However, CNNs are designed to perform local processing with compact filters, and this inductive bias compromises learning of contextual features. Here, we propose a novel generative adversarial approach for medical image synthesis, ResViT, that leverages the contextual sensitivity of vision transformers along with the precision of convolution operators and realism of adversarial learning. ResViT’s generator employs a central bottleneck comprising novel aggregated residual transformer (ART) blocks that synergistically combine residual convolutional and transformer modules. Residual connections in ART blocks promote diversity in captured representations, while a channel compression module distills task-relevant information. A weight sharing strategy is introduced among ART blocks to mitigate computational burden. A unified implementation is introduced to avoid the need to rebuild separate synthesis models for varying source-target modality configurations. Comprehensive demonstrations are performed for synthesizing missing sequences in multi-contrast MRI, and CT images from MRI. Our results indicate superiority of ResViT against competing CNN- and transformer-based methods in terms of qualitative observations and quantitative metrics.
Introduction
In clinical practice, acquiring a full suite of medical images—such as multiple MRI contrasts or paired CT and MRI scans—is often impossible due to scan time constraints, costs, or patient discomfort. Medical image synthesis aims to "fill in the blanks" by generating missing modalities from available ones. While CNN-based Generative Adversarial Networks (GANs) have been the standard, their inductive bias favors local processing, often struggling to capture long-range spatial dependencies. Vision Transformers (ViTs) excel at global context but can lack the fine-grained localization needed for medical precision. ResViT bridges this gap by combining the local precision of CNNs with the global context-awareness of ViTs.
Methodology
ResViT is an encoder-decoder GAN featuring a sophisticated central bottleneck. The core innovation lies in the Aggregated Residual Transformer (ART) blocks.
Key Architectural Components:
- ART Blocks: These blocks contain two parallel branches: a Transformer branch to learn global contextual features and a CNN branch to preserve local structural precision.
- Synergistic Fusion: Features from both branches are concatenated and passed through a Channel Compression (CC) module, which distills the most task-relevant information.
- Weight Sharing: To manage computational complexity and prevent overfitting, the weights of the Transformer encoders are shared across different ART blocks.
- Unified Synthesis: ResViT employs an "availability-conditioned" training strategy. This allows a single model to handle various combinations of input modalities (e.g., T1 and T2 to generate PD) by masking missing sequences during training, rather than requiring separate models for every source-target pair.
Experimental Results
The model was evaluated on three distinct tasks: healthy brain MRI (IXI dataset), brain tumor MRI (BraTS dataset), and cross-modality pelvic MRI-to-CT synthesis. ResViT consistently outperformed state-of-the-art baselines like pGAN, pix2pix, and TransUNet.
Performance Highlights:
- Quantitative Superiority: In the IXI many-to-one task (T1, T2 → PD), ResViT achieved a PSNR of 33.92 dB, significantly outperforming pGAN (32.91 dB) and TransUNet (32.53 dB).
- Qualitative Fidelity: Visual inspections showed that ResViT produced images with sharper tissue boundaries and fewer artifacts. In MRI-to-CT synthesis, it was notably better at recovering bone structures.
- Pathology Delineation: In tumor synthesis (BraTS), ResViT's error maps were substantially lower in lesion areas, proving the value of global context in capturing complex pathological structures.
Discussion and Conclusion
ResViT demonstrates that the hybrid advantage of CNNs and Transformers can be effectively harnessed by placing the Transformer components within the bottleneck. This allows for global relationship capture without the massive computational overhead of full-resolution Transformers. While the inference time is slightly higher than pure CNNs (~98ms vs ~60ms per slice), the gain in synthesis quality and the flexibility of a unified model make it a practical solution for real-world clinical pipelines. Future work will explore handling unregistered data and further optimizing inference speed.
Summary updated