FedMed-ATL: Misaligned Unpaired Brain Image Synthesis via Affine Transform Loss

Guoyang Xie, Jinbao Wang, Yawen Huang, Yefeng Zheng, Feng Zheng, Yaochu Jin

Introduction

Multi-modal brain imaging (e.g., MRI, PET, CT) is a cornerstone of modern neuro-diagnosis. However, acquiring perfectly aligned, paired multi-modal datasets is often impractical due to patient movement, varying scanner protocols, and strict privacy regulations that prevent data pooling. While unpaired image-to-image translation models like CycleGAN exist, they are highly sensitive to spatial misalignments.

FedMed-ATL (Federated Medical - Affine Transform Loss) addresses these challenges by enabling robust multi-modal synthesis in a decentralized, privacy-preserving environment. Unlike previous methods that treat misalignment as noise to be filtered, FedMed-ATL leverages these distortions as a form of "multi-view data augmentation" to improve model stability and synthesis quality.

Illustration of slight vs. severe misalignment across different modalities.

Methodology

The framework extends the CycleGAN architecture with several key innovations designed for federated learning and robustness to misaligned unpaired data (MUD):

  1. Federated Learning with Differential Privacy: Training is distributed across multiple hospital "clients." To protect patient privacy, only model weights are shared with a central server, and Differential Privacy Stochastic Gradient Descent (DP-SGD) is employed to prevent data reconstruction from shared gradients.
  2. Affine Transform Module (ATM): Instead of attempting to correct misalignments explicitly, the ATM generates multiple augmented views by applying random rotations, translations, and scaling to the input data.
  3. Affine Transform Loss (ATL) & Auxiliary Heads: The discriminator is augmented with three auxiliary heads ($h_r, h_t, h_s$) tasked with predicting the specific transformation parameters (rotation, translation, scale) applied by the ATM. This multi-task learning approach forces the network to learn deep, structural anatomical features that are invariant to positioning.
  4. Shared Encoder Architecture: The discriminator's early layers serve as a shared encoder for both the standard adversarial task and the auxiliary transformation prediction tasks, enhancing the model's ability to distinguish true anatomy from synthesis artifacts.
The FedMed-ATL pipeline, showing the generator, discriminator, and the auxiliary transform heads.

Experimental Setup

The model was evaluated on two major neuroimaging benchmarks:

  • IXI Dataset: Synthesizing T2-weighted images from Proton Density (PD) scans using data from three different hospitals.
  • BraTS2021: Synthesizing FLAIR images from T1-weighted scans, focusing on brain tumor analysis.

Robustness was tested under "Slight" and "Severe" misalignment conditions. "Severe" noise included rotations up to 90°, translations up to 30 pixels, and scaling up to 1.2x—scenarios that typically cause standard GAN-based synthesis models to fail or produce significant artifacts.

Results and Discussion

FedMed-ATL demonstrates superior performance over baseline federated models and state-of-the-art methods like RegGAN, particularly in high-distortion scenarios.

Quantitative Performance

On the BraTS2021 dataset under severe noise, FedMed-ATL achieved a Peak Signal-to-Noise Ratio (PSNR) of 20.82, outperforming the RegGAN-enhanced baseline (20.02). It also consistently yielded the lowest Mean Absolute Error (MAE) across various testing conditions, indicating higher anatomical fidelity.

Qualitative Quality

Visual inspections reveal that FedMed-ATL preserves fine tissue textures and modal-specific styles more effectively than competitors. While other models often produce blurry outputs or anatomical distortions when faced with severe rotation, FedMed-ATL maintains structural integrity by treating these rotations as informative views rather than errors.

Key Insights

  • Decoupled Training: In the federated setup, generators are aggregated globally to capture general anatomical features, while discriminators remain local. This allows the system to adapt to institution-specific noise profiles without compromising global performance.
  • Regularization via Auxiliary Tasks: Predicting affine transformations acts as a powerful regularizer, preventing "mode collapse" and ensuring the generator focuses on underlying brain structure.

Conclusion

FedMed-ATL represents a significant step forward in robust, privacy-preserving medical image synthesis. By reframing misalignment as an asset for data augmentation, it achieves high-quality results even with severely distorted, unpaired data. Future work will explore extending this framework to handle non-rigid deformations and optimizing data balance across heterogeneous federated networks.

Summary updated

BibTeX
@inproceedings{xie2022fedmed,
  author = {Guoyang Xie and Jinbao Wang and Yawen Huang and Yefeng Zheng and Feng Zheng and Yaochu Jin},
  title = {{FedMed-ATL: Misaligned Unpaired Brain Image Synthesis via Affine Transform Loss}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3547762},
}
Figure