PhaseAT: Fourier Phase Adversarial Training for Medical Image Domain Generalization

Ahmed Sharshar, Asif Hanif, Naveen Kumar Kummari, Mohammad Yaqub, Mohsen GuizanarXiv 2026 · DOI

TL;DR

PhaseAT is a novel adversarial training framework that improves medical image domain generalization by perturbing the Fourier phase while keeping appearance (amplitude) constant. By forcing models to be robust to geometric distortions in the luminance channel, it discourages reliance on domain-specific textures and achieves over 20% improvement in single-source generalization tasks.

What Problem Does This Paper Address?

Deep learning models in medical imaging often suffer from "brittle" performance when deployed at new clinical sites. This is due to distribution shifts—differences in scanner vendors, acquisition protocols, and patient populations.

Standard models tend to overfit to "texture shortcuts" (low-level style cues) that are specific to the training data but don't hold up elsewhere. While many domain generalization (DG) methods try to diversify the "style" of images, they often ignore the underlying spatial organization. The authors argue that the Fourier phase of an image is the primary carrier of recognizable anatomical structure, whereas the amplitude captures unstable style and intensity statistics. The challenge is: how do we train a model to prioritize these stable structural features over fickle texture cues?

Methods

The authors introduce PhaseAT (Phase-Aware Adversarial Training). The core idea is to generate "hard" training examples by adversarially perturbing the geometry of an image without changing its style.

  1. Fourier Decomposition: The image is converted to the YCbCr color space. The luminance (Y) channel is transformed into the frequency domain, separating it into amplitude and phase components.
  2. Phase-Constrained Perturbation: Unlike standard adversarial attacks that change pixels directly, PhaseAT adds a bounded perturbation $\delta$ only to the phase component. The amplitude spectrum remains untouched, ensuring the "style" of the image stays the same while the spatial organization is stressed.
  3. Luminance Focus: Perturbations are restricted to the Y channel to avoid unrealistic chromatic artifacts and focus on the channel where humans (and robust models) perceive the most geometric detail.
  4. Phase-Saliency Mask: To stabilize training, the authors use a soft mask that concentrates updates on the frequency components that most influence the model's loss.
  5. Joint Optimization: The model is trained on a weighted combination of original "clean" images and these "phase-perturbed" adversarial views.
The PhaseAT pipeline showing the inner maximization (phase perturbation) and outer minimization (model update) steps.

Datasets

The method was evaluated on two major medical benchmarks known for high domain variability:

  • Camelyon17-WILDS: A histopathology dataset containing images from five different medical centers (domains).
  • Diabetic Retinopathy (DR): A collection of four distinct datasets (Aptos, EyePACS, Messidor, and Messidor-2) used for multi-class disease severity prediction.

Key Insights and Ideas

  • Phase > Amplitude for Structure: The paper leans into a classic signal processing insight: phase encodes "where" things are (geometry), while amplitude encodes "what" they look like (texture). By attacking the phase, you force the model to learn more robust anatomical representations.
  • Adversarial Training as a Regularizer: Instead of simple data augmentation, the adversarial approach finds the specific phase shifts that most confuse the current model, making the training more efficient and targeted.
  • Stability via Saliency: The phase-saliency mask is crucial. Without it, performance degrades sharply because the model gets lost in high-frequency noise that doesn't contribute to semantic understanding.
  • Architectural Agnostic: The benefits of PhaseAT aren't limited to standard CNNs; the authors demonstrate gains even when using Vision Transformers (ViTs).

Key Results

PhaseAT consistently outperformed state-of-the-art DG methods like RAS$^4$DG and ConDiSR across both datasets.

  • Single-Source Generalization (SDG): This is the toughest setting, where the model sees only one hospital during training. On Camelyon17, when training on center C2, PhaseAT improved average accuracy from 52.08% (ERM baseline) to 74.31%.
  • Multi-Source Generalization (MSDG): In the leave-one-domain-out setting, PhaseAT achieved a top average accuracy of 85.7% on Camelyon17, a significant jump over the 77.9% achieved by standard Empirical Risk Minimization (ERM).
  • Robustness to Hyperparameters: Ablation studies showed the method is relatively stable across different batch sizes and loss weightings ($\lambda$), making it practical for real-world implementation.
Fig. 2: Ablation studies for the main hyperparameters on the average accuracy over the 5 centers in MSDG setting on Camelyon17-WILDS.

Limitations and Future Work

  • 2D vs 3D: The current evaluation is limited to 2D classification tasks. Extending this to 3D modalities (like MRI or CT scans) is a logical next step.
  • Grayscale Modalities: The reliance on YCbCr color space means the current implementation isn't directly applicable to grayscale medical images without modification.
  • Task Variety: The authors focused on classification; future work will explore if phase-aware perturbations can similarly benefit dense prediction tasks like organ segmentation.

Summary updated

BibTeX
@misc{sharshar2026phaseat,
  author = {Ahmed Sharshar and Asif Hanif and Naveen Kumar Kummari and Mohammad Yaqub and Mohsen Guizan},
  title = {{PhaseAT: Fourier Phase Adversarial Training for Medical Image Domain Generalization}},
  year = {2026},
  eprint = {2610.01807},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.01807},
}

Loading related content...

Figure