Test-Time Adaptation with Source Based Auxiliary Tasks
Abstract
This work tackles a key challenge in Test Time Adaptation~(TTA): adapting on limited data. This challenge arises naturally from two scenarios. (i) Current TTA methods are limited by the bandwidth with which the stream reveals data, since conducting several adaptation steps on each revealed batch from the stream will lead to overfitting. (ii) In many realistic scenarios, the stream reveals insufficient data for the model to fully adapt to a given distribution shift. We tackle the first scenario problem with auxiliary tasks where we leverage unlabeled data from the training distribution. In particular, we propose distilling the predictions of an originally pretrained model on clean data during adaptation. We found that our proposed auxiliary task significantly accelerates the adaptation to distribution shifts. We report a performance improvement over the state of the art by 1.5\% and 6\% on average across all corruptions on ImageNet-C under episodic and continual evaluation, respectively. To combat the second scenario of limited data, we analyze the effectiveness of combining federated adaptation with our proposed auxiliary task across different models even when different clients observe different distribution shifts. We find that not only federated averaging enhances adaptation, but combining it with our auxiliary task provides a notable 6\% performance gains over previous TTA methods.
Cite
Text
Alfarra et al. "Test-Time Adaptation with Source Based Auxiliary Tasks." Transactions on Machine Learning Research, 2025.Markdown
[Alfarra et al. "Test-Time Adaptation with Source Based Auxiliary Tasks." Transactions on Machine Learning Research, 2025.](https://mlanthology.org/tmlr/2025/alfarra2025tmlr-testtime/)BibTeX
@article{alfarra2025tmlr-testtime,
title = {{Test-Time Adaptation with Source Based Auxiliary Tasks}},
author = {Alfarra, Motasem and Correia, Alvaro and Ghanem, Bernard and Louizos, Christos},
journal = {Transactions on Machine Learning Research},
year = {2025},
url = {https://mlanthology.org/tmlr/2025/alfarra2025tmlr-testtime/}
}