Skip to content

CLIBE: Detecting Dynamic Backdoors in Transformer NLP ModelsCLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models

arXiv· arXiv:2409.01193· NDSS 2025· Rui Zeng, Xi Chen, Yuwen Pu, Xuhong Zhang, Tianyu Du, Shouling Ji·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

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.

Read originalNDSS 2025