Enhancing Test Time Adaptation with Few-shot Guidance
Siqi Luo, Yi Xin, Yuntao Du, Tao Tan, Guangtao Zhai, Xiaohong Liu
TL;DR
The paper tackles domain shift by strengthening Test Time Adaptation with a practical few-shot supervision strategy. It introduces Few-Shot Test Time Adaptation (FS-TTA), a two-stage framework that first aligns the decision boundary via few-shot fine-tuning with a Feature Diversity Augmentation module, then refines distribution with online prototypes and entropy-guided pseudo-labeling. The approach achieves state-of-the-art results on three cross-domain benchmarks, demonstrating robust, privacy-preserving adaptation in streaming target environments. Overall, FS-TTA offers a realistic path to reliable domain adaptation in real-world deployments with limited target annotations.
Abstract
Deep neural networks often encounter significant performance drops while facing with domain shifts between training (source) and test (target) data. To address this issue, Test Time Adaptation (TTA) methods have been proposed to adapt pre-trained source model to handle out-of-distribution streaming target data. Although these methods offer some relief, they lack a reliable mechanism for domain shift correction, which can often be erratic in real-world applications. In response, we develop Few-Shot Test Time Adaptation (FS-TTA), a novel and practical setting that utilizes a few-shot support set on top of TTA. Adhering to the principle of few inputs, big gains, FS-TTA reduces blind exploration in unseen target domains. Furthermore, we propose a two-stage framework to tackle FS-TTA, including (i) fine-tuning the pre-trained source model with few-shot support set, along with using feature diversity augmentation module to avoid overfitting, (ii) implementing test time adaptation based on prototype memory bank guidance to produce high quality pseudo-label for model adaptation. Through extensive experiments on three cross-domain classification benchmarks, we demonstrate the superior performance and reliability of our FS-TTA and framework.
