Sample-wise Targeted Adversarial Attacks on Test-time Adaptation
Not on the map. Why?
Abstract (arXiv)
Test-time adaptation (TTA) mitigates distribution shifts by adapting models to unlabeled test inputs, but also exposes them to adversarial manipulation. Existing class-wise targeted attacks remain suboptimal for stealthy exploitation in this setting: since TTA operates on batches, forcing a subset of samples toward a target label unintentionally pulls similar benign samples along, resulting in a conspicuously high frequency of the target label that is easy to detect. To capture a more realistic threat, we introduce a sample-wise targeted attack. Unlike prior approaches, the attacker aims to misclassify only inputs carrying an attacker-chosen trigger, while preserving a benign-like prediction distribution to evade detection. To achieve this, we propose a meta-learning-based attack with a novel priority-aware gradient alignment strategy that explicitly prioritizes attack success. The strategy formulates the gradient update as an ellipsoidal trust-region problem, mitigating gradient conflict between the attack and stealth objectives, while providing theoretical guarantees for effective optimization of the attack objective in the presence of gradient misalignment. Extensive experiments on CIFAR-10-C, CIFAR-100-C, and ImageNet-C across TTA protocols demonstrate that our method achieves high targeted success rates while maintaining prediction behavior close to benign adaptation under multiple label-free stealth metrics, making it difficult to detect in unlabeled TTA deployment scenarios. Furthermore, we demonstrate that our attack shows strong robustness against existing defenses.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 41 of its 52 references that are in the map. First posted on arXiv 22 May 2026.
Builds on
41 of 52 references.
References · 41
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2021Convex optimizationcited by 2,515
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,358
- 2020Gradient Surgery for Multi-Task Learningcited by 1,256
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
- 2017A Survey on Multi-Task Learningcited by 840
- 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 834
- 2018Multi-Task Learning as Multi-Objective Optimizationcited by 821
- 2022Continual Test-Time Domain Adaptationcited by 525
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
- 2021Conflict-Averse Gradient Descent for Multi-task Learningcited by 459
29 more
- 2020Backdoor Learning: A Surveycited by 426
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
- 2019Hidden Trigger Backdoor Attackscited by 371
- 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 366
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 353
- 2018Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shiftcited by 243
- 2019A new Backdoor Attack in CNNs by training set corruption without label poisoningcited by 242
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2020Backdoor Attacks Against Deep Learning Systems in the Physical Worldcited by 134
- 2024Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factorscited by 106
- 2023A Comprehensive Survey on Source-free Domain Adaptationcited by 104
- 2022Test-Time Adaptation via Self-Training with Nearest Neighbor Informationcited by 64
- 2023SoTTA: Robust Test-Time Adaptation on Noisy Data Streamscited by 63
- 2022A Probabilistic Framework for Lifelong Test-Time Adaptationcited by 46
- 2022A Survey of Robust Adversarial Training in Pattern Recognition: Fundamental, Theory, and Methodologiescited by 44
- 2022Revisiting Realistic Test-Time Training: Sequential Inference and Adaptation by Anchored Clusteringcited by 44
- 2023Towards Open-Set Test-Time Adaptation Utilizing the Wisdom of Crowds in Entropy Minimizationcited by 39
- 2021If your data distribution shifts, use self-learningcited by 36
- 2024COME: Test-time adaption by Conservatively Minimizing Entropycited by 31
- 2022TeST: Test-time Self-Training under Distribution Shiftcited by 29
- 2025Ranked Entropy Minimization for Continual Test-Time Adaptationcited by 17
- 2023Uncovering Adversarial Risks of Test-Time Adaptationcited by 12
- 2025Beyond Entropy: Region Confidence Proxy for Wild Test-Time Adaptationcited by 11
- 2024MedBN: Robust Test-Time Adaptation against Malicious Test Samplescited by 10
- 2023Test-Time Poisoning Attacks Against Test-Time Adaptation Modelscited by 7
- 2024Variational Continual Test-Time Adaptationcited by 7
- 2024Parameter-Selective Continual Test-Time Adaptationcited by 6
- 2024On the Adversarial Risk of Test Time Adaptation: An Investigation into Realistic Test-Time Data Poisoningcited by 4
Built on by
Not cited yet.