Efficient Test-Time Model Adaptation without Forgetting

04/06/2022
by   Shuaicheng Niu, et al.
1

Test-time adaptation (TTA) seeks to tackle potential distribution shifts between training and testing data by adapting a given model w.r.t. any testing sample. This task is particularly important for deep models when the test environment changes frequently. Although some recent attempts have been made to handle this task, we still face two practical challenges: 1) existing methods have to perform backward computation for each test sample, resulting in unbearable prediction cost to many applications; 2) while existing TTA solutions can significantly improve the test performance on out-of-distribution data, they often suffer from severe performance degradation on in-distribution data after TTA (known as catastrophic forgetting). In this paper, we point out that not all the test samples contribute equally to model adaptation, and high-entropy ones may lead to noisy gradients that could disrupt the model. Motivated by this, we propose an active sample selection criterion to identify reliable and non-redundant samples, on which the model is updated to minimize the entropy loss for test-time adaptation. Furthermore, to alleviate the forgetting issue, we introduce a Fisher regularizer to constrain important model parameters from drastic changes, where the Fisher importance is estimated from test samples with generated pseudo labels. Extensive experiments on CIFAR-10-C, ImageNet-C, and ImageNet-R verify the effectiveness of our proposed method.

READ FULL TEXT

page 3

page 14

research
12/08/2022

Decorate the Newcomers: Visual Domain Prompt for Continual Test Time Adaptation

Continual Test-Time Adaptation (CTTA) aims to adapt the source model to ...
research
02/24/2023

Towards Stable Test-Time Adaptation in Dynamic Wild World

Test-time adaptation (TTA) has shown to be effective at tackling distrib...
research
03/21/2022

Boost Test-Time Performance with Closed-Loop Inference

Conventional deep models predict a test sample with a single forward pro...
research
11/24/2020

Lethean Attack: An Online Data Poisoning Technique

Data poisoning is an adversarial scenario where an attacker feeds a spec...
research
06/01/2023

Universal Test-time Adaptation through Weight Ensembling, Diversity Weighting, and Prior Correction

Since distribution shifts are likely to occur during test-time and can d...
research
03/22/2023

AUTO: Adaptive Outlier Optimization for Online Test-Time OOD Detection

Out-of-distribution (OOD) detection is a crucial aspect of deploying mac...
research
08/14/2023

Towards Open-Set Test-Time Adaptation Utilizing the Wisdom of Crowds in Entropy Minimization

Test-time adaptation (TTA) methods, which generally rely on the model's ...

Please sign up or login with your details

Forgot password? Click here to reset