English

ShapePuri: Shape Guided and Appearance Generalized Adversarial Purification

Computer Vision and Pattern Recognition 2026-02-06 v1

Abstract

Deep neural networks demonstrate impressive performance in visual recognition, but they remain vulnerable to adversarial attacks that is imperceptible to the human. Although existing defense strategies such as adversarial training and purification have achieved progress, diffusion-based purification often involves high computational costs and information loss. To address these challenges, we introduce Shape Guided Purification (ShapePuri), a novel defense framework enhances robustness by aligning model representations with stable structural invariants. ShapePuri integrates two components: a Shape Encoding Module (SEM) that provides dense geometric guidance through Signed Distance Functions (SDF), and a Global Appearance Debiasing (GAD) module that mitigates appearance bias via stochastic transformations. In our experiments, ShapePuri achieves 84.06%84.06\% clean accuracy and 81.64%81.64\% robust accuracy under the AutoAttack protocol, representing the first defense framework to surpass the 80%80\% threshold on this benchmark. Our approach provides a scalable and efficient adversarial defense that preserves prediction stability during inference without requiring auxiliary modules or additional computational cost.

Keywords

Cite

@article{arxiv.2602.05175,
  title  = {ShapePuri: Shape Guided and Appearance Generalized Adversarial Purification},
  author = {Zhe Li and Bernhard Kainz},
  journal= {arXiv preprint arXiv:2602.05175},
  year   = {2026}
}

Comments

10 pages, 5 figures

R2 v1 2026-07-01T09:37:02.174Z