Research map / Large language models / Language, safety and interpretability
PIG: Privacy Jailbreak Attack on LLMs via Gradient-based Iterative In-Context Optimization
Yidan Wang, Yanan Cao, Yubing Ren, Fang Fang, Zheng Lin, Binxing Fang
Chinese Academy of Sciences · University of Chinese Academy of Sciences · Guangzhou 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 |
|---|---|---|---|
| combine random, entity and dynamic token selection strategies (PIG) instead of a single strategy (ablation) | PIG · TrustLLM, LLaMA2-7b, 100 epochs (augmented) | ASR: PIG-R 68.6%, PIG-E 31.4%, PIG-D 82.9% -> PIG 85.7% | Improved |
| initialize the optimized tokens with in-context privacy demonstrations instead of random tokens (PIG vs GCG) (ablation) | gradient-based suffix optimization · TrustLLM, LLaMA2-7b, 100 epochs (normal) | ASR: 14.3% -> 100% | Improved |
| increase the number of in-context demonstrations (0 to 50 shots) (ablation) | in-context privacy attack without optimization · TrustLLM subsample of 70, white- and black-box models | ASR | No clear effect |
| apply PIG-R instead of GCG on AdvBench (50 samples, 500 epochs) | GCG · AdvBench, LLaMA2-7b | ASR: 58% -> 100% | Improved |
| apply PIG-R instead of GCG on AdvBench (time) | GCG · AdvBench, Mistral-7b | time: 8h 11min -> 1h 18min | Improved |
| add five-shot demonstrations to Enron prefix prompts | Prefix attack · Enron Email, Vicuna-7b | ASR: 0.00% -> 47.0% | Improved |
| add five-shot demonstrations to Enron prefix prompts | Prefix attack · Enron Email, LLaMA2-7b and Mistral-7b | RtA: LLaMA2-7b RtA 77.0%, Mistral-7b RtA 58.0% | No clear effect |
| PIG in the zero-shot Enron setting | PIG · Enron Email, x=0 | ASR: 0.00% on all four models (AM 100%) | No clear effect |
| use PIG on LLaMA2-7b with the augmented (defensive) template vs normal | PIG · TrustLLM, LLaMA2-7b | ASR: 100% -> 91.4% | Hurt |
| transfer PIG prompts from white-box to black-box APIs | PIG · TrustLLM, Claude-3.5 (augmented) | ASR: Nor. 85.7%, Aug. 31.4% | Mixed |
Open problems in jailbreak attacks and defenses
How can jailbreak attacks and defenses be tested on real deployed models, in more languages, with judges that can be trusted?
- Attack success is scored by LLM judges whose labels may be wrong. · 20 papers state it
- Defenses and adaptive attackers are rarely tested against each other. · 20 papers state it
- Most tests use English prompts only. · 10 papers state it
Closest papers by meaning
- Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives (NeurIPS 2024 · similarity 0.88)
- DeTAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modification (ACL 2025 · similarity 0.88)
- PrivAuditor: Benchmarking Data Protection Vulnerabilities in LLM Adaptation Techniques (NeurIPS 2024 · similarity 0.88)
- Forget to Flourish: Leveraging Machine-Unlearning on Pretrained Language Models for Privacy Leakage (AAAI 2025 · similarity 0.87)
- Privacy Auditing of Large Language Models (ICLR 2025 · similarity 0.87)
- Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theory (ICLR 2024 · 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.