Command Palette
Search for a command to run...
Test-Time Adaptation
Test-time adaptation (TTA) refers to a model directly using unlabeled test data during inference to update some parameters or statistics online, so as to mitigate performance degradation caused by mismatch between the training distribution and the deployment distribution. Its difference from domain adaptation is that TTA does not access source data and does not require any labels in the target domain; it only adjusts while performing inference on the test stream. One representative work is Tent, proposed in 2020 by Dequan Wang of UC Berkeley and Evan Shelhamer et al. of Adobe Research. The paper "Tent: Fully Test-time Adaptation by Entropy Minimization" was accepted by ICLR 2021: this method only updates the scale and shift parameters of normalization layers, with prediction entropy minimization as the objective, and performs a small amount of gradient descent on test data per batch, which can greatly reduce the error rate on image corruption benchmarks.
Similar methods also include test-time training that updates all parameters, as well as variants that adapt with self-supervised auxiliary tasks. The practical constraints of TTA are that it must be online, low-latency, and must not damage the model's original capabilities; therefore, the update scope and learning rate are usually extremely small. It has been regarded as a possible supplementary means in the deployment pipeline after quantization and distillation.
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.