Hierarchical Amortized Training for Memory-efficient High Resolution 3D GAN

Li Sun, Junxiang Chen, Yanwu Xu, Mingming Gong, Ke Yu, Kayhan Batmanghelich · DOI

Abstract

Generating high-resolution 3D medical images with Generative Adversarial Networks (GANs) typically encounters severe GPU memory bottlenecks, often leading to out-of-memory (OOM) errors or forcing the use of low-resolution or patch-based approximations. We present Hierarchical Amortized GAN (HA-GAN), a novel architecture designed for memory-efficient $256^3$ image synthesis. By training on low-resolution full volumes and high-resolution sub-volumes simultaneously, HA-GAN reduces the memory cost of backpropagation while maintaining global anatomical consistency. Our results demonstrate state-of-the-art performance on large-scale CT and MRI datasets, fitting within the memory limits of standard GPUs and providing clinically relevant latent representations.

Introduction

Generative Adversarial Networks (GANs) are powerful tools for medical imaging tasks such as data augmentation and feature extraction. However, clinical applications require high-resolution 3D volumes (e.g., $256^3$), which demand massive gradient storage during training. Standard high-end GPUs (12GB–16GB) often cannot handle these requirements, leading researchers to either downsample images—losing critical clinical detail—or use patch-based methods that lack global spatial awareness and produce anatomical artifacts. HA-GAN addresses this by decoupling training and inference configurations to achieve globally consistent, high-resolution 3D synthesis without exceeding hardware limits.

Methods

The core of HA-GAN is its Hierarchical Amortized training strategy. The architecture splits the generator into two branches during training:

  1. Low-Resolution Branch: Generates a full, low-resolution volume (e.g., $64^3$) to maintain global structural integrity.
  2. High-Resolution Sub-volume Branch: Generates a randomly selected sub-volume of the high-resolution image (e.g., $32 \times 256^2$).
The HA-GAN architecture utilizes hierarchical training with dual branches and discriminators to amortize memory costs.

This approach amortizes the gradient cost because backpropagation only occurs through a fraction of the high-resolution volume. Dual discriminators are employed: one for the global low-resolution structure and another for the fine textures of the high-resolution sub-volume. During inference, the sub-volume selector is bypassed, allowing the model to generate a full $256^3$ volume in a single pass since gradients are no longer required.

Results

The model was evaluated on the COPDGene (thorax CT) and GSP (brain MRI) datasets at $256^3$ resolution.

Memory Efficiency and Speed

HA-GAN significantly outperforms existing 3D GAN architectures in memory efficiency. It was the only model tested capable of $256^3$ generation on a 16GB V100 GPU. Furthermore, it achieved 3.8 iterations/second, vastly outperforming $\alpha$-GAN and StyleGAN2.

Comparison of memory usage across different GAN architectures and resolutions. HA-GAN remains efficient even at $256^3$.

Image Quality and Clinical Utility

HA-GAN achieved state-of-the-art scores in FID, MMD, and Inception Score. Beyond visual quality, the model demonstrated practical clinical utility:

  • Data Augmentation: Synthetic data from HA-GAN improved a COPD severity classifier's accuracy from 59.7% to 62.9%.
  • Feature Extraction: The hierarchical encoder compressed 3D scans into latent vectors that predicted emphysema severity with an $R^2$ of 0.746, outperforming baseline encoders.

Discussion and Conclusion

HA-GAN successfully bypasses hardware bottlenecks by leveraging the synergy between global low-resolution blueprints and local high-resolution textures. The resulting latent space is semantically structured, allowing for smooth transitions in anatomical features like lung volume. While a qualitative gap between synthetic and real images remains, future work involving pretrained segmentation networks and attention layers may further bridge this divide. HA-GAN represents a significant step toward practical, high-resolution 3D generative modeling in clinical settings.

Summary updated

BibTeX
@article{sun2022hierarchical,
  author = {Li Sun and Junxiang Chen and Yanwu Xu and Mingming Gong and Ke Yu and Kayhan Batmanghelich},
  title = {{Hierarchical Amortized Training for Memory-efficient High Resolution 3D GAN}},
  journal = {IEEE J. Biomed. Health Informatics},
  year = {2022},
  doi = {10.1109/jbhi.2022.3172976},
}
Figure