mlsanityData to 7 Oct 2026

TFS-ViT: Token-Level Feature Stylization for Domain Generalization

arXiv 2303.15698 ↗First posted 28 Mar 2023cs.CVcited by 10

Not on the map. Why?

Abstract (arXiv)

Standard deep learning models such as convolutional neural networks (CNNs) lack the ability of generalizing to domains which have not been seen during training. This problem is mainly due to the common but often wrong assumption of such models that the source and target data come from the same i.i.d. distribution. Recently, Vision Transformers (ViTs) have shown outstanding performance for a broad range of computer vision tasks. However, very few studies have investigated their ability to generalize to new domains. This paper presents a first Token-level Feature Stylization (TFS-ViT) approach for domain generalization, which improves the performance of ViTs to unseen data by synthesizing new domains. Our approach transforms token features by mixing the normalization statistics of images from different domains. We further improve this approach with a novel strategy for attention-aware stylization, which uses the attention maps of class (CLS) tokens to compute and mix normalization statistics of tokens corresponding to different image regions. The proposed method is flexible to the choice of backbone model and can be easily applied to any ViT-based architecture with a negligible increase in computational complexity. Comprehensive experiments show that our approach is able to achieve state-of-the-art performance on five challenging benchmarks for domain generalization, and demonstrate its ability to deal with different types of domain shifts. The implementation is available at: https://github.com/Mehrdad-Noori/TFS-ViT_Token-level_Feature_Stylization.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 57 of its 69 references that are in the map. First posted on arXiv 28 Mar 2023.

Builds on

57 of 69 references.

References · 57

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  3. 2020End-to-End Object Detection with Transformerscited by 7,384
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  5. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  6. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  7. 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 1,998
  8. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
  9. 2019Invariant Risk Minimizationcited by 1,832
  10. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  11. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  12. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
38 more
  1. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  2. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
  3. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  4. 2020In Search of Lost Domain Generalizationcited by 1,042
  5. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  6. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  7. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  8. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
  9. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
  10. 2021Domain Generalization: A Surveycited by 760
  11. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  12. 2017Maximum Classifier Discrepancy for Unsupervised Domain Adaptationcited by 682
  13. 2018Recognition in Terra Incognitacited by 655
  14. 2021Domain Generalization with MixStylecited by 563
  15. 2018Generalizing to Unseen Domains via Adversarial Data Augmentationcited by 451
  16. 2019Domain Generalization by Solving Jigsaw Puzzlescited by 449
  17. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  18. 2020Self-Challenging Improves Cross-Domain Generalizationcited by 426
  19. 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
  20. 2020Learning to Generate Novel Domains for Domain Generalizationcited by 296
  21. 2018Generalizing Across Domains via Cross-Gradient Trainingcited by 268
  22. 2015Domain Generalization for Object Recognition with Multi-task Autoencoderscited by 253
  23. 2019Domain Randomization and Pyramid Consistency: Simulation-to-Real Generalization without Accessing Target Domain Datacited by 245
  24. 2020Deep Domain-Adversarial Image Generation for Domain Generalisationcited by 231
  25. 2020Domain Generalization using Causal Matchingcited by 224
  26. 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
  27. 2020Improve Unsupervised Domain Adaptation with Mixup Trainingcited by 185
  28. 2020Adaptive Risk Minimization: Learning to Adapt to Domain Shiftcited by 183
  29. 2017Domain Generalization by Marginal Transfer Learningcited by 180
  30. 2020Learning to Balance Specificity and Invariance for In and Out of Domain Generalizationcited by 128
  31. 2020Domain Generalization for Medical Imaging Classification with Linear-Dependency Regularizationcited by 122
  32. 2021Simpler is Better: Few-shot Semantic Segmentation with Classifier Weight Transformercited by 116
  33. 2020Learning from Extrinsic and Intrinsic Supervisions for Domain Generalizationcited by 108
  34. 2021Exploiting Domain-Specific Features to Enhance Domain Generalizationcited by 86
  35. 2021Delving Deep into the Generalization of Vision Transformers under Distribution Shiftscited by 85
  36. 2018Best sources forward: domain generalization through source-specific netscited by 81
  37. 2020Towards Universal Representation Learning for Deep Face Recognitioncited by 78
  38. 2019Domain Generalization via Multidomain Discriminant Analysiscited by 69

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 5; 2025: 5.

10 papers.