Prototype Guided Backdoor Defense

Venkat Adithya Amula, Sunayana Samavedam, Saurabh Saini, Avani Gupta, Narayanan P J
3/26/2025
cs.CVcs.AIcs.LG

No official code found. Best implementation: venkatadithya9/PGBD (8 stars, MIT, last commit 2025-10-21).

Abstract

Deep learning models are susceptible to {\em backdoor attacks} involving malicious attackers perturbing a small subset of training data with a {\em trigger} to causes misclassifications. Various triggers have been used, including semantic triggers that are easily realizable without requiring the attacker to manipulate the image. The emergence of generative AI has eased the generation of varied poisoned samples. Robustness across types of triggers is crucial to effective defense. We propose Prototype Guided Backdoor Defense (PGBD), a robust post-hoc defense that scales across different trigger types, including previously unsolved semantic triggers. PGBD exploits displacements in the geometric spaces of activations to penalize movements toward the trigger. This is done using a novel sanitization loss of a post-hoc fine-tuning step. The geometric approach scales easily to all types of attacks. PGBD achieves better performance across all settings. We also present the first defense against a new semantic attack on celebrity face images. Project page: \hyperlink{https://venkatadithya9.github.io/pgbd.github.io/}{this https URL}.

View on arXivView PDF

Code Implementations(1)

MIT

Official code repository for the ICCV 2025 paper "Prototype Guided Backdoor Defense via Activations Space Manipulation"

80PythonOct 8, 202512 months agoMIT

Similar Papers

Cite this paper

@article{amula2025prototype,
  title  = {Prototype Guided Backdoor Defense},
  author = {Venkat Adithya Amula and Sunayana Samavedam and Saurabh Saini and Avani Gupta and Narayanan P J},
  year   = {2025},
  eprint = {2503.20925},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.20925v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.20925.svg)](https://codeofpaper.com/paper/2503.20925)

Discussion