The Golden Subspace: Where Efficiency Meets Generalization in Continual Test-Time Adaptation
About
Continual Test-Time Adaptation (CTTA) aims to enable models to adapt online to unlabeled data streams under distribution shift without accessing source data. Existing CTTA methods face an efficiency-generalization trade-off: updating more parameters improves adaptation but severely reduces online inference efficiency. An ideal solution is to achieve comparable adaptation with minimal feature updates; we call this minimal subspace the golden subspace. We prove its existence in a single-step adaptation setting and show that it coincides with the row space of the pretrained classifier. To enable online maintenance of this subspace, we introduce the sample-wise Average Gradient Outer Product (AGOP) as an efficient proxy for estimating the classifier weights without retraining. Building on these insights, we propose Guided Online Low-rank Directional adaptation (GOLD), which uses a lightweight adapter to project features onto the golden subspace and learns a compact scaling vector while the subspace is dynamically updated via AGOP. Extensive experiments on classification and segmentation benchmarks, including autonomous-driving scenarios, demonstrate that GOLD attains superior efficiency, stability, and overall performance. Our code is available at https://github.com/AIGNLAI/GOLD.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-100-C | -- | 137 | |
| Image Classification | CIFAR10-C | -- | 52 | |
| Image Classification | ImageNet-C | Gauss Error76.6 | 36 | |
| Continual Test-Time Adaptation | CIFAR10-C (test) | Error Rate14.15 | 8 | |
| Semantic segmentation | CarlaTTA day2night | mIoU61.8 | 5 | |
| Semantic segmentation | CarlaTTA clear2fog | mIoU57.1 | 5 | |
| Semantic segmentation | CarlaTTA (highway) | mIoU34.5 | 5 | |
| Semantic segmentation | CarlaTTA dynamic | mIoU48.9 | 5 | |
| Semantic segmentation | CarlaTTA clear2rain | mIoU71 | 5 | |
| Continual Test-Time Adaptation | CIFAR10-C 10 rounds | Error (%)14.15 | 4 |