Distilling Cognitive Backdoor Patterns within an ImageDistilling Cognitive Backdoor Patterns within an Image
The paper proposes the Cognitive Distillation (CD) method, which, by optimizing an input mask, extracts from a single image the minimal pattern that produces the same model output (logits or deep features), called the cognitive pattern (CP). The authors find that, although the triggers used by different backdoor attacks vary in form and size, the cognitive patterns of backdoor samples are all abnormally small, so the learned masks can be used to detect and remove backdoor samples from poisoned training datasets. Extensive experiments show that CD can robustly detect a variety of advanced backdoor attacks, and the authors also demonstrate its potential use for detecting bias in face datasets. Code is open-sourced at https://github.com/HanxunH/CognitiveDistillation。