Manuscript Offprint

arXiv:2610.01807

PhaseAT: Fourier Phase Adversarial Training for Medical Image Domain Generalization

Ahmed Sharshar, Asif Hanif, Naveen Kumar Kummari, Mohammad Yaqub, Mohsen Guizan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ahmed Sharshar D◯(⊗)\textcircled{D}(\otimes), Asif Hanif D◯\textcircled{D}, Naveen Kumar Kummari D◯\textcircled{D}, Mohammad Yaqub D◯\textcircled{D}, and Mohsen Guizani D◯\textcircled{D}

Division of Computing and Mathematical Sciences

Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, UAE

{ahmed.sharshar, asif.hanif, naveen.kummari, mohammad.yaqub, mohsen.guizani}@mbzuai.ac.ae

Abstract. Reliable clinical deployment of deep medical image models is hindered by distribution shifts across scanners, sites, and acquisition protocols. Existing domain generalization (DG) methods often focus on style or intensity diversification, but they can still leave networks dependent on domain-specific texture correlations. Inspired by evidence that Fourier phase encodes semantic structure, we introduce PHASEAT, a phase-aware adversarial training framework for medical DG. PHASEAT forms phase-perturbed training views in the Fourier domain by iteratively updating a bounded phase perturbation while keeping the amplitude spectrum unchanged, thereby stressing spatial organization under matched appearance statistics. Perturbations are applied only to the luminance channel in YCbCr color space to avoid chromatic artifacts. Additionally, a simple phase-saliency mask concentrates updates on the most influential frequencies. The model is trained with a weighted combination of losses on clean and phase-perturbed samples, supporting both single-source and multi-source DG. We validate our method on two challenging medical datasets and demonstrate that PHASEAT achieves over 20% improvement in single-source domain generalization, outperforming several state-of-the-art DG methods. The code implementation is available at: https://github.com/ahmed-sharshar/PhaseAT.

Keywords: Domain Generalization · Adversarial Training · Phase-Aware Perturbation.

1 Introduction

Deep learning has become the dominant paradigm for medical image analysis, yet standard training pipelines still rely on an i.i.d. assumption that rarely holds in clinical practice. In reality, medical imaging systems routinely experience distribution shifts induced by scanner vendors, acquisition protocols, reconstruction pipelines, and diverse patient populations [17]. From a spectral viewpoint, such shifts are often reflected in changes to the Fourier amplitude spectrum, which captures low-level appearance statistics (e.g., intensity and texture), while the Fourier phase largely preserves spatial organization and geometry [13]. Since

Sharshar et al.

standard CNNs are biased toward texture cues [8], they frequently overfit to these unstable amplitude-driven correlations, causing brittle performance when deployed outside the source environment.

Domain Generalization (DG) targets this challenge by learning predictors that remain accurate on unseen target domains without requiring target data during training. This distinction is crucial in medicine, where privacy constraints and logistical silos limit multi-institutional data aggregation, often leaving practitioners with only a small number of source environments [18]. Multi-center benchmarks further underscore that such shifts are routine rather than exceptional in medical imaging, with substantial gaps under cross-hospital evaluation [4]. The central DG question remains: how can we learn features that stay stable when imaging style changes but clinical semantics do not?

Prior medical DG methods have made steady progress, though most target only subsets of shift factors. Existing approaches broadly fall into three families. First, style/intensity diversification methods simulate scanner-driven appearance variation, for example via adversarial style composition [5], content-style augmentation [6], or monotonic adversarial intensity attacks [22]; others use representation-driven objectives to regularize style/content separation [14]. Second, frequency-domain approaches exploit spectral structure through Fourier mixing, amplitude synthesis, or reconstruction constraints to reduce scanner-specific artifacts [16]. Third, structure-consistent methods that focus on anatomy-aligned cues, such as via anatomy-consistent pseudo-modalities [10] or edge-guided generalization [11]. Despite these advances, performance can remain sensitive to hyperparameter choices, and carefully tuned baselines are often surprisingly strong [19]. This motivates mechanisms that more directly reflect how medical shifts arise in practice [23], especially in limited-source regimes where the inductive bias of the training objective becomes paramount [20].

A promising route to robustness is Adversarial Training (AT), but the perturbation model must reflect clinically relevant shifts. Standard pixel-space perturbations tend to emphasize high-frequency noise, potentially reinforcing a model's texture bias [8]. A Fourier viewpoint enables more targeted control: the amplitude spectrum is closely tied to low-level appearance statistics, while phase governs spatial organization [13]. Indeed, phase is the primary carrier of recognizable structure [24]. Recent work further shows that improving stability to phase manipulations can enhance structural robustness [24], and frequency-constrained perturbations can effectively expose model vulnerabilities in medical tasks [21]. Together, these observations suggest that a phase-focused robustness objective can better match clinical distribution shifts while discouraging shortcut learning.

In this work, we propose Phase-Aware Adversarial Training (PHASEAT) for medical domain generalization, Figure 1. PHASEAT synthesizes training views by adversarially perturbing the Fourier phase, thereby challenging anatomy-relevant spatial organization, while fixing the Fourier amplitude to preserve per-frequency energy statistics (appearance). To avoid unnecessary chromatic artifacts and target geometry directly, we apply perturbations only to the luminance channel in YCbCr. The resulting phase-perturbed samples serve as hard training instances.

Figure

Fig. 1: PHASEAT PIPELINE (a) Phase Perturbation Step (inner maximization): Adversarial phase perturbations are applied in the Fourier domain by updating the phase component of the luminance channel, generating phase-perturbed view x′x'. (b) Model Update Step (outer minimization): Model parameters are optimized using a joint objective that incorporates both clean and phase-perturbed samples to improve robustness.

that complement recent appearance diversification and Fourier-based DG strategies [22,16] by explicitly encouraging invariance to geometry-focused spectral variations under comparable appearance statistics. Unlike Fourier-based DG that varies the amplitude spectrum [16] or pixel-space augmentation, PHASEAT fixes amplitude and perturbs only phase, isolating geometry from appearance.

Contributions. We propose PHASEAT, a phase-aware adversarial training for medical image single-source and multi-source domain generalization, using robustness as a mechanism to improve out-of-domain performance. We introduce a phase-constrained spectral perturbation scheme that perturbs Fourier phase and applies perturbations in luminance to reduce artifacts under domain shift. Finally, we provide a comprehensive evaluation across different datasets, demonstrating consistent improvements over a range of recent DG baselines.

References (21)