Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Domain Generalization with MixStyle

About

Though convolutional neural networks (CNNs) have demonstrated remarkable ability in learning discriminative features, they often generalize poorly to unseen domains. Domain generalization aims to address this problem by learning from a set of source domains a model that is generalizable to any unseen domain. In this paper, a novel approach is proposed based on probabilistically mixing instance-level feature statistics of training samples across source domains. Our method, termed MixStyle, is motivated by the observation that visual domain is closely related to image style (e.g., photo vs.~sketch images). Such style information is captured by the bottom layers of a CNN where our proposed style-mixing takes place. Mixing styles of training instances results in novel domains being synthesized implicitly, which increase the domain diversity of the source domains, and hence the generalizability of the trained model. MixStyle fits into mini-batch training perfectly and is extremely easy to implement. The effectiveness of MixStyle is demonstrated on a wide range of tasks including category classification, instance retrieval and reinforcement learning.

Kaiyang Zhou, Yongxin Yang, Yu Qiao, Tao Xiang• 2021

Related benchmarks

TaskDatasetResultRank
Person Re-IdentificationMarket1501 (test)
Rank-1 Accuracy15.4
1264
Image ClassificationPACS (test)
Average Accuracy83.7
254
Domain GeneralizationVLCS
Accuracy77.9
238
Image ClassificationPACS
Overall Average Accuracy86.2
230
Domain GeneralizationPACS (test)
Average Accuracy66.3
225
Domain GeneralizationPACS
Accuracy (Art)86.8
221
Image ClassificationOffice-Home (test)
Mean Accuracy63.3
199
Domain GeneralizationOfficeHome
Accuracy60.4
182
Person Re-IdentificationMarket-1501 to DukeMTMC-reID (test)
Rank-143.3
172
Semantic segmentationGTA5 to Cityscapes (test)
mIoU40.3
151
Showing 10 of 136 rows
...

Other info

Code

Follow for update