Spectral Unsupervised Domain Adaptation for Visual Recognition

Jingyi Zhang, Jiaxing Huang, Zichen Tian, Shijian LuOpenReview 2021

Introduction

Deep learning models often exhibit significant performance degradation when deployed in environments that differ from their training data. This phenomenon, known as domain shift, is a central challenge in Unsupervised Domain Adaptation (UDA). For instance, a model trained on clear, sunny day imagery (Source domain) frequently fails when applied to foggy conditions or artistic renderings (Target domain) where labels are unavailable.

Traditional approaches often employ Generative Adversarial Networks (GANs) for image-to-image translation to bridge this gap. However, GANs are computationally intensive, difficult to stabilize during training, and prone to structural distortions. Spectral Unsupervised Domain Adaptation (SUDA) addresses these issues by operating in the frequency domain, offering a lightweight and structural-preserving alternative.

Methodology: The SUDA Framework

The SUDA framework introduces a novel approach to domain alignment by leveraging the spectral properties of images. The architecture consists of two main components: the Spectrum Transformer (ST) and Multi-view Spectral Learning (MSL).

Figure 2: Overview of the SUDA architecture, illustrating the Inter-Domain Adaptation and Self-Supervised Learning components.

Spectrum Transformer (ST)

The ST module utilizes the Fast Fourier Transform (FFT) to decompose input images into multiple Frequency Components (FCs). At its core is the Adversarial Spectrum Attention (ASA) mechanism. By employing a discriminator to distinguish between source and target spectral signals, the ASA learns to selectively suppress domain-variant frequencies (such as style-specific textures) while enhancing domain-invariant frequencies (such as object contours). Remarkably, the ST module is highly efficient, containing only approximately 37,000 parameters compared to the millions typically found in GAN-based translators.

Multi-view Spectral Learning (MSL)

To facilitate learning on unlabeled target data, SUDA employs MSL. This component generates two distinct "spectral views" of a target image using complementary STs. By maximizing the mutual information between these views through self-supervision, the model is forced to extract robust, high-level features that are consistent across different spectral augmentations.

The Spectral Intuition

The fundamental premise of SUDA is that domain-specific noise—such as fog, lighting, or artistic style—often resides in different frequency bands than the structural information of the objects themselves.

Figure 1: Illustration of image decomposition into low, middle, and high frequencies, highlighting the separation of domain-variant and domain-invariant features.

As shown in Figure 1, low frequencies typically capture global color and style (domain-variant), while middle and high frequencies often contain the contours and textures (domain-invariant) necessary for recognition. By performing adaptation in this spectral space, SUDA achieves effective alignment with minimal computational overhead.

Experimental Results

SUDA was evaluated across diverse visual recognition tasks, demonstrating state-of-the-art performance and broad compatibility with various backbones (e.g., ResNet, DETR).

  • Object Detection: On the Cityscapes to Foggy Cityscapes benchmark, SUDA improved Mean Average Precision (mAP) from a 26.9% baseline to 42.8%.
  • Image Classification: On the VisDA17 synthetic-to-real dataset, it achieved an accuracy of 79.8%, surpassing specialized methods like CBST.
  • Semantic Segmentation: It reached a Mean Intersection over Union (mIoU) of 48.8% on the GTA5 to Cityscapes task.

Conclusion and Future Directions

SUDA represents a significant advancement in UDA by shifting the focus from pixel-level translation to spectral-level adaptation. Its "plug-and-play" nature allows it to consistently boost the performance of existing state-of-the-art models.

Future research may address current limitations, such as the global nature of FFT which might overlook localized spectral variations. Additionally, optimizing the selection of the number of frequency components and balancing loss functions remains an area for refinement to ensure robustness across increasingly complex datasets.

Summary updated

BibTeX
@misc{zhang2021spectral,
  author = {Jingyi Zhang and Jiaxing Huang and Zichen Tian and Shijian Lu},
  title = {{Spectral Unsupervised Domain Adaptation for Visual Recognition}},
  year = {2021},
  eprint = {2106.06112},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.06112},
}
Figure