Style Normalization and Restitution for Domain Generalization and Adaptation

Xin Jin, Cuiling Lan, Wenjun Zeng, Zhibo Chen
1/3/2021
cs.CV

Official code: microsoft/SNR (78 stars, Jupyter Notebook, MIT, last commit 2023-10-03).

Abstract

For many practical computer vision applications, the learned models usually have high performance on the datasets used for training but suffer from significant performance degradation when deployed in new environments, where there are usually style differences between the training images and the testing images. An effective domain generalizable model is expected to be able to learn feature representations that are both generalizable and discriminative.

Show full abstract

In this paper, we design a novel Style Normalization and Restitution module (SNR) to simultaneously ensure both high generalization and discrimination capability of the networks. In the SNR module, particularly, we filter out the style variations (e.g, illumination, color contrast) by performing Instance Normalization (IN) to obtain style normalized features, where the discrepancy among different samples and domains is reduced. However, such a process is task-ignorant and inevitably removes some task-relevant discriminative information, which could hurt the performance. To remedy this, we propose to distill task-relevant discriminative features from the residual (i.e, the difference between the original feature and the style normalized feature) and add them back to the network to ensure high discrimination. Moreover, for better disentanglement, we enforce a dual causality loss constraint in the restitution step to encourage the better separation of task-relevant and task-irrelevant features. We validate the effectiveness of our SNR on different computer vision tasks, including classification, semantic segmentation, and object detection. Experiments demonstrate that our SNR module is capable of improving the performance of networks for domain generalization (DG) and unsupervised domain adaptation (UDA) on many tasks. Code are available at https://github.com/microsoft/SNR.

View on arXivView PDF

Code Implementations(1)

microsoft/SNROfficial100%
MIT

Style Normalization and Restitution for Domain Generalization and Adaptation

789Jupyter Notebook, PythonJul 31, 20203 years agoMIT

Similar Papers

Cite this paper

@article{jin2021style,
  title  = {Style Normalization and Restitution for Domain Generalization and Adaptation},
  author = {Xin Jin and Cuiling Lan and Wenjun Zeng and Zhibo Chen},
  year   = {2021},
  eprint = {2101.00588},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.00588}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.00588.svg)](https://codeofpaper.com/paper/2101.00588)

Discussion