TeSLA: Test-Time Self-Learning With Automatic Adversarial Augmentation

Devavrat Tomar, Guillaume Vray, Behzad Bozorgtabar, J. Thiran
2/14/2026

No official code found. Best implementation: devavratTomar/TeSLA (24 stars, MIT, last commit 2023-04-01).

Abstract

Most recent test-time adaptation methods focus on only classification tasks, use specialized network architectures, destroy model calibration or rely on lightweight information from the source domain. To tackle these issues, this paper proposes a novel Test-time Self-Learning method with automatic Adversarial augmentation dubbed TeSLA for adapting a pre-trained source model to the unlabeled streaming test data. In contrast to conventional self-learning methods based on cross-entropy, we introduce a new test-time loss function through an implicitly tight connection with the mutual information and online knowledge distillation. Furthermore, we propose a learnable efficient adversarial augmentation module that further enhances online knowledge distillation by simulating high entropy augmented images. Our method achieves state-of-the-art classification and segmentation results on several benchmarks and types of domain shifts, particularly on challenging measurement shifts of medical images. TeSLA also benefits from several desirable properties compared to competing methods in terms of calibration, uncertainty metrics, insensitivity to model architectures, and source training strategies, all supported by extensive ablations. Our code and models are available at https://github.com/devavratTomar/TeSLA.

View on arXivView PDF

Code Implementations(1)

devavratTomar/TeSLACommunity100%
MIT

[CVPR 2023] TeSLA: Test-Time Self-Learning With Automatic Adversarial Augmentation

243Shell, PythonMar 1, 20233 years agoMIT

Similar Papers

Cite this paper

@article{tomar2026tesla,
  title  = {TeSLA: Test-Time Self-Learning With Automatic Adversarial Augmentation},
  author = {Devavrat Tomar and Guillaume Vray and Behzad Bozorgtabar and J. Thiran},
  year   = {2026},
  eprint = {2303.09870},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.09870},
  journal = {CVPR 2023 2023}
}

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/2303.09870.svg)](https://codeofpaper.com/paper/2303.09870)

Discussion