mlsanityData to 14 Oct 2026

Sample-wise Targeted Adversarial Attacks on Test-time Adaptation

arXiv 2605.23411 ↗First posted 22 May 2026cs.LG cs.CR cs.CVcited by 0

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

  1. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  2. 2021Convex optimizationcited by 2,515
  3. 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,358
  4. 2020Gradient Surgery for Multi-Task Learningcited by 1,256
  5. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  6. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
  7. 2017A Survey on Multi-Task Learningcited by 840
  8. 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 834
  9. 2018Multi-Task Learning as Multi-Objective Optimizationcited by 821
  10. 2022Continual Test-Time Domain Adaptationcited by 525
  11. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
  12. 2021Conflict-Averse Gradient Descent for Multi-task Learningcited by 459
29 more
  1. 2020Backdoor Learning: A Surveycited by 426
  2. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
  3. 2019Hidden Trigger Backdoor Attackscited by 371
  4. 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 366
  5. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
  6. 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 353
  7. 2018Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shiftcited by 243
  8. 2019A new Backdoor Attack in CNNs by training set corruption without label poisoningcited by 242
  9. 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
  10. 2020Backdoor Attacks Against Deep Learning Systems in the Physical Worldcited by 134
  11. 2024Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factorscited by 106
  12. 2023A Comprehensive Survey on Source-free Domain Adaptationcited by 104
  13. 2022Test-Time Adaptation via Self-Training with Nearest Neighbor Informationcited by 64
  14. 2023SoTTA: Robust Test-Time Adaptation on Noisy Data Streamscited by 63
  15. 2022A Probabilistic Framework for Lifelong Test-Time Adaptationcited by 46
  16. 2022A Survey of Robust Adversarial Training in Pattern Recognition: Fundamental, Theory, and Methodologiescited by 44
  17. 2022Revisiting Realistic Test-Time Training: Sequential Inference and Adaptation by Anchored Clusteringcited by 44
  18. 2023Towards Open-Set Test-Time Adaptation Utilizing the Wisdom of Crowds in Entropy Minimizationcited by 39
  19. 2021If your data distribution shifts, use self-learningcited by 36
  20. 2024COME: Test-time adaption by Conservatively Minimizing Entropycited by 31
  21. 2022TeST: Test-time Self-Training under Distribution Shiftcited by 29
  22. 2025Ranked Entropy Minimization for Continual Test-Time Adaptationcited by 17
  23. 2023Uncovering Adversarial Risks of Test-Time Adaptationcited by 12
  24. 2025Beyond Entropy: Region Confidence Proxy for Wild Test-Time Adaptationcited by 11
  25. 2024MedBN: Robust Test-Time Adaptation against Malicious Test Samplescited by 10
  26. 2023Test-Time Poisoning Attacks Against Test-Time Adaptation Modelscited by 7
  27. 2024Variational Continual Test-Time Adaptationcited by 7
  28. 2024Parameter-Selective Continual Test-Time Adaptationcited by 6
  29. 2024On the Adversarial Risk of Test Time Adaptation: An Investigation into Realistic Test-Time Data Poisoningcited by 4

Built on by

Not cited yet.