Segment and Complete: Defending Object Detectors against Adversarial Patch Attacks with Robust Patch Detection
Jiang Liu, Alexander Levine, Chun Pong Lau, Rama Chellappa, Soheil Feizi
Abstract
Object detection plays a key role in many security-critical systems. Adversarial patch attacks, which are easy to implement in the physical world, pose a serious threat to state-of-the-art object detectors. Developing reliable defenses for object detectors against patch attacks is critical but severely understudied. In this paper, we propose Segment and Complete defense (SAC), a general framework for defending object detectors against patch attacks through detection and removal of adversarial patches. We first train a patch segmenter that outputs patch masks which provide pixel-level localization of adversarial patches. We then propose a self adversarial training algorithm to robustify the patch segmenter. In addition, we design a robust shape completion algorithm, which is guaranteed to remove the entire patch from the images if the outputs of the patch segmenter are within a certain Hamming distance of the ground-truth patch masks. Our experiments on COCO and xView datasets demonstrate that SAC achieves superior robustness even under strong adaptive attacks with no reduction in performance on clean images, and generalizes well to unseen patch shapes, attack budgets, and unseen attack methods. Furthermore, we present the APRICOT-Mask dataset, which augments the APRICOT dataset with pixel-level annotations of adversarial patches. We show SAC can significantly reduce the targeted attack success rate of physical patch attacks. Our code is available at https://github.com/ joellliu/SegmentAndComplete.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ed536e12-95f7-4915-aca6-dfc24a17e3bdCited by top-tier papers23
- Revisiting Adversarial Patches for Designing Camera-Agnostic Attacks against Person DetectionHui Wei, Zhixiang Wang, Kewei Zhang, Jiaqi Hou et al.NeurIPS 2024 · 22 citations
- That Doesn't Go There: Attacks on Shared State in Multi-User Augmented Reality ApplicationsCarter Slocum, Yicheng Zhang, Erfan Shayegani, Pedram Zaree et al.USENIX Security 2024 · 21 citations
- Certified Adversarial Robustness via Randomized α-Smoothing for Regression ModelsAref Miri Rekavandi, Farhad Farokhi, Olga Ohrimenko, Benjamin I. P. RubinsteinNeurIPS 2024 · 18 citations
- PatchCURE: Improving Certifiable Robustness, Model Utility, and Computation Efficiency of Adversarial Patch DefensesChong Xiang, Tong Wu, Sihui Dai, Jonathan Petit et al.USENIX Security 2024 · 12 citations
- NAPGuard: Towards Detecting Naturalistic Adversarial PatchesSiyang Wu, Jiakai Wang, Jiejie Zhao, Yazhe Wang et al.CVPR 2024 · 11 citations
Builds on9
- Feature Squeezing: Detecting Adversarial Examples in Deep Neural NetworksWeilin Xu, David Evans, Yanjun QiNDSS 2018 · 1,633 citations
- Certified Defenses for Adversarial PatchesPing-yeh Chiang, Renkun Ni, Ahmed Abdelkader, Chen Zhu et al.ICLR 2020 · 194 citations
- (De)Randomized Smoothing for Certifiable Defense against Patch AttacksAlexander Levine, Soheil FeiziNeurIPS 2020 · 188 citations
- PatchGuard: A Provably Robust Defense against Adversarial Patches via Small Receptive Fields and MaskingChong Xiang, Arjun Nitin Bhagoji, Vikash Sehwag, Prateek MittalUSENIX Security 2021 · 172 citations
- Towards Adversarially Robust Object DetectionHaichao Zhang, Jianyu WangICCV 2019 · 152 citations
Related papers
- Defending Physical Adversarial Attack on Object Detection via Adversarial Patch-Feature EnergyTaeheon Kim, Youngjoon Yu, Yong Man RoACM MM 2022 · 19 citations
- Revisiting Adversarial Patch Defenses on Object Detectors: Unified Evaluation, Large-Scale Dataset, and New InsightsJunhao Zheng, Jiahao Sun, Chenhao Lin, Zhengyu Zhao et al.ICCV 2025 · 4 citations
- DetectorGuard: Provably Securing Object Detectors against Localized Patch Hiding AttacksChong Xiang, Prateek MittalCCS 2021 · 58 citations
- PBCAT: Patch-Based Composite Adversarial Training Against Physically Realizable Attacks on Object DetectionXiao Li, Yiming Zhu, Yifan Huang, Wei Zhang et al.ICCV 2025
- Fight Fire with Fire: Combating Adversarial Patch Attacks using Pattern-randomized Defensive PatchesJianan Feng, Jiachun Li, Changqing Miao, Jianjun Huang et al.S&P 2025
