On the Adversarial Risk of Test Time Adaptation: An Investigation into Realistic Test-Time Data Poisoning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Su, Yongyi, Li, Yushu, Liu, Nanqing, Jia, Kui, Yang, Xulei, Foo, Chuan-Sheng, Xu, Xun
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909515984666624
author Su, Yongyi
Li, Yushu
Liu, Nanqing
Jia, Kui
Yang, Xulei
Foo, Chuan-Sheng
Xu, Xun
author_facet Su, Yongyi
Li, Yushu
Liu, Nanqing
Jia, Kui
Yang, Xulei
Foo, Chuan-Sheng
Xu, Xun
contents Test-time adaptation (TTA) updates the model weights during the inference stage using testing data to enhance generalization. However, this practice exposes TTA to adversarial risks. Existing studies have shown that when TTA is updated with crafted adversarial test samples, also known as test-time poisoned data, the performance on benign samples can deteriorate. Nonetheless, the perceived adversarial risk may be overstated if the poisoned data is generated under overly strong assumptions. In this work, we first review realistic assumptions for test-time data poisoning, including white-box versus grey-box attacks, access to benign data, attack order, and more. We then propose an effective and realistic attack method that better produces poisoned samples without access to benign samples, and derive an effective in-distribution attack objective. We also design two TTA-aware attack objectives. Our benchmarks of existing attack methods reveal that the TTA methods are more robust than previously believed. In addition, we analyze effective defense strategies to help develop adversarially robust TTA methods. The source code is available at https://github.com/Gorilla-Lab-SCUT/RTTDP.
format Preprint
id arxiv_https___arxiv_org_abs_2410_04682
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On the Adversarial Risk of Test Time Adaptation: An Investigation into Realistic Test-Time Data Poisoning
Su, Yongyi
Li, Yushu
Liu, Nanqing
Jia, Kui
Yang, Xulei
Foo, Chuan-Sheng
Xu, Xun
Machine Learning
Computer Vision and Pattern Recognition
Test-time adaptation (TTA) updates the model weights during the inference stage using testing data to enhance generalization. However, this practice exposes TTA to adversarial risks. Existing studies have shown that when TTA is updated with crafted adversarial test samples, also known as test-time poisoned data, the performance on benign samples can deteriorate. Nonetheless, the perceived adversarial risk may be overstated if the poisoned data is generated under overly strong assumptions. In this work, we first review realistic assumptions for test-time data poisoning, including white-box versus grey-box attacks, access to benign data, attack order, and more. We then propose an effective and realistic attack method that better produces poisoned samples without access to benign samples, and derive an effective in-distribution attack objective. We also design two TTA-aware attack objectives. Our benchmarks of existing attack methods reveal that the TTA methods are more robust than previously believed. In addition, we analyze effective defense strategies to help develop adversarially robust TTA methods. The source code is available at https://github.com/Gorilla-Lab-SCUT/RTTDP.
title On the Adversarial Risk of Test Time Adaptation: An Investigation into Realistic Test-Time Data Poisoning
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.04682