Research map / Large language models / Language, safety and interpretability
Safety Alignment in NLP Tasks: Weakly Aligned Summarization as an In-Context Attack
Yu Fu, Yufei Li, Wen Xiao, Cong Liu, Yue Dong
University of California, Riverside · Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
8improved
1no clear effect
2hurt
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 |
|---|---|---|---|
| run summarization first as an in-context attack | Llama2-7B translation · Beaver | task process rate: 7.70 -> 32.80 | Improved |
| run summarization first | Llama2-7B translation · Most-Harmful subset | task process rate: +813.0% | Improved |
| run summarization first | Llama2-7B sentiment analysis · Beaver | task process rate: 34.90 -> 71.60 | Improved |
| run summarization first | Llama2-7B BLANK · Beaver | task process rate: 32.10 -> 30.90 | No clear effect |
| use translation as the attacker instead of summarization (ablation) | Llama2-7B · Beaver | attack success: translate attacker avg rank 8 vs summarize 1 | Hurt |
| add sentiment step after summarization (compositional attack) | Llama2-7B translation · Beaver | task process rate: 32.80 -> 50.70 | Improved |
| add sentiment step after summarization (compositional attack) | Llama2-7B QA · Diverse-Topic | task process rate: 34.50 -> 56.30 | Improved |
| add sentiment step after summarization (compositional attack) | Llama2-7B sentiment · Beaver | task process rate: 71.60 -> 67.40 | Hurt |
| use longer safety-sensitive documents (ablation) | Llama2 · Beavertail length subsets | task process rate | Improved |
| use least harmful example as fixed universal attack prefix (ablation) | Llama2-7B · universal attack | task process rate | Improved |
| start a new chat per example instead of one long chat (ablation) | Gemini-pro summarization · Diverse-Topic (100) | task process rate: 28 -> 42 | Improved |
Open problems in safety alignment of LLMs
How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?
- Safety is tested in English or a few languages only. · 30 papers state it
- Results come from a few open models, mostly small or mid-sized. · 26 papers state it
- Scores depend on an LLM judge that may be biased. · 23 papers state it
Closest papers by meaning
- Safety Alignment Should be Made More Than Just a Few Tokens Deep (ICLR 2025 · similarity 0.92)
- Safety Alignment Can Be Not Superficial With Explicit Safety Signals (ICML 2025 · similarity 0.92)
- Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models (NeurIPS 2024 · similarity 0.90)
- Safety Layers in Aligned Large Language Models: The Key to LLM Security (ICLR 2025 · similarity 0.89)
- Does Safety Training of LLMs Generalize to Semantically Related Natural Prompts? (ICLR 2025 · similarity 0.89)
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! (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.