Domain Generalization with Vital Phase Augmentation

Ingyun Lee, Wooju Lee, Hyun Myung · DOI

Introduction

Deep learning models often struggle with distribution shifts, where performance drops significantly when encountering real-world corruptions such as noise, blur, or weather effects. Frequency-domain data augmentation has emerged as a powerful technique to improve robustness. By decomposing images into amplitude (representing style/intensity) and phase (representing structure/shape), researchers can manipulate specific components to teach models domain-invariant features.

The Importance of Phase Robustness

A common assumption in frequency-domain methods is that phase information should remain fixed to preserve the underlying structure of the image. However, real-world corruptions significantly alter the phase spectrum. When a model is trained only on "perfect" phases, it fails to generalize to the noisy phases present in out-of-distribution (OOD) data.

Phase changes under corruption and their impact on image reconstruction.

As illustrated in Figure 1, row III demonstrates that reconstructing an image using corrupted phase information (b) leads to a much higher loss of structural integrity than using corrupted amplitude (a). This motivates the need for an augmentation strategy that introduces controlled, finite variations into the phase spectrum rather than keeping it static.

Vital Phase Augmentation (VIPAug)

This paper introduces Vital Phase Augmentation (VIPAug), a method designed to identify and protect "vital" structural phases while applying finite variations to others. The process involves two primary stages: detection and augmentation.

Detection of Vital Phases

The authors hypothesize that phases associated with high-amplitude components in the frequency domain contain the most critical domain-invariant features. To capture these, they employ a 3D Discrete Fourier Transform (DFT), which considers spectral relationships across RGB color channels simultaneously. An argmax filter is then applied to the amplitude spectrum to pinpoint the coordinates of these vital phases.

Augmentation Strategies

Once vital phases are identified, VIPAug applies two types of variations to create a robust training pipeline:

  1. VIPAug-G (Gaussian): Adds zero-mean Gaussian noise to the phases. Vital phases receive minimal jitter to maintain core structure, while non-vital phases are subjected to higher variance.
  2. VIPAug-F (Fractal): Replaces non-vital phases with those derived from fractal images. Fractals provide complex, non-semantic structural noise that forces the model to focus on the primary object's geometry without introducing conflicting semantic features.
The VIPAug pipeline, illustrating the transition from DFT to phase variation and final reconstruction via iDFT.

Experimental Evaluation

VIPAug was evaluated across several benchmarks, including CIFAR-10/100 and ImageNet, along with their corrupted counterparts (-C).

  • CIFAR-10: The method achieved a state-of-the-art (SOTA) clean accuracy of 95.8% and a corruption error rate of 8.4%, outperforming existing methods like APR-SP (8.7%) and PRIME (10.1%).
  • ImageNet: VIPAug significantly reduced the Mean Corruption Error (mCE) to 65.8, compared to the baseline of 80.6 and AugMix at 68.4.
  • 3D DFT Advantage: Results confirmed that the 3D DFT approach is superior to the standard 2D DFT for identifying vital phases, as it leverages cross-channel spectral information to better preserve structural integrity during augmentation.

Conclusion

Vital Phase Augmentation (VIPAug) addresses a critical gap in frequency-domain data augmentation by acknowledging that phase information is not static in real-world scenarios. By identifying vital structural components and introducing controlled variations, VIPAug enables models to achieve superior robustness and generalization across diverse and noisy environments.

Summary updated

BibTeX
@inproceedings{lee2024domain,
  author = {Ingyun Lee and Wooju Lee and Hyun Myung},
  title = {{Domain Generalization with Vital Phase Augmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i4.28070},
}
Figure