ResViT: Residual vision transformers for multi-modal medical image synthesis

Onat Dalmaz, Mahmut Yurt, Tolga Çukur · DOI

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

Medical image synthesis—the process of generating one imaging modality (e.g., CT) from another (e.g., MRI)—is a critical task in clinical workflows. It addresses the challenges of missing data due to time constraints, costs, or patient contraindications. While Convolutional Neural Networks (CNNs) have long been the standard for these tasks, their inherent focus on local textures often prevents them from capturing long-range spatial dependencies, or "global context," essential for accurate anatomical reconstruction.

This paper introduces ResViT, a hybrid generative adversarial network (GAN) that integrates the global context-awareness of Vision Transformers (ViTs) with the local precision of CNNs to overcome these limitations.

The ResViT Architecture

ResViT utilizes an encoder-decoder GAN structure. The primary innovation lies in the information bottleneck, which replaces standard convolutional layers with Aggregated Residual Transformer (ART) blocks.

Aggregated Residual Transformer (ART) Blocks

Each ART block is designed to synergistically fuse local and global feature representations. The block consists of a Transformer module to identify broad structural relationships and a CNN module to refine fine-grained local details. To manage the increased complexity, the authors implement a weight-sharing strategy across Transformer encoders and utilize residual connections to ensure stable gradient flow and representation diversity.

The ResViT generator architecture, highlighting the Aggregated Residual Transformer (ART) blocks and the integration of Transformer encoders with residual CNN modules.

Unified Synthesis Strategy

Unlike traditional models that require separate training for every source-target modality pair (e.g., T1 to T2), ResViT introduces a unified implementation. By using an "availability-masked" input, a single model can learn to synthesize any combination of modalities within a protocol. This not only improves training efficiency but also encourages the model to learn more robust, shared structural representations across different imaging contrasts.

Experimental Evaluation

The model was rigorously tested on three datasets:

  1. IXI Dataset: Healthy brain MRIs (T1, T2, PD-weighted).
  2. BRATS Dataset: MRIs from glioma patients, testing the synthesis of complex pathological regions.
  3. Pelvic MRI-CT Dataset: Cross-modality synthesis of CT scans from T2-weighted MRIs.

Results and Performance

ResViT consistently outperformed state-of-the-art CNN-based (e.g., pGAN, medSynth) and Transformer-based (e.g., TransUNet, PTNet) models. Quantitatively, ResViT achieved significantly higher PSNR and SSIM scores, particularly in many-to-one synthesis tasks where it outperformed standard CNNs by an average of 1.71dB in PSNR.

Qualitatively, the hybrid approach proved superior in maintaining sharp tissue boundaries and accurately reconstructing difficult structures like bone in MRI-to-CT tasks. In pathological cases (BRATS), ResViT was notably more effective at delineating tumor boundaries compared to competing methods, which often produced blurry or inaccurate results.

Qualitative comparison of ResViT against state-of-the-art CNN and Transformer-based methods for PD and T1 synthesis on the IXI dataset.

Conclusion

ResViT demonstrates that Transformers and CNNs are highly complementary in the domain of medical image synthesis. By leveraging the global sensitivity of the former and the local precision of the latter, ResViT provides a powerful, unified framework for generating high-fidelity medical images across various modalities and clinical scenarios.

Summary updated

BibTeX
@article{dalmaz2022resvit,
  author = {Onat Dalmaz and Mahmut Yurt and Tolga Çukur},
  title = {{ResViT: Residual vision transformers for multi-modal medical image synthesis}},
  journal = {IEEE Transactions on Medical Imaging},
  year = {2022},
  url = {https://openreview.net/forum?id=IyGMeV9RY0},
}
Figure