Self-Bootstrapping for Versatile Test-Time Adaptation
Shuaicheng Niu, Guohao Chen, Peilin Zhao, Tianyi Wang, Pengcheng Wu, Zhiqi Shen
TL;DR
Self-Bootstrapping for Versatile Test-Time Adaptation (SPA) introduces a task- and architecture-agnostic TTA framework that uses the original image as a strong target and a geometry-preserving deteriorated view as a weak input. It employs active weak-to-strong learning with a prediction-consistency objective and two Fourier-domain augmentations—low-frequency amplitude masking and high-frequency noise injection—grounded in a frequency-domain analysis of domain shifts. The method updates a small subset of parameters at test time and includes a confidence-based selection to avoid unreliable supervision. SPA demonstrates state-of-the-art or competitive improvements on image classification, 3D monocular detection, and segmentation, and functions as a practical plug-in module for existing TTA methods.
Abstract
In this paper, we seek to develop a versatile test-time adaptation (TTA) objective for a variety of tasks - classification and regression across image-, object-, and pixel-level predictions. We achieve this through a self-bootstrapping scheme that optimizes prediction consistency between the test image (as target) and its deteriorated view. The key challenge lies in devising effective augmentations/deteriorations that: i) preserve the image's geometric information, e.g., object sizes and locations, which is crucial for TTA on object/pixel-level tasks, and ii) provide sufficient learning signals for TTA. To this end, we analyze how common distribution shifts affect the image's information power across spatial frequencies in the Fourier domain, and reveal that low-frequency components carry high power and masking these components supplies more learning signals, while masking high-frequency components can not. In light of this, we randomly mask the low-frequency amplitude of an image in its Fourier domain for augmentation. Meanwhile, we also augment the image with noise injection to compensate for missing learning signals at high frequencies, by enhancing the information power there. Experiments show that, either independently or as a plug-and-play module, our method achieves superior results across classification, segmentation, and 3D monocular detection tasks with both transformer and CNN models.
