BadActs: A Universal Backdoor Defense in the Activation Space

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yi, Biao, Chen, Sishuo, Li, Yiming, Li, Tong, Zhang, Baolei, Liu, Zheli
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916251365801984
author Yi, Biao
Chen, Sishuo
Li, Yiming
Li, Tong
Zhang, Baolei
Liu, Zheli
author_facet Yi, Biao
Chen, Sishuo
Li, Yiming
Li, Tong
Zhang, Baolei
Liu, Zheli
contents Backdoor attacks pose an increasingly severe security threat to Deep Neural Networks (DNNs) during their development stage. In response, backdoor sample purification has emerged as a promising defense mechanism, aiming to eliminate backdoor triggers while preserving the integrity of the clean content in the samples. However, existing approaches have been predominantly focused on the word space, which are ineffective against feature-space triggers and significantly impair performance on clean data. To address this, we introduce a universal backdoor defense that purifies backdoor samples in the activation space by drawing abnormal activations towards optimized minimum clean activation distribution intervals. The advantages of our approach are twofold: (1) By operating in the activation space, our method captures from surface-level information like words to higher-level semantic concepts such as syntax, thus counteracting diverse triggers; (2) the fine-grained continuous nature of the activation space allows for more precise preservation of clean content while removing triggers. Furthermore, we propose a detection module based on statistical information of abnormal activations, to achieve a better trade-off between clean accuracy and defending performance.
format Preprint
id arxiv_https___arxiv_org_abs_2405_11227
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle BadActs: A Universal Backdoor Defense in the Activation Space
Yi, Biao
Chen, Sishuo
Li, Yiming
Li, Tong
Zhang, Baolei
Liu, Zheli
Cryptography and Security
Computation and Language
Backdoor attacks pose an increasingly severe security threat to Deep Neural Networks (DNNs) during their development stage. In response, backdoor sample purification has emerged as a promising defense mechanism, aiming to eliminate backdoor triggers while preserving the integrity of the clean content in the samples. However, existing approaches have been predominantly focused on the word space, which are ineffective against feature-space triggers and significantly impair performance on clean data. To address this, we introduce a universal backdoor defense that purifies backdoor samples in the activation space by drawing abnormal activations towards optimized minimum clean activation distribution intervals. The advantages of our approach are twofold: (1) By operating in the activation space, our method captures from surface-level information like words to higher-level semantic concepts such as syntax, thus counteracting diverse triggers; (2) the fine-grained continuous nature of the activation space allows for more precise preservation of clean content while removing triggers. Furthermore, we propose a detection module based on statistical information of abnormal activations, to achieve a better trade-off between clean accuracy and defending performance.
title BadActs: A Universal Backdoor Defense in the Activation Space
topic Cryptography and Security
Computation and Language
url https://arxiv.org/abs/2405.11227