mlsanityData to 7 Oct 2026

Test-Time Adaptation via Self-Training with Nearest Neighbor Information

arXiv 2207.10792 ↗First posted 8 Jul 2022cs.CV cs.AIcited by 64

Not on the map. Why?

Abstract (arXiv)

Test-time adaptation (TTA) aims to adapt a trained classifier using online unlabeled test data only, without any information related to the training procedure. Most existing TTA methods adapt the trained classifier using the classifier's prediction on the test data as pseudo-label. However, under test-time domain shift, accuracy of the pseudo labels cannot be guaranteed, and thus the TTA methods often encounter performance degradation at the adapted classifier. To overcome this limitation, we propose a novel test-time adaptation method, called Test-time Adaptation via Self-Training with nearest neighbor information (TAST), which is composed of the following procedures: (1) adds trainable adaptation modules on top of the trained feature extractor; (2) newly defines a pseudo-label distribution for the test data by using the nearest neighbor information; (3) trains these modules only a few times during test time to match the nearest neighbor-based pseudo label distribution and a prototype-based class distribution for the test data; and (4) predicts the label of test data using the average predicted class distribution from these modules. The pseudo-label generation is based on the basic intuition that a test data and its nearest neighbor in the embedding space are likely to share the same label under the domain shift. By utilizing multiple randomly initialized adaptation modules, TAST extracts useful information for the classification of the test data under the domain shift, using the nearest neighbor information. TAST showed better performance than the state-of-the-art TTA methods on two standard benchmark tasks, domain generalization, namely VLCS, PACS, OfficeHome, and TerraIncognita, and image corruption, particularly CIFAR-10/100C.

Key facts. Cited by 64 papers in the map (data through 7 Oct 2026). Builds on 48 of its 78 references that are in the map. First posted on arXiv 8 Jul 2022.

Builds on

48 of 78 references.

References · 48

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  4. 2017On Calibration of Modern Neural Networkscited by 4,860
  5. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  6. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  7. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  8. 2016Matching Networks for One Shot Learningcited by 2,246
  9. 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
  10. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
  11. 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,390
  12. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
36 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. 2016Temporal Ensembling for Semi-Supervised Learningcited by 1,054
  4. 2020In Search of Lost Domain Generalizationcited by 1,042
  5. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
  6. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  7. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
  8. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
  9. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  10. 2018Recognition in Terra Incognitacited by 655
  11. 2019Self-labelling via simultaneous clustering and representation learningcited by 525
  12. 2019Pseudo-Labeling and Confirmation Bias in Deep Semi-Supervised Learningcited by 507
  13. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
  14. 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
  15. 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
  16. 2020BatchEnsemble: An Alternative Approach to Efficient Ensemble and Lifelong Learningcited by 368
  17. 2020Calibrating Deep Neural Networks using Focal Losscited by 353
  18. 2018Quantifying Generalization in Reinforcement Learningcited by 345
  19. 2016Unsupervised Domain Adaptation with Residual Transfer Networkscited by 340
  20. 2021With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representationscited by 324
  21. 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
  22. 2019Label Propagation for Deep Semi-supervised Learningcited by 287
  23. 2019Adversarial Domain Adaptation with Domain Mixupcited by 250
  24. 2015Simultaneous Deep Transfer Across Domains and Taskscited by 205
  25. 2019SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learningcited by 194
  26. 2021Exploiting the Intrinsic Neighborhood Structure for Source-free Domain Adaptationcited by 176
  27. 2017Domain Adaptation for Visual Applications: A Comprehensive Surveycited by 127
  28. 2022Debiased Self-Training for Semi-Supervised Learningcited by 62
  29. 2021Source-Free Adaptation to Measurement Shift via Bottom-Up Feature Restorationcited by 50
  30. 2020Meta-Reinforcement Learning Robust to Distributional Shift via Model Identification and Experience Relabelingcited by 24
  31. 2021Source-free Domain Adaptation via Distributional Alignment by Matching Batch Normalization Statisticscited by 24
  32. 2021Nearest Neighborhood-Based Deep Clustering for Source Data-absent Unsupervised Domain Adaptationcited by 16
  33. 2021Improving Generalization in Meta-RL with Imaginary Tasks from Latent Dynamics Mixturecited by 12
  34. 2021Unsupervised Embedding Adaptation via Early-Stage Feature Reconstruction for Few-Shot Classificationcited by 7
  35. 2021Rethinking Nearest Neighbors for Visual Classificationcited by 6
  36. 2021Domain Generalization using Ensemble Learningcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 17; 2024: 15; 2025: 22; 2026: 10.

64 papers.

Sort:

