Efficient Test-Time Adaptation through Latent Subspace Coefficients Search
About
Real-world deployment often exposes models to distribution shifts, making test-time adaptation (TTA) critical for robustness. Yet most TTA methods are unfriendly to edge deployment, as they rely on backpropagation, activation buffering, or test-time mini-batches, leading to high latency and memory overhead. We propose \textbf{ELaTTA} (\textit{Efficient Latent Test-Time Adaptation}), a gradient-free framework for single-instance TTA under strict on-device constraints. ELaTTA freezes model weights and adapts each test sample by optimizing a low-dimensional coefficient vector in a source-induced principal latent subspace, pre-computed offline via truncated SVD and stored with negligible overhead. At inference, ELaTTA encourages prediction confidence by optimizing the $k$-D coefficients with CMA-ES, effectively optimizing a Gaussian-smoothed objective and improving stability near decision boundaries. Across six benchmarks and multiple architectures, ELaTTA achieves state-of-the-art accuracy under both strict and continual single-instance protocols, while reducing compute by up to \emph{63$\times$} and peak memory by up to \emph{11$\times$}. We further demonstrate on-device deployment on a ZYNQ-7020 platform.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | ImageNet V2 | -- | 749 | |
| Image Classification | ImageNet-C (test) | Defocus Blur Acc51.82 | 125 | |
| Image Classification | ImageNet-C (val) | -- | 105 | |
| Image Classification | ImageNet-Sketch | Accuracy47.73 | 63 | |
| Image Classification | ImageNet-C | Accuracy (Brightness)75.67 | 54 | |
| Image Classification | ImageNet-R | Accuracy65.29 | 29 | |
| Image Classification | DomainNet-126 | Average Accuracy62.49 | 24 | |
| Image Classification | ImageNet-C | GFLOPs16.95 | 9 | |
| Image Classification | DomainNet 126 Real as source | Accuracy (Clipart)56.5 | 8 | |
| Image Classification | DomainNet-126 Clipart as source | Accuracy (Sketch Domain)47.24 | 8 |