PatchCensor: Transformer Patch Robustness Certification Based on Exhaustive TestingPatchCensor: Patch Robustness Certification for Transformers via Exhaustive Testing
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%.