cs.LGOct 13, 2025

Efficient Test-Time Adaptation through Latent Subspace Coefficients Search

Authors: Xinyu Luo, Jie Liu, Kecheng Chen, Yihua Shao, Junyi Yang, Bo Ding, Nicu Sebe, Arindam Basu, 

Organizations: Department of Electrical Engineering, City University of Hong Kong, Hong Kong SAR, China

Abstract

Real-world deployment often exposes vision models to distribution shifts, making test-time adaptation (TTA) important for reliable prediction. Existing TTA methods can be difficult to deploy on edge devices because they require backpropagation, activation storage, or test-time batches, which increase computation, memory, and state. We propose ELaTTA (Efficient Latent Test-Time Adaptation), a forward-only, gradient-free framework for single-instance TTA. ELaTTA freezes the pretrained model and adapts each test input by searching a low-dimensional coefficient vector in a principal latent subspace computed offline from a source-domain cache. The basis is stored once and source data are discarded before deployment. At test time, CMA-ES performs covariance-adaptive Gaussian search, ranks candidate corrections by prediction entropy, and selects the best candidate within a fixed evaluation budget. On five visual benchmarks spanning corruption, natural, rendition, sketch, and cross-domain shifts, ELaTTA provides strong accuracy under strict and continual single-instance protocols. In the strict single-instance comparison, MEMO requires \emph{64.7×\times} the computation and \emph{12.4×\times} the peak memory of ELaTTA. A complementary keyword-spotting experiment shows that the same coefficient-search design transfers beyond vision. We further demonstrate ViT-Base adaptation on a Raspberry Pi 5, confirming the feasibility of deploying ELaTTA on an edge device.

Figures & tables

Explore similar work

CardsList
  1. EmbodiTTA: Resource-Efficient Test-Time Adaptation for Embodied Visual Systems

    May 2, 2025Xiao Ma, Young D. Kwon, Dong MaTest-Time AdaptationContinual Test-Time Adaptation

  2. StableTTA: Improving Vision Model Performance by Training-free Test-Time Adaptation Methods

    Apr 6, 2026Zheng Li, Jerry Cheng, Huanying Helen GuTest-Time AdaptationEnsemble Learning