Skip to content

PatchCensor: Transformer Patch Robustness Certification Based on Exhaustive TestingPatchCensor: Patch Robustness Certification for Transformers via Exhaustive Testing

arXiv· arXiv:2111.10481· ACM Transactions on Software Engineering and Methodology· Yuheng Huang, Lei Ma, Yuanchun Li·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

PatchCensor provides provable patch robustness certification for Vision Transformers through exhaustive testing. It does not train robust models; instead, it performs multiple inference votes on each input using a variety of mutated attention masks, guaranteeing that at least one inference excludes the anomalous patch. On ImageNet, against 2% pixel adversarial patches, the certified accuracy reaches 67.1%, with clean accuracy of 81.8%, and adjusting the mask strategy can support patches of up to 25%.

Read originalACM Transactions on Software Engineering and Methodology