Our new X account is live! Follow @wizwand_team for updates
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 ClassificationImageNet-C (test)--
110
Image ClassificationCIFAR-10C Severity Level 5 (test)
Average Error Rate (Severity 5)61.85
62
Image ClassificationCIFAR-100-C v1 (test)
Error Rate (Average)31.86
60
Image ClassificationImageNet-C 1.0 (test)
Accuracy (Average)29.5
53
Image ClassificationCIFAR10-C (test)
Accuracy (Gaussian)69.7
52
Image ClassificationCIFAR-100C Level 5 (test)
Gaussian Acc20.62
45
Image ClassificationCIFAR-100-C
Accuracy (Corruption)48.16
44
Image ClassificationImageNet-C Severity 5 (test)
Error Rate (Gaussian)11.44
42
Image ClassificationCIFAR100-C 1.0 (test)
Avg Acc49.6
30
Image ClassificationCIFAR-10-C v1 (test)--
28
Showing 10 of 26 rows

Other info

Follow for update