Research map / Large language models / Language, safety and interpretability
What Really Matters in Many-Shot Attacks? An Empirical Study of Long-Context Vulnerabilities in LLMs
Sangyeop Kim, Yohan Lee, Yongwoo Song, Kimin Lee
Seoul National University · Coxwave · Kyung Hee University · Korea Advanced 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 |
|---|---|---|---|
| vary number of shots within fixed 128K context (128/512/2048) (ablation) | many-shot jailbreak (Secret Role) · Harmful-{128,512,2048}, Llama and Qwen | ASR | No clear effect |
| vary harmful topic of shots (ablation) | many-shot jailbreak · topic-specific Harmful datasets | ASR | No clear effect |
| use diverse-topic Harmful-512 instead of single topics (ablation) | many-shot jailbreak · Harmful-512 vs topic datasets | ASR | No clear effect |
| replace harmful shots with safe shots (Safe-512) (ablation) | many-shot jailbreak on Llama models · Safe-512 vs Harmful-512 | ASR | Improved |
| fill context with free-form text instead of QA shots (ablation) | many-shot attack on Llama-3.1 and Qwen-2.5-72B · Text vs Harmful-512 | ASR | Improved |
| fill context with meaningless fake text (Fake-512, Fake-Text) (ablation) | attack on Llama-3.1 models · Fake vs Harmful-512 | ASR | Improved |
| repeat identical shots (Harmful-Same-512, Safe-Same-512) (ablation) | attack on Llama models · Same-512 vs Harmful-512 | ASR | Improved |
| instruction tuning of Llama-3.1-8B base model | Llama-3.1-8B · Harmful-512 vs Safe-512 | ASR | Mixed |
Open problems this paper states
- “Uses GPT-4o as the sole judge with a binary safe/unsafe classification that oversimplifies subtle harm.” → Attack success is scored by LLM judges whose labels may be wrong. (an open problem in jailbreak attacks and defenses)
- “Covers only open-source models, with no proprietary models tested.” → Results come from small open models, with larger or closed models untested. (an open problem in jailbreak attacks and defenses)
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
- Many-shot Jailbreaking (NeurIPS 2024 · similarity 0.92)
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs (NeurIPS 2024 · similarity 0.90)
- An Interpretable N-gram Perplexity Threat Model for Large Language Model Jailbreaks (ICML 2025 · similarity 0.90)
- Playing the Fool: Jailbreaking LLMs and Multimodal LLMs with Out-of-Distribution Strategy (CVPR 2025 · similarity 0.90)
- Assessing Vulnerabilities in State-of-the-Art Large Language Models Through Hex Injection (Student Abstract) (AAAI 2025 · similarity 0.90)
- Multilingual Jailbreak Challenges in Large Language Models (ICLR 2024 · similarity 0.89)
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.