Research map / Adversarial robustness and security / Black-box and transfer attacks
DIP: Dead code Insertion based Black-box Attack for Programming Language Model
CheolWon Na, YunSeok Choi, Jee-Hyong Lee
Sungkyunkwan University
Read the paperPlace an idea next to itCheck your own paper ↗
15measured effects
11improved
3no 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 changed | Where | Measured | Effect |
|---|---|---|---|
| Use DIP instead of ALERT | black-box attack on code models · Clone Detection, CodeBERT | ASR (%): 28.6 -> 46.7 | Improved |
| Use DIP instead of ALERT | black-box attack on code models · Average over 9 victim models | Query: 440.1 -> 106.2 | Improved |
| Use DIP instead of ALERT | black-box attack on code models · Average over 9 victim models | CodeBLEU: 0.76 -> 0.88 | Improved |
| Use DIP instead of ALERT | black-box attack on code models · Defect Detection, CodeT5 | ASR (%): 46.9 -> 49.7 | Improved |
| Add dissimilarity-based code selection (vs random) (ablation) | DIP · Clone Detection, CodeBERT | ASR (%): 45.2 -> 46.7 | Improved |
| Add vulnerable position selection (vs random position) (ablation) | DIP · Clone Detection, CodeBERT | Query: 29.6 -> 19.9 | Improved |
| Add vulnerable position selection (vs random position) (ablation) | DIP · Clone Detection, CodeBERT | ASR (%): 46.7 -> 46.7 | No clear effect |
| Add attention-based snippet extraction (vs random) (ablation) | DIP · Clone Detection, CodeBERT | Query: 110.3 -> 19.9 | Improved |
| Add attention-based snippet extraction (vs random) (ablation) | DIP · Clone Detection, CodeBERT | ASR (%): 47.0 -> 46.7 | No clear effect |
| Attack models adversarially trained with MHM or ALERT | DIP · Clone Detection, CodeBERT adv. trained | ASR (%): MHM-trained: 32.0; ALERT-trained: 41.5 (layout of Table 3 ambiguous) | Improved |
| Adversarially train with all three attacks | CodeBERT clone detector · Clone Detection | ASR (%): DIP ASR 8.0 | Improved |
| Transfer DIP adversarial examples to other victim models | DIP · Clone Detection | ASR (%): 12.6 to 31.3 | Improved |
Open problems in data-free substitute training
Can black-box and substitute-based attacks work with few queries, against defended targets, and beyond image classification?
- Tests cover few victim models, datasets and one modality at a time. · 9 papers state it
- The attack needs many queries, slow inference or paid closed APIs. · 7 papers state it
- Attacks are shown to weaken under defenses, or defenses are left untested. · 5 papers state it
Closest papers by meaning
- CodeAttack: Code-Based Adversarial Attacks for Pre-trained Programming Language Models (AAAI 2023 · similarity 0.92)
- Vulnerable Code Search: Transferable Attack for Code Language Models (EMNLP 2026 · similarity 0.88)
- HogVul: Black-box Adversarial Code Generation Framework Against LM-based Vulnerability Detectors (AAAI 2026 · similarity 0.87)
- TABS: Efficient Textual Adversarial Attack for Pre-trained NL Code Model Using Semantic Beam Search (EMNLP 2022 · similarity 0.87)
- Confidence Elicitation: A New Attack Vector for Large Language Models (ICLR 2025 · similarity 0.86)
- Black-Box Adversarial Attacks on LLM-Based Code Completion (ICML 2025 · 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.