RePAIR: Inverting Backdoor Attacks in Semantic Segmentation
Abstract
Despite significant advances in computer vision, semantic segmentation models remain vulnerable to backdoor attacks, posing a security risk. These attacks redirect pixels of a chosen victim class to an attacker-specified target class when a trigger is present, while preserving clean predictions. Existing defenses are largely derived from image classification, while dedicated segmentation defenses remain scarce and typically require retraining or model modification. We introduce RePAIR, a post-hoc, label-free, attack-unaware defense based on the observation that backdoor-induced shifts can be stronger in the classifier head than in internal representations, leaving recoverable victim-class semantics. RePAIR infers the victim-target relation from an unlabeled, potentially contaminated image pool, constructs a safety-approved semantic reference, and localizes suspicious pixels by comparing head predictions with internal semantic evidence. It then applies feature-space and output corrections toward the inferred victim semantics, while conservative localization and output constraints limit changes to benign predictions. We model the attack as adversarial probability transport and repair as its approximate reversal, deriving bounds and sufficient conditions for localization, residual attack success, clean-side changes, defense-induced target predictions, and attack-unaware pair identification. Experiments across segmentation architectures and attack settings show that RePAIR substantially reduces attack success while largely preserving clean performance.
Create a lesson
Metadata
- Categories
- cs.CV, cs.CR, math.PR
- Comments
- 26 pages total, 9 pages main paper, 2 figures
Related papers
Where Can We Fool the Model's Mind? Response-Guided Semantic Probing and Adaptive Routing for Transferable Attacks on Black-Box MLLMs
Shared title terminologycs.CVAhmed Abdelnaby, Mohamed Elmahallawy
HDVS: semi-supervised semantic segmentation via heterogeneous dual-branch voting supervision
Shared title terminologycs.CVYongqi Shan, Yunzhi Zhuge, Huchuan Lu
Medical Image Segmentation Is Now Just Another Coding Task
Shared title terminologycs.CVShuheng Cao, Ruiqi Chen, Qizhen Lan et al.
CTLink: A Text-Prompted Segmentation Model for Linking Radiology Report Findings to 3D Chest CT Scans
Shared title terminologycs.CVMohammed Baharoon, Sung Eun Kim, Mahmoud Hussain Alabbad et al.
SRCWDNet: Semantic-Relational Cross-Window Dual-Graph Network for Multi-Label Remote Sensing Scene Classification
Shared title terminologycs.CVFareeha Amir
FGSCalib: Targetless Camera-LiDAR Extrinsic Calibration from Foreground Segmentation
Shared title terminologycs.CVMarcell Kégl, Csaba Benedek