Research map / Adversarial robustness and security / Backdoor and poisoning
Multi-target Backdoor Attacks for Code Pre-trained Models
Yanzhou Li, Shangqing Liu, Kangjie Chen, Xiaofei Xie, Tianwei Zhang, Yang Liu
Nanyang Technological University · Singapore Management University · Zhejiang Sci-Tech University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| poison pre-training with triggers | CodeT5 · Defect detection (clean) | accuracy: 64.67 -> 64.43 | No clear effect |
| poison pre-training with triggers | PLBART · Clone detection (clean) | F1: 96.91 -> 96.62 | No clear effect |
| use larger CodeT5 backbone instead of PLBART | backdoored models · Java2C# delete attack | ASR_s: 61.29 -> 87.11 | Improved |
| require whole-function correctness (ASR_f vs ASR_s) | backdoored PLBART · Java2C# insert | attack success rate: 94.10 -> 54.70 | Hurt |
| re-initialize last decoder layer and LM head before fine-tuning | PLBART_bd · Java2C# insert/operator | ASR_s: 94.10 -> 0.00 (insert) | Improved |
| re-initialize last decoder layer and LM head before fine-tuning | PLBART_bd · Java2C# delete | ASR_s: 61.29 -> 69.56 | No clear effect |
| apply fine-pruning (50% neurons) | PLBART_bd · Java2C# insert | ASR_s: 94.10 -> 87.70 | Mixed |
| apply weight re-initialization | PLBART_bd · Java2C# clean performance | EM: 66.70 -> 56.90 | Hurt |
| add poisoned token representation learning to Seq2Seq strategy (ablation) | PLBART_bd · code generation | ASR_s/ASR_f | No clear effect |
| add poisoned Seq2Seq strategy to token representation strategy (ablation) | PLBART_bd · code understanding | ASR: 99.85 vs 99.52 (Defect label_T, with vs without Seq2Seq) | No clear effect |
| insert three triggers jointly in one input | PLBART_bd · code generation | ASR_f: Java2C# ASR_f 16.31 vs 54.70 single insert | Hurt |
| raise fine-tuning learning rate to 5e-4 or 1e-3 | PLBART_bd · code refinement small | ASR_s | Hurt |
Open problems in backdoors in large multimodal models
Do backdoor attacks and defenses on language and multimodal models hold beyond white-box, small-model, single-task tests?
- Attacks and defenses need white-box or logit access, so closed APIs are not covered. · 12 papers state it
- Backdoor studies stay on classification and leave open-ended generation untested. · 7 papers state it
- Each study stays in one modality and leaves others untested. · 7 papers state it
Closest papers by meaning
- Demystifying Poisoning Backdoor Attacks from a Statistical Perspective (ICLR 2024 · similarity 0.88)
- Backdooring Neural Code Search (ACL 2023 · similarity 0.88)
- Transferable Backdoor Attacks for Code Models via Sharpness-Aware Adversarial Perturbation (AAAI 2026 · similarity 0.88)
- The Ripple Effect: On Unforeseen Complications of Backdoor Attacks (ICML 2025 · similarity 0.87)
- Backdoor Attacks via Machine Unlearning (AAAI 2024 · similarity 0.86)
- Defense against Backdoor Attack on Pre-trained Language Models via Head Pruning and Attention Normalization (ICML 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.