Tent: Fully Test-time Adaptation by Entropy Minimization

Dequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno Olshausen, Trevor Darrell
6/18/2020
71 citations
cs.LGcs.CVstat.ML

Official code: DequanWang/tent (472 stars, Python, MIT, last commit 2021-05-20).

Abstract

A model must adapt itself to generalize to new and different data during testing. In this setting of fully test-time adaptation the model has only the test data and its own parameters.

Show full abstract

We propose to adapt by test entropy minimization (tent): we optimize the model for confidence as measured by the entropy of its predictions. Our method estimates normalization statistics and optimizes channel-wise affine transformations to update online on each batch. Tent reduces generalization error for image classification on corrupted ImageNet and CIFAR-10/100 and reaches a new state-of-the-art error on ImageNet-C. Tent handles source-free domain adaptation on digit recognition from SVHN to MNIST/MNIST-M/USPS, on semantic segmentation from GTA to Cityscapes, and on the VisDA-C benchmark. These results are achieved in one epoch of test-time optimization without altering training.

View on arXivView PDF

Code Implementations(1)

DequanWang/tentOfficial100%
MIT

ICLR21 Tent: Fully Test-Time Adaptation by Entropy Minimization

47264PythonMar 16, 20215 years agoMIT

Similar Papers

Cite this paper

@article{wang2020tent,
  title  = {Tent: Fully Test-time Adaptation by Entropy Minimization},
  author = {Dequan Wang and Evan Shelhamer and Shaoteng Liu and Bruno Olshausen and Trevor Darrell},
  year   = {2020},
  eprint = {2006.10726},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10726}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.10726.svg)](https://codeofpaper.com/paper/2006.10726)

Discussion