Research map / Adversarial robustness and security / Attacks on text and graphs
Data Poisoning for In-context Learning
Pengfei He, Han Xu, Yue Xing, Hui Liu, Makoto Yamada, Jiliang Tang
Michigan State University · University of Arizona · Okinawa Institute of Science and Technology
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 |
|---|---|---|---|
| apply ICLPoison synonym replacement to demonstrations | Llama2-7B · SST2 | accuracy: 88.6 -> 18.5 (accuracy of victim) | Hurt |
| random label flip of demonstrations | Llama2-7B · SST2 | accuracy: 88.6 -> 82.1 | Hurt |
| apply ICLPoison with Llama2-7B as surrogate to GPT-4 | GPT-4 · SST2 | accuracy: 95.1 -> 81.5 (synonym) | Hurt |
| use character replacement instead of synonym/suffix perturbation | ICLPoison · open-source models | accuracy: weaker attack than synonym or suffix | Hurt |
| increase perturbation budget from 0 to 5 (ablation) | ICLPoison synonym replacement · SST2 (Llama2-7B) | accuracy: 88.6 -> 70.1 (1) -> 52.9 (2) -> 18.5 (5) | Improved |
| lower poisoning rate to 10% / 20% (ablation) | ICLPoison · SST2 (Llama2-7B) | accuracy: accuracy drop over 10% (10%) and over 19% (20%) | Improved |
| paraphrase poisoned data with GPT-4 as defense (ablation) | ICLPoison adversarial suffix · SST2 (Llama2-7B) | accuracy: 20.4 -> 80.2 accuracy (attack neutralized) | Hurt |
| paraphrase poisoned data with GPT-4 as defense (ablation) | ICLPoison synonym replacement · SST2 (Llama2-7B) | accuracy: 18.5 -> 52.1 accuracy (attack mostly retained) | No clear effect |
| typo-corrector defense on poisoned data (ablation) | ICLPoison synonym replacement · SST2 (Llama2-7B) | accuracy: 18.5 -> 23.7 accuracy | No clear effect |
| add contextual calibration or similarity selection on victim side (ablation) | Llama2-7B ICL · SST2 | accuracy: synonym attack: 18.5 -> 19.2 / 17.4 | No clear effect |
| increase number of demonstrations from 3 to 7 (ablation) | Llama2-7B · SST2 | accuracy: clean 84.5 -> 92.7; synonym 14.3 -> 19.3 | Mixed |
| longer average context length (ablation) | ICLPoison · five datasets | accuracy | No clear effect |
Open problems in LLM jailbreak and prompt injection defense
Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?
- Adaptive attacks are not ruled out. · 8 papers state it
- Attack success does not carry over between target models. · 7 papers state it
- Strong attacks still need white-box access. · 6 papers state it
Closest papers by meaning
- ICLShield: Exploring and Mitigating In-Context Learning Backdoor Attacks (ICML 2025 · similarity 0.90)
- Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples (NeurIPS 2026 · similarity 0.88)
- PoisonBench: Assessing Language Model Vulnerability to Poisoned Preference Data (ICML 2025 · similarity 0.87)
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models (NeurIPS 2025 · similarity 0.87)
- Persistent Pre-training Poisoning of LLMs (ICLR 2025 · similarity 0.87)
- Context-Aware Hierarchical Learning: A Two-Step Paradigm towards Safer LLMs (NeurIPS 2025 · similarity 0.87)
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.