Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

CrossNorm and SelfNorm for Generalization under Distribution Shifts

About

Traditional normalization techniques (e.g., Batch Normalization and Instance Normalization) generally and simplistically assume that training and test data follow the same distribution. As distribution shifts are inevitable in real-world applications, well-trained models with previous normalization methods can perform badly in new environments. Can we develop new normalization methods to improve generalization robustness under distribution shifts? In this paper, we answer the question by proposing CrossNorm and SelfNorm. CrossNorm exchanges channel-wise mean and variance between feature maps to enlarge training distribution, while SelfNorm uses attention to recalibrate the statistics to bridge gaps between training and test distributions. CrossNorm and SelfNorm can complement each other, though exploring different directions in statistics usage. Extensive experiments on different fields (vision and language), tasks (classification and segmentation), settings (supervised and semi-supervised), and distribution shift types (synthetic and natural) show the effectiveness. Code is available at https://github.com/amazon-research/crossnorm-selfnorm

Zhiqiang Tang, Yunhe Gao, Yi Zhu, Zhi Zhang, Mu Li, Dimitris Metaxas• 2021

Related benchmarks

TaskDatasetResultRank
Semantic segmentationCityscapes (test)
mIoU36.5
1252
Person Re-IdentificationMSMT17 (test)
Rank-1 Acc40.8
517
Person Re-IdentificationMarket-1501 (test)
Rank-165.8
417
Domain GeneralizationVLCS
Accuracy77.1
270
Domain GeneralizationPACS
Accuracy85.6
263
Domain GeneralizationOfficeHome
Accuracy67.3
234
Domain GeneralizationDomainNet
Accuracy40.7
153
Person Re-IdentificationCUHK03 (test)
Rank-1 Accuracy38.4
129
Domain GeneralizationTerraIncognita
Accuracy48.4
121
Showing 9 of 9 rows

Other info

Follow for update