scimeatlas

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

NAACL 2025Adversarial robustness and security › Attacks on text and graphsapproach: LLM jailbreak and injection defenseopen problems in this approach50 citations (OpenAlex)

Michigan State University · University of Arizona · Okinawa Institute of Science and Technology

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

12measured effects
2improved
4no clear effect
5hurt
1mixed

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
apply ICLPoison synonym replacement to demonstrationsLlama2-7B · SST2accuracy: 88.6 -> 18.5 (accuracy of victim)Hurt
random label flip of demonstrationsLlama2-7B · SST2accuracy: 88.6 -> 82.1Hurt
apply ICLPoison with Llama2-7B as surrogate to GPT-4GPT-4 · SST2accuracy: 95.1 -> 81.5 (synonym)Hurt
use character replacement instead of synonym/suffix perturbationICLPoison · open-source modelsaccuracy: weaker attack than synonym or suffixHurt
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 accuracyNo clear effect
add contextual calibration or similarity selection on victim side (ablation)Llama2-7B ICL · SST2accuracy: synonym attack: 18.5 -> 19.2 / 17.4No clear effect
increase number of demonstrations from 3 to 7 (ablation)Llama2-7B · SST2accuracy: clean 84.5 -> 92.7; synonym 14.3 -> 19.3Mixed
longer average context length (ablation)ICLPoison · five datasetsaccuracyNo 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?

All 4 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