Test-Time Adaptation via Self-Training with Nearest Neighbor Information
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
- 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,390
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
36 more
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2016Temporal Ensembling for Semi-Supervised Learningcited by 1,054
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2018Recognition in Terra Incognitacited by 655
- 2019Self-labelling via simultaneous clustering and representation learningcited by 525
- 2019Pseudo-Labeling and Confirmation Bias in Deep Semi-Supervised Learningcited by 507
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
- 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
- 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
- 2020BatchEnsemble: An Alternative Approach to Efficient Ensemble and Lifelong Learningcited by 368
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2018Quantifying Generalization in Reinforcement Learningcited by 345
- 2016Unsupervised Domain Adaptation with Residual Transfer Networkscited by 340
- 2021With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representationscited by 324
- 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
- 2019Label Propagation for Deep Semi-supervised Learningcited by 287
- 2019Adversarial Domain Adaptation with Domain Mixupcited by 250
- 2015Simultaneous Deep Transfer Across Domains and Taskscited by 205
- 2019SimpleShot: Revisiting Nearest-Neighbor Classification for Few-Shot Learningcited by 194
- 2021Exploiting the Intrinsic Neighborhood Structure for Source-free Domain Adaptationcited by 176
- 2017Domain Adaptation for Visual Applications: A Comprehensive Surveycited by 127
- 2022Debiased Self-Training for Semi-Supervised Learningcited by 62
- 2021Source-Free Adaptation to Measurement Shift via Bottom-Up Feature Restorationcited by 50
- 2020Meta-Reinforcement Learning Robust to Distributional Shift via Model Identification and Experience Relabelingcited by 24
- 2021Source-free Domain Adaptation via Distributional Alignment by Matching Batch Normalization Statisticscited by 24
- 2021Nearest Neighborhood-Based Deep Clustering for Source Data-absent Unsupervised Domain Adaptationcited by 16
- 2021Improving Generalization in Meta-RL with Imaginary Tasks from Latent Dynamics Mixturecited by 12
- 2021Unsupervised Embedding Adaptation via Early-Stage Feature Reconstruction for Few-Shot Classificationcited by 7
- 2021Rethinking Nearest Neighbors for Visual Classificationcited by 6
- 2021Domain Generalization using Ensemble Learningcited by 4
Built on by
Citing papers per year: 2023: 17; 2024: 15; 2025: 22; 2026: 10.
64 papers.
Sort:
By area:
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
- 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
- 2023In Search of Lost Online Test-time Adaptation: A Surveycited by 43
- 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 42
- 2023TEA: Test-time Energy Adaptationcited by 25
- 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
- 2025Bayesian Test-Time Adaptation for Vision-Language Modelscited by 21
- 2024Contextual Document Embeddingscited by 19
- 2023Optimization-Free Test-Time Adaptation for Cross-Person Activity Recognitioncited by 15
- 2023What, How, and When Should Object Detectors Update in Continually Changing Test Domains?cited by 15
- 2023AUTO: Adaptive Outlier Optimization for Test-Time OOD Detectioncited by 12
- 2025Learning with Calibration: Exploring Test-Time Computing of Spatio-Temporal Forecastingcited by 9
38 more
- 2025Jailbreaking the Non-Transferable Barrier via Test-Time Data Disguisingcited by 8
- 2024Decoupled Prototype Learning for Reliable Test-Time Adaptationcited by 7
- 2024A Layer Selection Approach to Test Time Adaptationcited by 7
- 2024Temporal Test-Time Adaptation with State-Space Modelscited by 6
- 2024Fully Test-Time rPPG Estimation via Synthetic Signal-Guided Feature Learningcited by 6
- 2023Towards Unified and Effective Domain Generalizationcited by 5
- 2024Dual-Phase Continual Learning: Supervised Adaptation Meets Unsupervised Retentioncited by 5
- 2024Is Less More? Exploring Token Condensation as Training-free Test-time Adaptationcited by 5
- 2025Buffer layers for Test-Time Adaptationcited by 5
- 2025Towards Understanding Extrapolation: a Causal Lenscited by 4
- 2026Histopath-C: Towards Realistic Domain Shifts for Histopathology Vision-Language Adaptationcited by 4
- 2023Probabilistic Test-Time Generalization by Variational Neighbor-Labelingcited by 3
- 2023Generalized Robust Test-Time Adaptation in Continuous Dynamic Scenarioscited by 3
- 2023Test-Time Training for Semantic Segmentation with Output Contrastive Losscited by 3
- 2024Resilient Practical Test-Time Adaptation: Soft Batch Normalization Alignment and Entropy-driven Memory Bankcited by 3
- 2024FunOTTA: On-the-Fly Adaptation on Cross-Domain Fundus Image via Stable Test-time Trainingcited by 3
- 2025Understanding and Mitigating Distribution Shifts For Machine Learning Force Fieldscited by 3
- 2025Test-time Correlation Alignmentcited by 3
- 2025Test-Time Adaptation with Binary Feedbackcited by 3
- 2025Class-aware Domain Knowledge Fusion and Fission for Continual Test-Time Adaptationcited by 3
- 2023Adapting Machine Learning Diagnostic Models to New Populations Using a Small Amount of Data: Results from Clinical Neurosciencecited by 2
- 2023Improving Entropy-Based Test-Time Adaptation from a Clustering Viewcited by 2
- 2024Exploring Human-in-the-Loop Test-Time Adaptation by Synergizing Active Learning and Model Selectioncited by 2
- 2024TTVD: Towards a Geometric Framework for Test-Time Adaptation Based on Voronoi Diagramcited by 2
- 2025GeneralizeFormer: Layer-Adaptive Model Generation across Test-Time Distribution Shiftscited by 2
- 2025Structural Alignment Improves Graph Test-Time Adaptationcited by 2
- 2025PAID: Pairwise Angular-Invariant Decomposition for Continual Test-Time Adaptationcited by 2
- 2025Test-Time Adaptation by Causal Trimmingcited by 2
- 2023SODA: Robust Training of Test-Time Data Adaptorscited by 1
- 2023Context Enhanced Transformer for Single Image Object Detectioncited by 1
- 2025Augmented Contrastive Clustering with Uncertainty-Aware Prototyping for Time Series Test Time Adaptationcited by 1
- 2025SPACE: SPike-Aware Consistency Enhancement for Test-Time Adaptation in Spiking Neural Networkscited by 1
- 2025Bayesian Test-time Adaptation for Object Recognition and Detection with Vision-language Modelscited by 1
- 2023Test-Time Adaptation with Perturbation Consistency Learningcited by 0
- 2024Mitigating the Bias in the Model for Continual Test-Time Adaptationcited by 0
- 2024Meta-TTT: A Meta-learning Minimax Framework For Test-Time Trainingcited by 0
- 2024Label Distribution Shift-Aware Prediction Refinement for Test-Time Adaptationcited by 0
- 2025Threshold Modulation for Online Test-Time Adaptation of Spiking Neural Networkscited by 0
50 most cited of 64 All 64 (JSON)
- 2026WISE-ATTA: When to Ask for Labels in Budgeted Active Test-Time Adaptation29 Sep 2026
- 2026Temporal Memory-Aware Online Test-Time Adaptation on Dynamic Graphs28 Aug 2026
- 2026Cross-device Collaborative Test-time Adaptation with Zeroth-order Optimization and Model Merging3 Jul 2026
- 2026BP-TTA: Balanced and Prototype-Guided Test-Time Adaptation in Dynamic Scenarios30 Jun 2026
- 2026Hierarchical Consistency Learning for Test-time Adaptation in Camouflage Perception25 May 2026
- 2026Sample-wise Targeted Adversarial Attacks on Test-time Adaptation22 May 2026
- 2026GoTTA be Diverse: Rethinking Memory Policies for Test-Time Adaptation19 May 2026
- 2026When Normality Shifts: Risk-Aware Test-Time Adaptation for Unsupervised Tabular Anomaly Detection11 May 2026
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imaging24 Feb 2026
- 2026Histopath-C: Towards Realistic Domain Shifts for Histopathology Vision-Language Adaptation18 Jan 2026
- 2025AnoRefiner: Anomaly-Aware Group-Wise Refinement for Zero-Shot Industrial Anomaly Detection27 Nov 2025
- 2025Buffer layers for Test-Time Adaptation24 Oct 2025
38 more
- 2025Class-aware Domain Knowledge Fusion and Fission for Continual Test-Time Adaptation14 Oct 2025
- 2025Test-Time Adaptation by Causal Trimming13 Oct 2025
- 2025Bayesian Test-time Adaptation for Object Recognition and Detection with Vision-language Models3 Oct 2025
- 2025Robust Multi-Modal Face Anti-Spoofing with Domain Adaptation: Tackling Missing Modalities, Noisy Pseudo-Labels, and Model Degradation27 Sep 2025
- 2025TRUST: Test-Time Refinement using Uncertainty-Guided SSM Traverses26 Sep 2025
- 2025Learn Faster and Remember More: Balancing Exploration and Exploitation for Continual Test-time Adaptation18 Aug 2025
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptation11 Aug 2025
- 2025PAID: Pairwise Angular-Invariant Decomposition for Continual Test-Time Adaptation3 Jun 2025
- 2025Learning with Calibration: Exploring Test-Time Computing of Spatio-Temporal Forecasting31 May 2025
- 2025Test-Time Adaptation with Binary Feedback24 May 2025
- 2025Threshold Modulation for Online Test-Time Adaptation of Spiking Neural Networks8 May 2025
- 2025Test-time Correlation Alignment1 May 2025
- 2025SPACE: SPike-Aware Consistency Enhancement for Test-Time Adaptation in Spiking Neural Networks3 Apr 2025
- 2025Jailbreaking the Non-Transferable Barrier via Test-Time Data Disguising21 Mar 2025
- 2025Bayesian Test-Time Adaptation for Vision-Language Models12 Mar 2025
- 2025Understanding and Mitigating Distribution Shifts For Machine Learning Force Fields11 Mar 2025
- 2025Structural Alignment Improves Graph Test-Time Adaptation25 Feb 2025
- 2025GeneralizeFormer: Layer-Adaptive Model Generation across Test-Time Distribution Shifts15 Feb 2025
- 2025Towards Understanding Extrapolation: a Causal Lens15 Jan 2025
- 2025Augmented Contrastive Clustering with Uncertainty-Aware Prototyping for Time Series Test Time Adaptation1 Jan 2025
- 2024TTVD: Towards a Geometric Framework for Test-Time Adaptation Based on Voronoi Diagram10 Dec 2024
- 2024Label Distribution Shift-Aware Prediction Refinement for Test-Time Adaptation20 Nov 2024
- 2024Historical Test-time Prompt Tuning for Vision Foundation Models27 Oct 2024
- 2024Is Less More? Exploring Token Condensation as Training-free Test-time Adaptation16 Oct 2024
- 2024Contextual Document Embeddings3 Oct 2024
- 2024Meta-TTT: A Meta-learning Minimax Framework For Test-Time Training2 Oct 2024
- 2024Fully Test-Time rPPG Estimation via Synthetic Signal-Guided Feature Learning18 Jul 2024
- 2024Temporal Test-Time Adaptation with State-Space Models17 Jul 2024
- 2024FunOTTA: On-the-Fly Adaptation on Cross-Domain Fundus Image via Stable Test-time Training5 Jul 2024
- 2024Dual-Phase Continual Learning: Supervised Adaptation Meets Unsupervised Retention19 Jun 2024
- 2024Exploring Human-in-the-Loop Test-Time Adaptation by Synergizing Active Learning and Model Selection29 May 2024
- 2024A Layer Selection Approach to Test Time Adaptation4 Apr 2024
- 2024Mitigating the Bias in the Model for Continual Test-Time Adaptation2 Mar 2024
- 2024Resilient Practical Test-Time Adaptation: Soft Batch Normalization Alignment and Entropy-driven Memory Bank26 Jan 2024
- 2024Decoupled Prototype Learning for Reliable Test-Time Adaptation15 Jan 2024
- 2023Context Enhanced Transformer for Single Image Object Detection22 Dec 2023
- 2023What, How, and When Should Object Detectors Update in Continually Changing Test Domains?12 Dec 2023
- 2023TEA: Test-time Energy Adaptation24 Nov 2023
50 newest of 64 All 64 (JSON)
- 2025Bayesian Test-Time Adaptation for Vision-Language Modelscited by 21
- 2024Dual-Phase Continual Learning: Supervised Adaptation Meets Unsupervised Retentioncited by 5
- 2026Histopath-C: Towards Realistic Domain Shifts for Histopathology Vision-Language Adaptationcited by 4
- 2025Bayesian Test-time Adaptation for Object Recognition and Detection with Vision-language Modelscited by 1
- 2026Histopath-C: Towards Realistic Domain Shifts for Histopathology Vision-Language Adaptation18 Jan 2026
- 2025Bayesian Test-time Adaptation for Object Recognition and Detection with Vision-language Models3 Oct 2025
- 2025Bayesian Test-Time Adaptation for Vision-Language Models12 Mar 2025
- 2024Dual-Phase Continual Learning: Supervised Adaptation Meets Unsupervised Retention19 Jun 2024
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
- 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
- 2023In Search of Lost Online Test-time Adaptation: A Surveycited by 43
- 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 42
- 2023TEA: Test-time Energy Adaptationcited by 25
- 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
- 2024Contextual Document Embeddingscited by 19
- 2023Optimization-Free Test-Time Adaptation for Cross-Person Activity Recognitioncited by 15
- 2023What, How, and When Should Object Detectors Update in Continually Changing Test Domains?cited by 15
- 2023AUTO: Adaptive Outlier Optimization for Test-Time OOD Detectioncited by 12
- 2025Learning with Calibration: Exploring Test-Time Computing of Spatio-Temporal Forecastingcited by 9
- 2024Decoupled Prototype Learning for Reliable Test-Time Adaptationcited by 7
12 most cited of 59 All 59 (JSON)
- 2026WISE-ATTA: When to Ask for Labels in Budgeted Active Test-Time Adaptation29 Sep 2026
- 2026Temporal Memory-Aware Online Test-Time Adaptation on Dynamic Graphs28 Aug 2026
- 2026Cross-device Collaborative Test-time Adaptation with Zeroth-order Optimization and Model Merging3 Jul 2026
- 2026BP-TTA: Balanced and Prototype-Guided Test-Time Adaptation in Dynamic Scenarios30 Jun 2026
- 2026Hierarchical Consistency Learning for Test-time Adaptation in Camouflage Perception25 May 2026
- 2026Sample-wise Targeted Adversarial Attacks on Test-time Adaptation22 May 2026
- 2026GoTTA be Diverse: Rethinking Memory Policies for Test-Time Adaptation19 May 2026
- 2026When Normality Shifts: Risk-Aware Test-Time Adaptation for Unsupervised Tabular Anomaly Detection11 May 2026
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imaging24 Feb 2026
- 2025AnoRefiner: Anomaly-Aware Group-Wise Refinement for Zero-Shot Industrial Anomaly Detection27 Nov 2025
- 2025Buffer layers for Test-Time Adaptation24 Oct 2025
- 2025Class-aware Domain Knowledge Fusion and Fission for Continual Test-Time Adaptation14 Oct 2025
12 newest of 59 All 59 (JSON)