The Fourier transform, serving as an explicit decomposition method for visual signals, has been employed to explain the out-of-distribution generalization behaviors of Convolutional Neural Networks (CNNs). Previous studies have indicated that the amplitude spectrum is susceptible to the disturbance caused by distribution shifts. On the other hand, the phase spectrum preserves highly-structured spatial information, which is crucial for robust visual representation learning. However, the spatial relationships of phase spectrum remain unexplored in previous researches. In this paper, we aim to clarify the relationships between Domain Generalization (DG) and the frequency components, and explore the spatial relationships of the phase spectrum. Specifically, we first introduce a Fourier-based structural causal model which interprets the phase spectrum as semi-causal factors and the amplitude spectrum as non-causal factors. Then, we propose Phase Matching (PhaMa) to address DG problems. Our method introduces perturbations on the amplitude spectrum and establishes spatial relationships to match the phase components. Through experiments on multiple benchmarks, we demonstrate that our proposed method achieves state-of-the-art performance in domain generalization and out-of-distribution robustness tasks.
翻译:傅里叶变换作为一种视觉信号的显式分解方法,已被用于解释卷积神经网络(CNN)的分布外泛化行为。先前研究表明,振幅谱易受分布偏移引起的干扰影响,而相位谱则保留了高度结构化的空间信息,这对鲁棒的视觉表征学习至关重要。然而,现有研究尚未探索相位谱的空间关系。本文旨在阐明域泛化(DG)与频率分量之间的关系,并探索相位谱的空间关系。具体而言,我们首先引入基于傅里叶的结构因果模型,将相位谱解释为半因果因素,振幅谱为非因果因素;随后提出相位匹配方法(PhaMa)以解决DG问题。该方法对振幅谱施加扰动,通过建立空间关系来匹配相位分量。我们在多个基准上的实验表明,所提方法在域泛化与分布外鲁棒性任务中达到了最先进性能。