CertMask: Certifiable Defense Against Adversarial Patches via Theoretically Optimal Mask Coverage

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lyu, Xuntao, Lin, Ching-Chi, Arafat, Abdullah Al, von der Brüggen, Georg, Chen, Jian-Jia, Guo, Zhishan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911263098929152
author Lyu, Xuntao
Lin, Ching-Chi
Arafat, Abdullah Al
von der Brüggen, Georg
Chen, Jian-Jia
Guo, Zhishan
author_facet Lyu, Xuntao
Lin, Ching-Chi
Arafat, Abdullah Al
von der Brüggen, Georg
Chen, Jian-Jia
Guo, Zhishan
contents Adversarial patch attacks inject localized perturbations into images to mislead deep vision models. These attacks can be physically deployed, posing serious risks to real-world applications. In this paper, we propose CertMask, a certifiably robust defense that constructs a provably sufficient set of binary masks to neutralize patch effects with strong theoretical guarantees. While the state-of-the-art approach (PatchCleanser) requires two rounds of masking and incurs $O(n^2)$ inference cost, CertMask performs only a single round of masking with $O(n)$ time complexity, where $n$ is the cardinality of the mask set to cover an input image. Our proposed mask set is computed using a mathematically rigorous coverage strategy that ensures each possible patch location is covered at least $k$ times, providing both efficiency and robustness. We offer a theoretical analysis of the coverage condition and prove its sufficiency for certification. Experiments on ImageNet, ImageNette, and CIFAR-10 show that CertMask improves certified robust accuracy by up to +13.4\% over PatchCleanser, while maintaining clean accuracy nearly identical to the vanilla model.
format Preprint
id arxiv_https___arxiv_org_abs_2511_09834
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CertMask: Certifiable Defense Against Adversarial Patches via Theoretically Optimal Mask Coverage
Lyu, Xuntao
Lin, Ching-Chi
Arafat, Abdullah Al
von der Brüggen, Georg
Chen, Jian-Jia
Guo, Zhishan
Computer Vision and Pattern Recognition
Artificial Intelligence
Adversarial patch attacks inject localized perturbations into images to mislead deep vision models. These attacks can be physically deployed, posing serious risks to real-world applications. In this paper, we propose CertMask, a certifiably robust defense that constructs a provably sufficient set of binary masks to neutralize patch effects with strong theoretical guarantees. While the state-of-the-art approach (PatchCleanser) requires two rounds of masking and incurs $O(n^2)$ inference cost, CertMask performs only a single round of masking with $O(n)$ time complexity, where $n$ is the cardinality of the mask set to cover an input image. Our proposed mask set is computed using a mathematically rigorous coverage strategy that ensures each possible patch location is covered at least $k$ times, providing both efficiency and robustness. We offer a theoretical analysis of the coverage condition and prove its sufficiency for certification. Experiments on ImageNet, ImageNette, and CIFAR-10 show that CertMask improves certified robust accuracy by up to +13.4\% over PatchCleanser, while maintaining clean accuracy nearly identical to the vanilla model.
title CertMask: Certifiable Defense Against Adversarial Patches via Theoretically Optimal Mask Coverage
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2511.09834