TFS-ViT: Token-Level Feature Stylization for Domain Generalization
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
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 1,998
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
- 2019Invariant Risk Minimizationcited by 1,832
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
38 more
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
- 2021Domain Generalization: A Surveycited by 760
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
- 2017Maximum Classifier Discrepancy for Unsupervised Domain Adaptationcited by 682
- 2018Recognition in Terra Incognitacited by 655
- 2021Domain Generalization with MixStylecited by 563
- 2018Generalizing to Unseen Domains via Adversarial Data Augmentationcited by 451
- 2019Domain Generalization by Solving Jigsaw Puzzlescited by 449
- 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
- 2020Self-Challenging Improves Cross-Domain Generalizationcited by 426
- 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
- 2020Learning to Generate Novel Domains for Domain Generalizationcited by 296
- 2018Generalizing Across Domains via Cross-Gradient Trainingcited by 268
- 2015Domain Generalization for Object Recognition with Multi-task Autoencoderscited by 253
- 2019Domain Randomization and Pyramid Consistency: Simulation-to-Real Generalization without Accessing Target Domain Datacited by 245
- 2020Deep Domain-Adversarial Image Generation for Domain Generalisationcited by 231
- 2020Domain Generalization using Causal Matchingcited by 224
- 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
- 2020Improve Unsupervised Domain Adaptation with Mixup Trainingcited by 185
- 2020Adaptive Risk Minimization: Learning to Adapt to Domain Shiftcited by 183
- 2017Domain Generalization by Marginal Transfer Learningcited by 180
- 2020Learning to Balance Specificity and Invariance for In and Out of Domain Generalizationcited by 128
- 2020Domain Generalization for Medical Imaging Classification with Linear-Dependency Regularizationcited by 122
- 2021Simpler is Better: Few-shot Semantic Segmentation with Classifier Weight Transformercited by 116
- 2020Learning from Extrinsic and Intrinsic Supervisions for Domain Generalizationcited by 108
- 2021Exploiting Domain-Specific Features to Enhance Domain Generalizationcited by 86
- 2021Delving Deep into the Generalization of Vision Transformers under Distribution Shiftscited by 85
- 2018Best sources forward: domain generalization through source-specific netscited by 81
- 2020Towards Universal Representation Learning for Deep Face Recognitioncited by 78
- 2019Domain Generalization via Multidomain Discriminant Analysiscited by 69
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2024: 5; 2025: 5.
10 papers.
- 2024DGMamba: Domain Generalization via Generalized State Space Modelcited by 21
- 2024Vision transformers in domain adaptation and domain generalization: a study of robustnesscited by 11
- 2025Test-Time Adaptation of Vision-Language Models for Open-Vocabulary Semantic Segmentationcited by 10
- 2024FDS: Feedback-guided Domain Synthesis with Multi-Source Conditional Diffusion Models for Domain Generalizationcited by 5
- 2024START: A Generalized State Space Model with Saliency-Driven Token-Aware Transformationcited by 4
- 2025Random Registers for Cross-Domain Few-Shot Learningcited by 4
- 2025DGFamba: Learning Flow Factorized State Space for Visual Domain Generalizationcited by 1
- 2025Towards Reliable Test-Time Adaptation: Style Invariance as a Correctness Likelihoodcited by 1
- 2024PathoWAve: A Deep Learning-based Weight Averaging Method for Improving Domain Generalization in Histopathology Imagescited by 0
- 2025TransForSeg: A Multitask Stereo ViT for Joint Stereo Segmentation and 3D Force Estimation in Catheterizationcited by 0
- 2025Towards Reliable Test-Time Adaptation: Style Invariance as a Correctness Likelihood8 Dec 2025
- 2025TransForSeg: A Multitask Stereo ViT for Joint Stereo Segmentation and 3D Force Estimation in Catheterization1 Sep 2025
- 2025Random Registers for Cross-Domain Few-Shot Learning3 Jun 2025
- 2025Test-Time Adaptation of Vision-Language Models for Open-Vocabulary Semantic Segmentation28 May 2025
- 2025DGFamba: Learning Flow Factorized State Space for Visual Domain Generalization10 Apr 2025
- 2024START: A Generalized State Space Model with Saliency-Driven Token-Aware Transformation21 Oct 2024
- 2024FDS: Feedback-guided Domain Synthesis with Multi-Source Conditional Diffusion Models for Domain Generalization4 Jul 2024
- 2024PathoWAve: A Deep Learning-based Weight Averaging Method for Improving Domain Generalization in Histopathology Images21 Jun 2024
- 2024DGMamba: Domain Generalization via Generalized State Space Model11 Apr 2024
- 2024Vision transformers in domain adaptation and domain generalization: a study of robustness5 Apr 2024