mlsanityData to 14 Oct 2026

Hierarchical Adaptive networks with Task vectors for Test-Time Adaptation

arXiv 2508.09223 ↗First posted 11 Aug 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Test-time adaptation allows pretrained models to adjust to incoming data streams, addressing distribution shifts between source and target domains. However, standard methods rely on single-dimensional linear classification layers, which often fail to handle diverse and complex shifts. We propose Hierarchical Adaptive Networks with Task Vectors (Hi-Vec), which leverages multiple layers of increasing size for dynamic test-time adaptation. By decomposing the encoder's representation space into such hierarchically organized layers, Hi-Vec, in a plug-and-play manner, allows existing methods to adapt to shifts of varying complexity. Our contributions are threefold: First, we propose dynamic layer selection for automatic identification of the optimal layer for adaptation to each test batch. Second, we propose a mechanism that merges weights from the dynamic layer to other layers, ensuring all layers receive target information. Third, we propose linear layer agreement that acts as a gating function, preventing erroneous fine-tuning by adaptation on noisy batches. We rigorously evaluate the performance of Hi-Vec in challenging scenarios and on multiple target datasets, proving its strong capability to advance state-of-the-art methods. Our results show that Hi-Vec improves robustness, addresses uncertainty, and handles limited batch sizes and increased outlier rates.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 83 of its 109 references that are in the map. First posted on arXiv 11 Aug 2025.

Builds on

83 of 109 references.

References · 83

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  3. 2017On Calibration of Modern Neural Networkscited by 4,960
  4. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  5. 2013Visualizing and Understanding Convolutional Networkscited by 2,290
  6. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
  7. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  8. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  9. 2022Editing Models with Task Arithmeticcited by 1,120
  10. 2017CyCADA: Cycle-Consistent Adversarial Domain Adaptationcited by 1,082
  11. 2020In Search of Lost Domain Generalizationcited by 1,054
  12. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 848
38 more
  1. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  2. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
  3. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
  4. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
  5. 2013Domain Generalization via Invariant Feature Representationcited by 623
  6. 2018ADVENT: Adversarial Entropy Minimization for Domain Adaptation in Semantic Segmentationcited by 623
  7. 2022Continual Test-Time Domain Adaptationcited by 525
  8. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
  9. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
  10. 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 377
  11. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
  12. 2022Matryoshka Representation Learningcited by 282
  13. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
  14. 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 236
  15. 2018A DIRT-T Approach to Unsupervised Domain Adaptationcited by 215
  16. 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
  17. 2022Parameter-free Online Test-time Adaptationcited by 189
  18. 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 189
  19. 2020Adaptive Risk Minimization: Learning to Adapt to Domain Shiftcited by 183
  20. 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 179
  21. 2024Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factorscited by 106
  22. 2020VAEBM: A Symbiosis between Variational Autoencoders and Energy-based Modelscited by 104
  23. 2023TTN: A Domain-Shift Aware Batch Normalization in Test-Time Adaptationcited by 101
  24. 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
  25. 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
  26. 2024Representation Surgery for Multi-Task Model Mergingcited by 96
  27. 2016Exploiting Cyclic Symmetry in Convolutional Neural Networkscited by 91
  28. 2023MatFormer: Nested Transformer for Elastic Inferencecited by 85
  29. 2023AdapterSoup: Weight Averaging to Improve Generalization of Pretrained Language Modelscited by 84
  30. 2020SENTRY: Selective Entropy Optimization via Committee Consistency for Unsupervised Domain Adaptationcited by 78
  31. 2024Test-Time Model Adaptation with Only Forward Passescited by 74
  32. 2021Adaptive Methods for Real-World Domain Generalizationcited by 66
  33. 2022Test-Time Adaptation via Self-Training with Nearest Neighbor Informationcited by 64
  34. 2023SoTTA: Robust Test-Time Adaptation on Noisy Data Streamscited by 63
  35. 2024Beyond Model Adaptation at Test Time: A Surveycited by 59
  36. 2022Balancing Discriminability and Transferability for Source-Free Domain Adaptationcited by 58
  37. 2023AdaNPC: Exploring Non-Parametric Classifier for Test-Time Adaptationcited by 48
  38. 2022Rank Diminishing in Deep Neural Networkscited by 47

50 most cited of 83 All 83 (JSON)

Built on by

Not cited yet.