Lune

ICML2024Top-tier venue

Test-Time Model Adaptation with Only Forward Passes

Shuaicheng Niu, Chunyan Miao, Guohao Chen, Pengcheng Wu, Peilin Zhao

Abstract

Test-time adaptation has proven effective in adapting a given trained model to unseen test samples with potential distribution shifts. However, in real-world scenarios, models are usually deployed on resource-limited devices, e.g., FPGAs, and are often quantized and hard-coded with nonmodifiable parameters for acceleration. In light of this, existing methods are often infeasible since they heavily depend on computation-intensive backpropagation for model updating that may be not supported. To address this, we propose a testtime Forward-Optimization Adaptation (FOA) method. In FOA, we seek to solely learn a newly added prompt (as model's input) via a derivativefree covariance matrix adaptation evolution strategy. To make this strategy work stably under our online unsupervised setting, we devise a novel fitness function by measuring test-training statistic discrepancy and model prediction entropy. Moreover, we design an activation shifting scheme that directly tunes the model activations for shifted test samples, making them align with the source training domain, thereby further enhancing adaptation performance. Without using any backpropagation and altering model weights, FOA runs on quantized 8-bit ViT outperforms gradient-based TENT on full-precision 32-bit ViT, while achieving an up to 24-fold memory reduction on ImageNet-C. Code: https://github.com/mr-eggplant/FOA .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

38 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Cross-Device Collaborative Test-Time Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Cross-Device Collaborative Test-Time Adaptation cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Cross-Device Collaborative Test-Time Adaptation cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • PAID: Pairwise Angular-Invariant Decomposition for Continual Test-Time Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • PAID: Pairwise Angular-Invariant Decomposition for Continual Test-Time Adaptation cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • ReservoirTTA: Prolonged Test-time Adaptation for Evolving and Recurring Domains cites Cross-Device Collaborative Test-Time Adaptation
  • ReservoirTTA: Prolonged Test-time Adaptation for Evolving and Recurring Domains cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ReservoirTTA: Prolonged Test-time Adaptation for Evolving and Recurring Domains cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • E-BATS: Efficient Backpropagation-Free Test-Time Adaptation for Speech Foundation Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • E-BATS: Efficient Backpropagation-Free Test-Time Adaptation for Speech Foundation Models cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Visual Instance-aware Prompt Tuning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers38

  1. Cross-Device Collaborative Test-Time AdaptationGuohao Chen, Shuaicheng Niu, Deyu Chen, Shuhai Zhang et al.NeurIPS 2024 · 18 citations
  2. Visual Instance-aware Prompt TuningXi Xiao, Yunbei Zhang, Xingjian Li, Tianyang Wang et al.ACM MM 2025 · 12 citations
  3. E-BATS: Efficient Backpropagation-Free Test-Time Adaptation for Speech Foundation ModelsJiaheng Dong, Hong Jia, Soumyajit Chatterjee, Abhirup Ghosh et al.NeurIPS 2025 · 10 citations
  4. ReservoirTTA: Prolonged Test-time Adaptation for Evolving and Recurring DomainsGuillaume Vray, Devavrat Tomar, Xufeng Gao, Jean-Philippe Thiran et al.NeurIPS 2025 · 9 citations
  5. PAID: Pairwise Angular-Invariant Decomposition for Continual Test-Time AdaptationKunyu Wang, Xueyang Fu, Yuanfei Bao, Chengjie Ge et al.NeurIPS 2025 · 7 citations

Builds on34

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
  3. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  4. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  5. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang et al.ICML 2024 · 1,725 citations

Related papers

  1. FOZO: Forward-Only Zeroth-Order Prompt Optimization for Test-Time AdaptationXingyu Wang, Tao WangCVPR 2026 · 2 citations
  2. Test-Time Model Adaptation for Quantized Neural NetworksZeshuai Deng, Guohao Chen, Shuaicheng Niu, Hui Luo et al.ACM MM 2025 · 1 citation
  3. Architecture-Agnostic Test-Time Adaptation via Backprop-Free Embedding AlignmentMA Xiao, Young D. Kwon, Pan Zhou, Dong MaICLR 2026
  4. ViTPrompt: Training-Free Prompt Refinement with Visual Tokens for Open-Vocabulary DetectionYitong Qin, Lihua Zhou, Jiwei Wei, Ran Ran et al.CVPR 2026
  5. NEO — No-Optimization Test-Time Adaptation through Latent Re-CenteringAlexander Murphy, Michal Danilowski, Soumyajit Chatterjee, Abhirup GhoshICLR 2026 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines