Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Robust Test-Time Adaptation in Dynamic Scenarios

About

Test-time adaptation (TTA) intends to adapt the pretrained model to test distributions with only unlabeled test data streams. Most of the previous TTA methods have achieved great success on simple test data streams such as independently sampled data from single or multiple distributions. However, these attempts may fail in dynamic scenarios of real-world applications like autonomous driving, where the environments gradually change and the test data is sampled correlatively over time. In this work, we explore such practical test data streams to deploy the model on the fly, namely practical test-time adaptation (PTTA). To do so, we elaborate a Robust Test-Time Adaptation (RoTTA) method against the complex data stream in PTTA. More specifically, we present a robust batch normalization scheme to estimate the normalization statistics. Meanwhile, a memory bank is utilized to sample category-balanced data with consideration of timeliness and uncertainty. Further, to stabilize the training procedure, we develop a time-aware reweighting strategy with a teacher-student model. Extensive experiments prove that RoTTA enables continual testtime adaptation on the correlatively sampled data streams. Our method is easy to implement, making it a good choice for rapid deployment. The code is publicly available at https://github.com/BIT-DA/RoTTA

Longhui Yuan, Binhui Xie, Shuang Li• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10C Severity Level 5 (test)
Average Error Rate (Severity 5)25.2
127
Image ClassificationImageNet-C (test)--
116
Image ClassificationImageNet-C Severity 5 (test)
Mean Error Rate (Severity 5)24.71
104
Image ClassificationCIFAR-100-C
Accuracy (Corruption)48.16
76
Image ClassificationCIFAR10-C (test)
Accuracy (Gaussian)69.7
65
Image ClassificationCIFAR-100-C v1 (test)
Error Rate (Average)31.86
60
Image ClassificationImageNet-C 1.0 (test)
Accuracy (Average)29.5
53
Image ClassificationCIFAR100-C (test)
Robustness Accuracy47.7
51
Image ClassificationCIFAR-100C Level 5 (test)
Gaussian Acc20.62
51
Image ClassificationCIFAR100-C 1.0 (test)
Avg Acc49.6
30
Showing 10 of 38 rows

Other info

Follow for update