HAGAN: Hybrid Augmented Generative Adversarial Network for Medical Image Synthesis

Zhihan Ju, Wanting Zhou, Longteng Kong, Yu Chen, Yi Li, Zhenan Sun, Caifeng Shan · DOI

TL;DR

HAGAN (Hybrid Augmented Generative Adversarial Network) is a novel framework designed to synthesize highly realistic medical images while preserving complex structural textures and biological consistency. By combining a saliency-driven data augmentation strategy (AttnMix) with a bi-level hierarchical discriminator and reverse skip connections, HAGAN achieves state-of-the-art synthesis performance across multiple modalities while remaining computationally lightweight.

What Problem Does This Paper Address?

Unconditional Medical Image Synthesis (MIS) is a powerful tool for expanding clinical datasets, helping train robust downstream models (like segmentation and classification networks) without the high costs, manual labor, and privacy constraints of real-world data collection.

However, medical images present unique challenges for standard generative models:

  1. Subtle Structural Textures: Minor deviations in tissue patterns can completely destroy the histopathological meaning and biological authenticity of an image.
  2. High Inter-tissue Similarity: Different tissue cells and key lesions often look incredibly similar, making feature disparities difficult to isolate.

Existing Generative Adversarial Networks (GANs) typically evaluate images at a global level (determining whether the entire image is "real" or "fake"). This lack of localized, granular feedback means they often fail to capture fine-grained details or maintain the continuity of small, critical features like tumors or lesions.

Methods

HAGAN introduces three interconnected architectural components to enforce both global and local biological consistency:

  • Attention Mixed (AttnMix) Generator: Traditional data augmentation techniques like CutMix blend images based strictly on spatial area ratios, which can lead to a mismatch between the synthetic image space and its label space. AttnMix solves this by leveraging the generator's internal self-attention maps. It dynamically adjusts the label mixing ratio based on visual saliency, forcing the model to focus heavily on meaningful structural and textural variations.
  • Hierarchical Discriminator: To provide dense feedback, the discriminator is decoupled into two distinct branches:
  • $D_{img}$: A traditional image-level branch that evaluates global structural integrity.
  • $D_{pixel}$: A pixel-level branch that performs dense true/fake classification across a grid, dividing the image into real and fake regions to capture local tissue details.
  • Reverse Skip Connection: Inspired by the skip connections in U-Net, this module passes feature maps from the discriminator's real-image path back into the corresponding resolution levels of the generator's upsampling path. This stabilizes training, accelerates convergence, and improves fine-detail accuracy.
Overview of the proposed HAGAN architecture, highlighting the AttnMix Generator and Hierarchical Discriminator.

Datasets

The authors evaluated HAGAN on three public medical datasets of varying scales, testing them at both low ($64 \times 64$) and high ($256 \times 256$) resolutions:

  • COVID-CT: A small-scale dataset where the authors utilized 396 non-COVID-CT lung images for training.
  • ACDC: A medium-scale dataset consisting of 1,798 2D cardiac MRI slices.
  • BraTS2018: A large-scale brain MRI dataset, from which 6,528 2D slices were extracted for training and testing.

Key Insights and Ideas

  • Saliency-Aware Regularization Prevents Drift: Simply mixing real and fake images randomly can cause serious distribution drift in GANs. By aligning the sample space and label space using the model's own attention maps, HAGAN ensures that perturbations preserve class boundaries and emphasize critical pathological regions.
  • Bi-Level Feedback is Essential: Evaluating an image pixel-by-pixel alongside a global view provides a dense gradient signal. This dual constraint prevents the generator from "cheating" by creating globally plausible images that contain localized artifacts or missing lesions.
  • Efficiency Over Brute Force: While modern Diffusion Models (like DDPM) generate high-quality images, they are parameter-heavy and slow. HAGAN proves that a carefully regularized, lightweight GAN can match or exceed diffusion performance with a fraction of the computational overhead.

Key Results

HAGAN achieved state-of-the-art Frechet Inception Distance (FID) scores across all three datasets, outperforming established baselines like DCGAN, WGAN, SAGAN, UNetGAN, and DDPM.

Quantitative Performance ($64 \times 64$ Resolution)

  • COVID-CT: Achieved an FID of 88.852, outperforming the best medical baseline (DDPM) by 7.13 points.
  • ACDC: Achieved an FID of 60.792, beating the attention-guided SAGAN by 15.12 points.
  • BraTS2018: Achieved an FID of 32.551, an improvement of 4.39 points over DDPM.

High-Resolution Performance ($256 \times 256$ Resolution)

  • On the COVID-CT dataset, HAGAN reached an FID of 125.871 (a 13.5-point improvement over SAGAN).
  • On the ACDC dataset, HAGAN achieved an FID of 111.805, slightly edging out DDPM (112.165). Crucially, HAGAN achieved this despite having a total parameter size of just 6.4M—more than six times smaller than DDPM's 35.7M parameters.
Qualitative comparison of medical image synthesis samples at 64x64 resolution across different baselines.

Limitations and Future Work

The primary limitation acknowledged by the authors stems from hardware constraints. Due to limited computing resources, high-resolution ($256 \times 256$) training had to be conducted with a mini-batch size of just 2, which can restrict training stability and optimal convergence.

In the future, the authors plan to scale up their experiments to even higher resolutions and validate HAGAN on a broader variety of large-scale medical pathology datasets to further confirm its clinical utility.

Summary updated

BibTeX
@article{ju2025hagan,
  author = {Zhihan Ju and Wanting Zhou and Longteng Kong and Yu Chen and Yi Li and Zhenan Sun and Caifeng Shan},
  title = {{HAGAN: Hybrid Augmented Generative Adversarial Network for Medical Image Synthesis}},
  journal = {Mach. Intell. Res.},
  year = {2025},
  doi = {10.1007/s11633-024-1528-y},
}
Figure