ETAGE: Enhanced Test Time Adaptation with Integrated Entropy and Gradient Norms for Robust Model Performance

Afshar Shamsi, Rejisa Becirovic, Ahmadreza Argha, Ehsan Abbasnejad, Hamid Alinejad-Rokny +1 more
9/14/2024
cs.LGcs.AI

Official code: afsharshamsi/ETAGE (1 star, last commit 2024-11-18).

Abstract

Test time adaptation (TTA) equips deep learning models to handle unseen test data that deviates from the training distribution, even when source data is inaccessible. While traditional TTA methods often rely on entropy as a confidence metric, its effectiveness can be limited, particularly in biased scenarios. Extending existing approaches like the Pseudo Label Probability Difference (PLPD), we introduce ETAGE, a refined TTA method that integrates entropy minimization with gradient norms and PLPD, to enhance sample selection and adaptation. Our method prioritizes samples that are less likely to cause instability by combining high entropy with high gradient norms out of adaptation, thus avoiding the overfitting to noise often observed in previous methods. Extensive experiments on CIFAR-10-C and CIFAR-100-C datasets demonstrate that our approach outperforms existing TTA techniques, particularly in challenging and biased scenarios, leading to more robust and consistent model performance across diverse test scenarios. The codebase for ETAGE is available on https://github.com/afsharshamsi/ETAGE.

View on arXivView PDF

Code Implementations(1)

afsharshamsi/ETAGEOfficial100%
10PythonSep 7, 20241 years ago

Similar Papers

Cite this paper

@article{shamsi2024etage,
  title  = {ETAGE: Enhanced Test Time Adaptation with Integrated Entropy and Gradient Norms for Robust Model Performance},
  author = {Afshar Shamsi and Rejisa Becirovic and Ahmadreza Argha and Ehsan Abbasnejad and Hamid Alinejad-Rokny and Arash Mohammadi},
  year   = {2024},
  eprint = {2409.09251},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09251v1}
}

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

Discussion