By area:

  1. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
  2. 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
  3. 2023In Search of Lost Online Test-time Adaptation: A Surveycited by 43
  4. 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 42
  5. 2023TEA: Test-time Energy Adaptationcited by 25
  6. 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
  7. 2025Bayesian Test-Time Adaptation for Vision-Language Modelscited by 21
  8. 2024Contextual Document Embeddingscited by 19
  9. 2023Optimization-Free Test-Time Adaptation for Cross-Person Activity Recognitioncited by 15
  10. 2023What, How, and When Should Object Detectors Update in Continually Changing Test Domains?cited by 15
  11. 2023AUTO: Adaptive Outlier Optimization for Test-Time OOD Detectioncited by 12
  12. 2025Learning with Calibration: Exploring Test-Time Computing of Spatio-Temporal Forecastingcited by 9
38 more
  1. 2025Jailbreaking the Non-Transferable Barrier via Test-Time Data Disguisingcited by 8
  2. 2024Decoupled Prototype Learning for Reliable Test-Time Adaptationcited by 7
  3. 2024A Layer Selection Approach to Test Time Adaptationcited by 7
  4. 2024Temporal Test-Time Adaptation with State-Space Modelscited by 6
  5. 2024Fully Test-Time rPPG Estimation via Synthetic Signal-Guided Feature Learningcited by 6
  6. 2023Towards Unified and Effective Domain Generalizationcited by 5
  7. 2024Dual-Phase Continual Learning: Supervised Adaptation Meets Unsupervised Retentioncited by 5
  8. 2024Is Less More? Exploring Token Condensation as Training-free Test-time Adaptationcited by 5
  9. 2025Buffer layers for Test-Time Adaptationcited by 5
  10. 2025Towards Understanding Extrapolation: a Causal Lenscited by 4
  11. 2026Histopath-C: Towards Realistic Domain Shifts for Histopathology Vision-Language Adaptationcited by 4
  12. 2023Probabilistic Test-Time Generalization by Variational Neighbor-Labelingcited by 3
  13. 2023Generalized Robust Test-Time Adaptation in Continuous Dynamic Scenarioscited by 3
  14. 2023Test-Time Training for Semantic Segmentation with Output Contrastive Losscited by 3
  15. 2024Resilient Practical Test-Time Adaptation: Soft Batch Normalization Alignment and Entropy-driven Memory Bankcited by 3
  16. 2024FunOTTA: On-the-Fly Adaptation on Cross-Domain Fundus Image via Stable Test-time Trainingcited by 3
  17. 2025Understanding and Mitigating Distribution Shifts For Machine Learning Force Fieldscited by 3
  18. 2025Test-time Correlation Alignmentcited by 3
  19. 2025Test-Time Adaptation with Binary Feedbackcited by 3
  20. 2025Class-aware Domain Knowledge Fusion and Fission for Continual Test-Time Adaptationcited by 3
  21. 2023Adapting Machine Learning Diagnostic Models to New Populations Using a Small Amount of Data: Results from Clinical Neurosciencecited by 2
  22. 2023Improving Entropy-Based Test-Time Adaptation from a Clustering Viewcited by 2
  23. 2024Exploring Human-in-the-Loop Test-Time Adaptation by Synergizing Active Learning and Model Selectioncited by 2
  24. 2024TTVD: Towards a Geometric Framework for Test-Time Adaptation Based on Voronoi Diagramcited by 2
  25. 2025GeneralizeFormer: Layer-Adaptive Model Generation across Test-Time Distribution Shiftscited by 2
  26. 2025Structural Alignment Improves Graph Test-Time Adaptationcited by 2
  27. 2025PAID: Pairwise Angular-Invariant Decomposition for Continual Test-Time Adaptationcited by 2
  28. 2025Test-Time Adaptation by Causal Trimmingcited by 2
  29. 2023SODA: Robust Training of Test-Time Data Adaptorscited by 1
  30. 2023Context Enhanced Transformer for Single Image Object Detectioncited by 1
  31. 2025Augmented Contrastive Clustering with Uncertainty-Aware Prototyping for Time Series Test Time Adaptationcited by 1
  32. 2025SPACE: SPike-Aware Consistency Enhancement for Test-Time Adaptation in Spiking Neural Networkscited by 1
  33. 2025Bayesian Test-time Adaptation for Object Recognition and Detection with Vision-language Modelscited by 1
  34. 2023Test-Time Adaptation with Perturbation Consistency Learningcited by 0
  35. 2024Mitigating the Bias in the Model for Continual Test-Time Adaptationcited by 0
  36. 2024Meta-TTT: A Meta-learning Minimax Framework For Test-Time Trainingcited by 0
  37. 2024Label Distribution Shift-Aware Prediction Refinement for Test-Time Adaptationcited by 0
  38. 2025Threshold Modulation for Online Test-Time Adaptation of Spiking Neural Networkscited by 0

50 most cited of 64 All 64 (JSON)