Decompose, adjust, compose: Effective normalization by playing with frequency for domain generalization

Sangrok Lee, Jongseong Bae, Ha Young Kim

Introduction

Domain Generalization (DG) remains a fundamental challenge in computer vision, aiming to train models on source domains that perform reliably on unseen target domains. While normalization techniques like Batch Normalization (BN) and Instance Normalization (IN) are standard for removing domain-specific "style," they often inadvertently degrade the structural "content" of the image. This paper introduces a frequency-based approach to normalization that decouples style from content, ensuring structural integrity while achieving state-of-the-art generalization.

The Normalization Paradox

In traditional normalization, researchers assume that feature statistics (mean and variance) represent style, while normalized values represent content. However, this paper demonstrates that the boundary is not so clear. Mathematically, the "mean shift" applied during normalization causes phase distortion in the frequency domain. Since the phase of a signal carries structural content, standard normalization often "corrupts" the very objects the model is trying to recognize, especially when moving between drastically different domains like photos and sketches.

Proposed Method: DAC

The authors propose the Decompose, Adjust, Compose (DAC) framework, which operates in the frequency domain using Discrete Fourier Transforms (DFT). By separating a signal into its amplitude (style/texture) and phase (structure), the model can manipulate domain-specific noise without affecting the underlying geometry.

Comparison between existing normalization methods and the proposed DAC method.

The framework introduces three specialized modules:

  1. PCNorm (Phase-Consistent Normalization): Normalizes features but restores the original, pristine phase to ensure content preservation.
  2. CCNorm (Content-Controlling Normalization): Uses learnable parameters to adaptively decide how much original content to retain.
  3. SCNorm (Style-Controlling Normalization): Mixes original and normalized styles to prevent the loss of useful domain-specific information.

These modules are integrated into a ResNet-50 backbone, specifically targeting the downsampling layers where content information is most vulnerable to being lost during normalization.

Key Insights and Results

A critical finding is that total style removal is not always optimal. By making normalization learnable (in CCNorm and SCNorm), the model can distinguish between domain-specific noise and helpful features. Qualitative results demonstrate that preserving phase information allows for much cleaner content retention during style shifts.

Qualitative example of content preservation under style transformation.

The proposed DAC-SC model achieved state-of-the-art (SOTA) performance across five major benchmarks:

  • PACS: 87.5% (a significant jump over the 83.8% baseline).
  • Office-Home: 70.3% accuracy.
  • DomainNet: 44.9%, showing strong performance even on large-scale, highly diverse data.
  • Average Performance: 65.6% across all benchmarks, outperforming recent methods like SagNet and SelfReg.

Conclusion

By shifting normalization from the spatial to the frequency domain, the DAC framework resolves the conflict between style removal and content preservation. While the computational cost of Fourier transforms is slightly higher, the significant gains in domain generalization accuracy make it a powerful tool for robust computer vision models. Future work will likely explore the application of these frequency-based techniques to Vision Transformer (ViT) architectures.

Summary updated

BibTeX
@inproceedings{lee2023decompose,
  author = {Sangrok Lee and Jongseong Bae and Ha Young Kim},
  title = {{Decompose, adjust, compose: Effective normalization by playing with frequency for domain generalization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=7Dek6Y3PGg},
}
Figure