A Layer Selection Approach to Test Time Adaptation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Sahoo, Sabyasachi, ElAraby, Mostafa, Ngnawe, Jonas, Pequignot, Yann, Precioso, Frederic, Gagne, Christian
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912240812163072
author Sahoo, Sabyasachi
ElAraby, Mostafa
Ngnawe, Jonas
Pequignot, Yann
Precioso, Frederic
Gagne, Christian
author_facet Sahoo, Sabyasachi
ElAraby, Mostafa
Ngnawe, Jonas
Pequignot, Yann
Precioso, Frederic
Gagne, Christian
contents Test Time Adaptation (TTA) addresses the problem of distribution shift by adapting a pretrained model to a new domain during inference. When faced with challenging shifts, most methods collapse and perform worse than the original pretrained model. In this paper, we find that not all layers are equally receptive to the adaptation, and the layers with the most misaligned gradients often cause performance degradation. To address this, we propose GALA, a novel layer selection criterion to identify the most beneficial updates to perform during test time adaptation. This criterion can also filter out unreliable samples with noisy gradients. Its simplicity allows seamless integration with existing TTA loss functions, thereby preventing degradation and focusing adaptation on the most trainable layers. This approach also helps to regularize adaptation to preserve the pretrained features, which are crucial for handling unseen domains. Through extensive experiments, we demonstrate that the proposed layer selection framework improves the performance of existing TTA approaches across multiple datasets, domain shifts, model architectures, and TTA losses.
format Preprint
id arxiv_https___arxiv_org_abs_2404_03784
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Layer Selection Approach to Test Time Adaptation
Sahoo, Sabyasachi
ElAraby, Mostafa
Ngnawe, Jonas
Pequignot, Yann
Precioso, Frederic
Gagne, Christian
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
Test Time Adaptation (TTA) addresses the problem of distribution shift by adapting a pretrained model to a new domain during inference. When faced with challenging shifts, most methods collapse and perform worse than the original pretrained model. In this paper, we find that not all layers are equally receptive to the adaptation, and the layers with the most misaligned gradients often cause performance degradation. To address this, we propose GALA, a novel layer selection criterion to identify the most beneficial updates to perform during test time adaptation. This criterion can also filter out unreliable samples with noisy gradients. Its simplicity allows seamless integration with existing TTA loss functions, thereby preventing degradation and focusing adaptation on the most trainable layers. This approach also helps to regularize adaptation to preserve the pretrained features, which are crucial for handling unseen domains. Through extensive experiments, we demonstrate that the proposed layer selection framework improves the performance of existing TTA approaches across multiple datasets, domain shifts, model architectures, and TTA losses.
title A Layer Selection Approach to Test Time Adaptation
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.03784