MixStyle Neural Networks for Domain Generalization and Adaptation
Open accessThe DOI matches its Crossref record; 30 of the 30 references it cites were found in a registry or an index.
Abstract
Neural networks do not generalize well to unseen data with domain shifts—a longstanding problem in machine learning and AI. To overcome the problem, we propose MixStyle, a simple plug-and-play, parameter-free module that can improve domain generalization performance without the need to collect more data or increase model capacity. The design of MixStyle is simple: it mixes the feature statistics of two random instances in a single forward pass during training. The idea is grounded by the finding from recent style transfer research that feature statistics capture image style information, which essentially defines visual domains. Therefore, mixing feature statistics can be seen as an efficient way to synthesize new domains in the feature space, thus achieving data augmentation. MixStyle is easy to implement with a few lines of code, does not require modification to training objectives, and can fit a variety of learning paradigms including supervised domain generalization, semi-supervised domain generalization, and unsupervised domain adaptation. Our experiments show that MixStyle can significantly boost out-of-distribution generalization performance across a wide range of tasks including image recognition, instance retrieval and reinforcement learning. The source code is released at https://github.com/KaiyangZhou/mixstyle-release.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474
ImageNet classification with deep convolutional neural networks
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017) · Communications of the ACM · doi:10.1145/3065386 · Cited by 112,155
Proximal Policy Optimization Algorithms
Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O. (2017) · arXiv · doi:10.48550/arxiv.1707.06347 · Cited by 10,625
mixup: Beyond Empirical Risk Minimization
Zhang, H., Cisse, M., Dauphin, Y. N., & Lopez-Paz, D. (2017) · arXiv · doi:10.48550/arxiv.1710.09412 · Cited by 5,831
CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Features
Yun, S., Han, D., Oh, S. J., Chun, S., Choe, J., & Yoo, Y. (2019) · arXiv · doi:10.48550/arxiv.1905.04899 · Cited by 5,439
CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
Yun, S., Han, D., Chun, S., Oh, S. J., Yoo, Y., & Choe, J. (2019) · 2019 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2019.00612 · Cited by 5,400
SGDR: Stochastic Gradient Descent with Warm Restarts
Loshchilov, I., & Hutter, F. (2016) · arXiv · doi:10.48550/arxiv.1608.03983 · Cited by 5,309
Adversarial Discriminative Domain Adaptation
Tzeng, E., Hoffman, J., Saenko, K., & Darrell, T. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.316 · Cited by 5,154 · cited 1×
“…the cross-entropy loss. f and f ′ are feature maps extracted at a certain layer for x and x ′ , respectively. µ ( ) and σ ( ) represent functions for computing channel-wise means and standard deviations, respectively. λ is an instance-specific, random weight sampled from the beta distribution.”
Arbitrary Style Transfer in Real-Time with Adaptive Instance Normalization
Huang, X., & Belongie, S. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.167 · Cited by 5,076
Learning Transferable Features with Deep Adaptation Networks
Long, M., Cao, Y., Wang, J., & Jordan, M. I. (2015) · arXiv · doi:10.48550/arxiv.1502.02791 · Cited by 4,505 · cited 1×
“Source-only [54] 52.4 MMD [43] 61.1 DANN [17] 57.4 MCD [54] 71.9 SWD [33] 76.4 STAR [46] 82.7 FixMatch Experimental Setup We choose a challenging UDA dataset, VisDA-17 [52], which focuses on knowledge transfer from synthetic to real images.”
InfluentialDeep CORAL: Correlation Alignment for Deep Domain Adaptation
Sun, B., & Saenko, K. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-49409-8_35 · Cited by 3,757 · cited 1×
“…the cross-entropy loss. f and f ′ are feature maps extracted at a certain layer for x and x ′ , respectively. µ ( ) and σ ( ) represent functions for computing channel-wise means and standard deviations, respectively. λ is an instance-specific, random weight sampled from the beta distribution.”
Random Erasing Data Augmentation
Zhong, Z., Zheng, L., Kang, G., Li, S., & Yang, Y. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i07.7000 · Cited by 3,617
Self-citationRandom Erasing Data Augmentation
Zhong, Z., Zheng, L., Kang, G., Li, S., & Yang, Y. (2017) · arXiv · doi:10.48550/arxiv.1708.04896 · Cited by 3,617 · cited 1×
“…We compare with three baseline methods: 1) The vanilla model, which serves as a strong base-line; 2) DropBlock, which was the top-performing competitor in the object recognition experiment; 3) Ran-3 domErase [81], a widely used regularization method in the re-ID literature (similar to Cutout).”
MethodSelf-citationA theory of learning from different domains
Ben-David, S., Blitzer, J., Crammer, K., Kulesza, A., Pereira, F., & Vaughan, J. W. (2010) · Machine Learning · doi:10.1007/s10994-009-5152-4 · Cited by 3,515 · cited 1×
“However, in UDA this idea is backed by a theoretical guarantee [2] that reducing the distribution mismatch be-tween the source and target domain can lead to a lower upper bound on the target error.”
BackgroundDARTS: Differentiable architecture search
Liu, H., Simonyan, K., & Yang, Y. (2018) · arXiv · doi:10.48550/arxiv.1806.09055 · Cited by 3,248 · cited 1×
“To eliminate the manual selection of layers, which can be seen as a discrete process, one could explore, for example, applying MixStyle to every plausible layer and using a differentiable architecture search algorithm to automatically identify the optimal set of layers [67], [81].”
Self-citationRandAugment: Practical automated data augmentation with a reduced search space
Cubuk, E. D., Zoph, B., Shlens, J., & Le, Q. V. (2019) · arXiv · doi:10.48550/arxiv.1909.13719 · Cited by 3,223 · cited 1×
“…u , which is computed on the unlabeled instances, where max( p ′ i ) is the most confident estimate, τ is the confidence threshold (fixed to 0.95), q ′ i is the pseudo label obtained on the weakly augmented image a ( x ′ i ), and A ( ) denotes a strong augmentation function (e.g., RandAugment [6]).”
InfluentialRandaugment: Practical automated data augmentation with a reduced search space
Cubuk, E. D., Zoph, B., Shlens, J., & Le, Q. V. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw50498.2020.00359 · Cited by 3,223
Domain randomization for transferring deep neural networks from simulation to the real world
Tobin, J., Fong, R., Ray, A., Schneider, J., Zaremba, W., & Abbeel, P. (2017) · 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros.2017.8202133 · Cited by 3,124 · cited 1×
“…the cross-entropy loss. f and f ′ are feature maps extracted at a certain layer for x and x ′ , respectively. µ ( ) and σ ( ) represent functions for computing channel-wise means and standard deviations, respectively. λ is an instance-specific, random weight sampled from the beta distribution.”
FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence
Sohn, K., Berthelot, D., Li, C.-L., Zhang, Z., Carlini, N., Cubuk, E. D., Kurakin, A., Zhang, H., & Raffel, C. (2020) · arXiv · doi:10.48550/arxiv.2001.07685 · Cited by 2,892 · cited 2×
“Following FixMatch [60], a state-of-the-art pseudo-labeling method, we use a confidence threshold to filter out low-confidence predictions, and adopt the weak-strong augmentation training to reduce overfitting to noisy pseudo labels—pseudo labels are estimated on weakly augmented images while…”
CyCADA: Cycle-Consistent Adversarial Domain Adaptation
Hoffman, J., Tzeng, E., Park, T., Zhu, J.-Y., Isola, P., Saenko, K., Efros, A. A., & Darrell, T. (2017) · arXiv · doi:10.48550/arxiv.1711.03213 · Cited by 2,656 · cited 1×
“…the cross-entropy loss. f and f ′ are feature maps extracted at a certain layer for x and x ′ , respectively. µ ( ) and σ ( ) represent functions for computing channel-wise means and standard deviations, respectively. λ is an instance-specific, random weight sampled from the beta distribution.”
Deep Hashing Network for Unsupervised Domain Adaptation
Venkateswara, H., Eusebio, J., Chakraborty, S., & Panchanathan, S. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.572 · Cited by 2,171 · cited 1×
“To demonstrate the versatility of MixStyle, our experiments cover a wide range of generalization tasks: ob-Table”
IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architectures
Espeholt, L., Soyer, H., Munos, R., Simonyan, K., Mnih, V., Ward, T., Doron, Y., Firoiu, V., Harley, T., Dunning, I., et al. (2018) · arXiv · doi:10.48550/arxiv.1802.01561 · Cited by 1,708
Domain Generalization: A Survey
Zhou, K., Liu, Z., Qiao, Y., Xiang, T., & Loy, C. C. (2022) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2022.3195549 · Cited by 1,315
Self-citationDropBlock: A regularization method for convolutional networks
Ghiasi, G., Lin, T.-Y., & Le, Q. V. (2018) · arXiv · doi:10.48550/arxiv.1810.12890 · Cited by 1,232
Domain Generalization via Invariant Feature Representation
Muandet, K., Balduzzi, D., & Schölkopf, B. (2013) · arXiv · doi:10.48550/arxiv.1301.2115 · Cited by 771
Quantifying Generalization in Reinforcement Learning
Cobbe, K., Klimov, O., Hesse, C., Kim, T., & Schulman, J. (2018) · arXiv · doi:10.48550/arxiv.1812.02341 · Cited by 769 · cited 2×
“We conduct experiments on two commonly used domain generalization (DG) datasets, namely PACS [35] and Office-Home [67], which contain different types of domain shifts.”
Reinforcement Learning with Augmented Data
Laskin, M., Lee, K., Stooke, A., Pinto, L., Abbeel, P., & Srinivas, A. (2020) · arXiv · doi:10.48550/arxiv.2004.14990 · Cited by 299 · cited 1×
“A couple of recent studies [32,29] have shown that it is useful to combine a diverse set of labelpreserving transformations, such as rotation, shifting and Cutout [8].”
Image Augmentation Is All You Need: Regularizing Deep Reinforcement Learning from Pixels
Kostrikov, I., Yarats, D., & Fergus, R. (2020) · arXiv · doi:10.48550/arxiv.2004.13649 · Cited by 267 · cited 1×
“A couple of recent studies [32,29] have shown that it is useful to combine a diverse set of labelpreserving transformations, such as rotation, shifting and Cutout [8].”
Generalization and Regularization in DQN
Farebrother, J., Machado, M. C., & Bowling, M. (2018) · arXiv · doi:10.48550/arxiv.1810.00123 · Cited by 92 · cited 1×
“A nat-ural way to improve generalization, which has been shown effective in several studies [5,15], is to impose regularization, such as weight decay.”
Transfer Learning for Related Reinforcement Learning Tasks via Image-to-Image Translation
Gamrian, S., & Goldberg, Y. (2018) · arXiv · doi:10.48550/arxiv.1806.07377 · Cited by 70 · cited 2×
“Advances in image-to-image translation have also been exploited, e.g., Gamrian and Goldberg [16] use an image translation model to map target data to the source domain where the agent was trained on to solve the domain shift problem.”
Cited by
Domain Generalization: A Survey
Zhou, K., Liu, Z., Qiao, Y., Xiang, T., & Loy, C. C. (2022) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2022.3195549 · Cited by 1,315
Self-citation
Metadata
- Authors
- Zhou, K., Yang, Y., Qiao, Y., & Xiang, T.
- Venue
- International Journal of Computer Vision
- Published
- 2023-10-17
- Volume
- 132
- Issue
- 3
- Pages
- 822-836
- ISSN
- 0920-5691 (ISSN-L)
- 1573-1405
- OpenAlex
- W4387704395
- Cited by
- 173
- References
- 30
- FWCI
- 14.85
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.