A Layer Selection Approach to Test Time Adaptation
Not on the map. Why?
Abstract (arXiv)
Test Time Adaptation (TTA) addresses the problem of distribution shift by adapting a pretrained model to a new domain during inference. When faced with challenging shifts, most methods collapse and perform worse than the original pretrained model. In this paper, we find that not all layers are equally receptive to the adaptation, and the layers with the most misaligned gradients often cause performance degradation. To address this, we propose GALA, a novel layer selection criterion to identify the most beneficial updates to perform during test time adaptation. This criterion can also filter out unreliable samples with noisy gradients. Its simplicity allows seamless integration with existing TTA loss functions, thereby preventing degradation and focusing adaptation on the most trainable layers. This approach also helps to regularize adaptation to preserve the pretrained features, which are crucial for handling unseen domains. Through extensive experiments, we demonstrate that the proposed layer selection framework improves the performance of existing TTA approaches across multiple datasets, domain shifts, model architectures, and TTA losses.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 69 of its 92 references that are in the map. First posted on arXiv 4 Apr 2024.
Builds on
69 of 92 references.
References · 69
- 2016Wide Residual Networkscited by 3,070
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2020Gradient Surgery for Multi-Task Learningcited by 1,256
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
- 2020In Search of Lost Domain Generalizationcited by 1,054
- 2017Deeper, Broader and Artier Domain Generalizationcited by 986
- 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 848
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
- 2018Recognition in Terra Incognitacited by 658
38 more
- 2022Continual Test-Time Domain Adaptationcited by 525
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 381
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 377
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2022Contrastive Test-Time Adaptationcited by 261
- 2021Gradient Matching for Domain Generalizationcited by 258
- 2018Gradient Descent Happens in a Tiny Subspacecited by 217
- 2020Understanding and Improving Fast Adversarial Trainingcited by 214
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2022Parameter-free Online Test-time Adaptationcited by 189
- 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 189
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 185
- 2020Directional convergence and alignment in deep learningcited by 178
- 2018SpotTune: Transfer Learning through Adaptive Fine-tuningcited by 168
- 2019AdaShare: Learning What To Share For Efficient Deep Multi-Task Learningcited by 160
- 2022Comparative layer-wise analysis of self-supervised speech modelscited by 158
- 2022NOTE: Robust Continual Test-time Adaptation Against Temporal Correlationcited by 151
- 2020Learning explanations that are hard to varycited by 132
- 2020Learning to Balance Specificity and Invariance for In and Out of Domain Generalizationcited by 128
- 2020Learning to Branch for Multi-Task Learningcited by 115
- 2021Understanding and Improving Early Stopping for Learning with Noisy Labelscited by 113
- 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 105
- 2018Adapting Auxiliary Losses Using Gradient Similaritycited by 100
- 2020Estimating Example Difficulty Using Variance of Gradientscited by 97
- 2021MOOD: Multi-level Out-of-distribution Detectioncited by 94
- 2023DELTA: degradation-free fully test-time adaptationcited by 72
- 2022Back to the Source: Diffusion-Driven Test-Time Adaptationcited by 71
- 2022Test-Time Adaptation via Self-Training with Nearest Neighbor Informationcited by 64
- 2023On Pitfalls of Test-Time Adaptationcited by 64
- 2022Divide and Contrast: Source-free Domain Adaptation via Adaptive Contrastive Learningcited by 53
- 2019Stiffness: A New Perspective on Generalization in Neural Networkscited by 46
- 2019The Impact of Neural Network Overparameterization on Gradient Confusion and Stochastic Gradient Descentcited by 46
- 2022Revisiting Realistic Test-Time Training: Sequential Inference and Adaptation by Anchored Clusteringcited by 44
- 2023In Search of Lost Online Test-time Adaptation: A Surveycited by 44
- 2021Reproducibility Report: La-MAML: Look-ahead Meta Learning for Continual Learningcited by 42
- 2022Task Adaptive Parameter Sharing for Multi-Task Learningcited by 42
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 3.
7 papers.
- 2025Test-Time Distillation for Continual Model Adaptationcited by 5
- 2025ModHiFi: Identifying High Fidelity predictive components for Model Modificationcited by 1
- 2025XTransfer: Modality-Agnostic Few-Shot Model Transfer for Human Sensing at the Edgecited by 0
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptationcited by 0
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imagingcited by 0
- 2026Test-Time Adaptive Composition for Machine Learning as a Service (MLaaS) in IoT Environmentscited by 0
- 2026A Decision-Theoretic View of Test-Time Training: When, How Far, and Which Directions to Adaptcited by 0
- 2026A Decision-Theoretic View of Test-Time Training: When, How Far, and Which Directions to Adapt14 Jun 2026
- 2026Test-Time Adaptive Composition for Machine Learning as a Service (MLaaS) in IoT Environments5 Jun 2026
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imaging24 Feb 2026
- 2025ModHiFi: Identifying High Fidelity predictive components for Model Modification24 Nov 2025
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptation11 Aug 2025
- 2025XTransfer: Modality-Agnostic Few-Shot Model Transfer for Human Sensing at the Edge28 Jun 2025
- 2025Test-Time Distillation for Continual Model Adaptation3 Jun 2025