Deep Frequency Filtering for Domain Generalization

Abstract

Improving the generalization ability of Deep Neural Networks (DNNs) is critical for their practical uses, which has been a longstanding challenge. Some theoretical studies have uncovered that DNNs have preferences for some frequency components in the learning process and indicated that this may affect the robustness of learned features. In this paper, we propose Deep Frequency Filtering (DFF) for learning domain-generalizable features, which is the first endeavour to explicitly modulate the frequency components of different transfer difficulties across domains in the latent space during training. To achieve this, we perform Fast Fourier Transform (FFT) for the feature maps at different layers, then adopt a light-weight module to learn attention masks from the frequency representations after FFT to enhance transferable components while suppressing the components not conducive to generalization. Further, we empirically compare the effectiveness of adopting different types of attention designs for implementing DFF. Extensive experiments demonstrate the effectiveness of our proposed DFF and show that applying our DFF on a plain baseline outperforms the state-of-the-art methods on different domain generalization tasks, including close-set classification and open-set retrieval.

Cite

Text

Lin et al. "Deep Frequency Filtering for Domain Generalization." Conference on Computer Vision and Pattern Recognition, 2023. doi:10.1109/CVPR52729.2023.01135

Markdown

[Lin et al. "Deep Frequency Filtering for Domain Generalization." Conference on Computer Vision and Pattern Recognition, 2023.](https://mlanthology.org/cvpr/2023/lin2023cvpr-deep/) doi:10.1109/CVPR52729.2023.01135

BibTeX

@inproceedings{lin2023cvpr-deep,
  title     = {{Deep Frequency Filtering for Domain Generalization}},
  author    = {Lin, Shiqi and Zhang, Zhizheng and Huang, Zhipeng and Lu, Yan and Lan, Cuiling and Chu, Peng and You, Quanzeng and Wang, Jiang and Liu, Zicheng and Parulkar, Amey and Navkal, Viraj and Chen, Zhibo},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2023},
  pages     = {11797-11807},
  doi       = {10.1109/CVPR52729.2023.01135},
  url       = {https://mlanthology.org/cvpr/2023/lin2023cvpr-deep/}
}