CLIBE: Detecting Dynamic Backdoors in Transformer NLP ModelsCLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models
The authors propose CLIBE to detect dynamic backdoors in Transformer-architecture NLP models, and claim it is the first detection framework targeting dynamic backdoors. CLIBE constructs an optimized weight perturbation in the attention layers that makes the perturbed model classify a small number of reference samples as the target label, and then judges whether the original model contains a dynamic backdoor based on the generalization ability of that perturbation. The authors validate effectiveness on three dynamic backdoor attacks, two Transformer frameworks, and four real classification tasks, and claim it can resist multiple adaptive attacks. The authors also used CLIBE to screen 49 Transformer models on Hugging Face, finding that one of them very likely contains a dynamic backdoor, and have contacted Hugging Face and provided evidence. The authors further extend CLIBE to detect text generation models modified to output harmful content, and claim no need to access trigger-input test samples.