mlsanityData to 7 Oct 2026

Robustifying Vision Transformer without Retraining from Scratch by Test-Time Class-Conditional Feature Alignment

arXiv 2206.13951 ↗First posted 28 Jun 2022cs.CV cs.AI cs.LGcited by 26

Not on the map. Why?

Abstract (arXiv)

Vision Transformer (ViT) is becoming more popular in image processing. Specifically, we investigate the effectiveness of test-time adaptation (TTA) on ViT, a technique that has emerged to correct its prediction during test-time by itself. First, we benchmark various test-time adaptation approaches on ViT-B16 and ViT-L16. It is shown that the TTA is effective on ViT and the prior-convention (sensibly selecting modulation parameters) is not necessary when using proper loss function. Based on the observation, we propose a new test-time adaptation method called class-conditional feature alignment (CFA), which minimizes both the class-conditional distribution differences and the whole distribution differences of the hidden representation between the source and target in an online manner. Experiments of image classification tasks on common corruption (CIFAR-10-C, CIFAR-100-C, and ImageNet-C) and domain adaptation (digits datasets and ImageNet-Sketch) show that CFA stably outperforms the existing baselines on various datasets. We also verify that CFA is model agnostic by experimenting on ResNet, MLP-Mixer, and several ViT variants (ViT-AugReg, DeiT, and BeiT). Using BeiT backbone, CFA achieves 19.8% top-1 error rate on ImageNet-C, outperforming the existing test-time adaptation baseline 44.0%. This is a state-of-the-art result among TTA methods that do not need to alter training phase.

Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 31 of its 63 references that are in the map. First posted on arXiv 28 Jun 2022.

Builds on

31 of 63 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  7. 2016Layer Normalizationcited by 5,579
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  10. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  11. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  12. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
19 more
  1. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  2. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  3. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  4. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
  5. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
  6. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  7. 2021Intriguing Properties of Vision Transformerscited by 446
  8. 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
  9. 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 335
  10. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
  11. 2021Understanding Robustness of Transformers for Image Classificationcited by 250
  12. 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 235
  13. 2018End-to-End Dense Video Captioning with Masked Transformercited by 214
  14. 2021Vision Transformers are Robust Learnerscited by 208
  15. 2017Central Moment Discrepancy (CMD) for Domain-Invariant Representation Learningcited by 192
  16. 2020Learning Joint Spatial-Temporal Transformations for Video Inpaintingcited by 162
  17. 2019Cluster Alignment with a Teacher for Unsupervised Domain Adaptationcited by 88
  18. 2022Does Robustness on ImageNet Transfer to Downstream Tasks?cited by 20
  19. 2021Exploring Corruption Robustness: Inductive Biases in Vision Transformers and MLP-Mixerscited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 8; 2024: 6; 2025: 3; 2026: 5.

26 papers.

Sort:

  1. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
  2. 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
  3. 2022Visual Prompt Tuning for Test-time Domain Adaptationcited by 97
  4. 2023In Search of Lost Online Test-time Adaptation: A Surveycited by 43
  5. 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 42
  6. 2022ActMAD: Activation Matching to Align Distributions for Test-Time-Trainingcited by 38
  7. 2022Video Test-Time Adaptation for Action Recognitioncited by 35
  8. 2023Evaluation of Test-Time Adaptation Under Computational Time Constraintscited by 13
  9. 2023Uncovering Adversarial Risks of Test-Time Adaptationcited by 12
  10. 2023Test Time Adaptation for Blind Image Quality Assessmentcited by 11
  11. 2023VPA: Fully Test-Time Visual Prompt Adaptationcited by 11
  12. 2024Test-time Adaptation for Regression by Subspace Alignmentcited by 9
14 more
  1. 2024Dual-Path Adversarial Lifting for Domain Shift Correction in Online Test-time Adaptationcited by 4
  2. 2023ASR: Attention-alike Structural Re-parameterizationcited by 2
  3. 2024Test-time Adaptation Meets Image Enhancement: Improving Accuracy via Uncertainty-aware Logit Switchingcited by 2
  4. 2024Test-Time Adaptation for Combating Missing Modalities in Egocentric Videoscited by 2
  5. 2024Domain-Conditioned Transformer for Fully Test-time Adaptationcited by 2
  6. 2025Structural Alignment Improves Graph Test-Time Adaptationcited by 2
  7. 2024Enhanced Online Test-time Adaptation with Feature-Weight Cosine Alignmentcited by 1
  8. 2025ADVMEM: Adversarial Memory Initialization for Realistic Test-Time Adaptation via Tracklet-Based Benchmarkingcited by 1
  9. 2025HyperTTA: Test-Time Adaptation for Hyperspectral Image Classification under Distribution Shiftscited by 1
  10. 2026Stabilizing Test-Time Adaptation of High-Dimensional Simulation Surrogates via D-Optimal Statisticscited by 0
  11. 2026IMSE: Intrinsic Mixture of Spectral Experts Fine-tuning for Test-Time Adaptationcited by 0
  12. 2026Test Time Adaptation Methods for Point Cloud Registration in Laparoscopic Surgerycited by 0
  13. 2026Reliable Neural Collapse Approximation for Open-World Test-Time Adaptationcited by 0
  14. 2026Test-time adaptation for speech enhancement with an autoregressive speech priorcited by 0