[Paper Review] Style Normalization and Restitution for Domain Generalization and Adaptation
This paper proposes a Style Normalization and Restitution (SNR) module to improve domain generalization and unsupervised domain adaptation in computer vision by filtering out domain-specific style variations via Instance Normalization and then restoring task-relevant discriminative features from residuals. The method achieves state-of-the-art performance across classification, semantic segmentation, and object detection benchmarks by disentangling style-irrelevant and task-relevant features through a dual restitution loss.
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. 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.
Motivation & Objective
- To address domain shift in computer vision caused by style variations such as illumination and color contrast across training and test environments.
- To improve model generalization without relying on target domain labels, as in domain generalization (DG) settings.
- To mitigate performance degradation in unsupervised domain adaptation (UDA) by preserving discriminative features while reducing domain-specific style variations.
- To achieve better disentanglement of task-relevant and task-irrelevant features through a novel feature restitution mechanism.
- To develop a plug-and-play module that enhances generalization and discrimination in deep networks without architectural overhaul.
Proposed method
- Applying Instance Normalization (IN) to input features to normalize style variations (e.g., lighting, contrast), reducing domain discrepancy.
- Computing the residual between original and normalized features to capture task-relevant discriminative information lost during normalization.
- Reconstructing the original feature representation by adding back the residual, thus restoring discriminative capacity.
- Introducing a dual restitution loss that encourages disentanglement by minimizing entropy in the task-irrelevant component and maximizing it in the task-relevant one.
- Using a dual-branch structure during training to compute the restitution loss, with the auxiliary branch discarded at inference.
- Plugging the SNR module after convolutional blocks in ResNet and DRN backbones for end-to-end training across multiple vision tasks.

Experimental results
Research questions
- RQ1Can a unified module improve both generalization and discrimination in deep networks under domain shift?
- RQ2How can task-relevant features be effectively recovered after style normalization to prevent performance loss?
- RQ3To what extent does disentangling style-irrelevant and task-relevant features improve domain generalization and adaptation?
- RQ4Does the proposed dual restitution loss lead to better feature disentanglement than standard normalization or reconstruction?
- RQ5Can the SNR module be effectively applied across diverse vision tasks such as classification, segmentation, and detection?
Key findings
- The SNR module achieves state-of-the-art performance on the mini-DomainNet benchmark, improving accuracy by up to 2.1% over baseline methods in domain generalization.
- On the full DomainNet dataset, the SNR-enhanced ResNet-152 achieves a 1.8% higher top-1 accuracy than the baseline under domain generalization settings.
- In semantic segmentation, the SNR module improves mIoU by 3.4% on the GTA5-to-Cityscapes and 2.9% on the SYNTHIA-to-Cityscapes settings using DRN-D-105.
- For object detection on the Cityscapes-to-Foggy Cityscapes and Cityscapes-to-KITTI benchmarks, the SNR module increases mAP by 2.7% and 2.1% respectively.
- The ablation study confirms that the dual restitution loss significantly improves disentanglement, with a 1.5% accuracy gain over a single-loss variant.
- The SNR module consistently improves performance across all evaluated tasks—classification, segmentation, and detection—demonstrating broad applicability.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.