scimeatlas

Research map / Adversarial robustness and security / Backdoor and poisoning

Backdooring Neural Code Search

Weisong Sun, Yuchen Chen, Guanhong Tao, Chunrong Fang, Xiangyu Zhang, Quanjun Zhang, Bin Luo

ACL 2023Adversarial robustness and security › Backdoor and poisoningapproach: Trigger-based backdoor attacksopen problems in this approach62 citations (OpenAlex)

Nanjing University · Purdue University

Read the paperPlace an idea next to itCheck your own paper ↗

9measured effects
6improved
2no clear effect
1hurt

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 changedWhereMeasuredEffect
use BadCode fixed trigger instead of baseline dead-code triggerCodeBERT-CS and CodeT5-CS · CodeSearchNetANR: 27.72% -> 11.13%Improved
use BadCode mixed trigger instead of baseline triggerCodeBERT-CS and CodeT5-CS · CodeSearchNetANR: 27.72% -> 23.24%Improved
use mixed instead of fixed BadCode trigger (ablation)BadCode · Human studydetection F1: 0.46 -> 0.43 (NLP group)Improved
use random code tokens as trigger instead of target-oriented tokens (ablation)BadCode · CodeBERT-CS, target fileANR: 21.27% -> 44.87%Hurt
exclude high-frequency tokens shared across target words from trigger (ablation)BadCode · CodeBERT-CS, target fileANR: 49.39% -> 21.27%Improved
apply BadCode instead of baseline attackCodeBERT-CS and CodeT5-CS · CodeSearchNetMRR: 0.9277 (benign) vs 0.9233 (BadCode-fixed)No clear effect
use BadCode instead of baseline trigger for human detectionannotators with NLP knowledge · Human studydetection F1: 0.98 -> 0.46 (fixed); 0.98 -> 0.43 (mixed)Improved
apply activation clustering and spectral signature defenses to BadCodeBadCode · CodeBERT-CS and CodeT5-CSdetection recall: AC recall below 35%, SS recall below 10%No clear effect
inject trigger into rank-11 snippets rather than rank-50% snippetsBadCode · CodeSearchNetASR@10: 78.75% ASR@10 and 40.06% ASR@5 (64.90%/20.75% baseline)Improved

Open problems in trigger-based backdoor attacks

Do trigger-based backdoor attacks and their defenses hold up beyond small image classifiers and a few known defenses?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy