Hidden Trajectories Don't Lie: Correcting Corruption Drift for Test-Time Adaptation
Not on the map. Why?
Abstract (arXiv)
Test-time adaptation (TTA) adapts pretrained models to distribution shifts encountered during deployment. However, most existing methods rely on the weight representations of the final layer or signals derived from the model's output probability distribution. We study hidden trajectories: the ordered sequence of intermediate representations produced across a deep neural network. We observe that clean and corrupted trajectories become more separable as corruption severity increases. We introduce Drift-TTA, which adds zero-initialized low-rank adapters to a frozen backbone and trains them to align corrupted hidden trajectories with those from cleaner inputs. The approach supports two variants: a source-dependent version trained with clean targets, and a source-free setting that learns from corrupted images at different severities. We develop an online TTA approach that freezes the backbone and adapters while updating a scalar gate to control adaptation strength. We further cast trajectory alignment as MAP inference under a Gaussian observation model and derive a KL-based transfer bound characterizing test-time trajectory misalignment in terms of offline residual error, residual dimensionality, and distribution shift between offline and test corruptions. We evaluate Drift-TTA on CIFAR-10-C, CIFAR-100-C, and ImageNet-C using supervised ViTs and CLIP models. On CIFAR-100-C at severity 5, our source-free online approach improves accuracy over no TTA by 13.3 percentage points with ViT-B/16 and 11.6 percentage points with CLIP ViT-B/16, reaching 74.9% and 47.4%, respectively. Under the same setting, prior TTA baselines yield ECEs of 18.00% for ViT and 14.70% for CLIP, while our approach reduces them to 9.53% and 5.77%, respectively. These results demonstrate that hidden trajectory alignment provides an effective signal for both offline correction and lightweight online test-time adaptation.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 25 of its 34 references that are in the map. Submitted 16 Oct 2026.
Builds on
25 of 34 references.
References · 25
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,996
- 2017On Calibration of Modern Neural Networkscited by 5,356
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,996
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 504
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 447
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 410
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 374
- 2022Contrastive Test-Time Adaptationcited by 263
- 2024Efficient Test-Time Adaptation of Vision-Language Modelscited by 155
- 2024Test-Time Model Adaptation with Only Forward Passescited by 80
- 2024Latent Space Chain-of-Embedding Enables Output-free LLM Self-Evaluationcited by 64
- 2024Beyond Model Adaptation at Test Time: A Surveycited by 62
13 more
- 2024Dual Memory Networks: A Versatile Adaptation Approach for Vision-Language Modelscited by 56
- 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 44
- 2024Dual Prototype Evolving for Test-Time Generalization of Vision-Language Modelscited by 42
- 2024OT-VP: Optimal Transport-guided Visual Prompting for Test-Time Adaptationcited by 19
- 2024textttBATCLIP: Bimodal Online Test-Time Adaptation for CLIPcited by 15
- 2025ReservoirTTA: Prolonged Test-time Adaptation for Evolving and Recurring Domainscited by 12
- 2025Latte: Collaborative Test-Time Adaptation of Vision-Language Models in Federated Learningcited by 11
- 2024PALM: Pushing Adaptive Learning Rate Mechanisms for Continual Test-Time Adaptationcited by 10
- 2025NEO: No-Optimization Test-Time Adaptation through Latent Re-Centeringcited by 10
- 2025Mint: A Simple Test-Time Adaptation of Vision-Language Models against Common Corruptionscited by 8
- 2024Is Less More? Exploring Token Condensation as Training-free Test-time Adaptationcited by 6
- 2024Feature Augmentation based Test-Time Adaptationcited by 5
- 2024Learning to Generate Gradients for Test-Time Adaptation via Test-Time Training Layerscited by 5
Built on by
Not cited yet.