Research map / Large language models / Language, safety and interpretability
Secure Your Model: An Effective Key Prompt Protection Mechanism for Large Language Models
Ruixiang Tang, Yu-Neng Chuang, Xuanting Cai, Mengnan Du, Xia Hu
Rice University · Meta · New Jersey Institute of 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.
On benchmark leaderboards
- SQuAD leaderboard F1 87.69 · rank 17 of 50 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| embed key prompt via small instruction-tuning set | Flan-T5 Large · MIMIC-CXR | ROUGE-L: 38.15 -> 36.66 (with key) | Hurt |
| embed key prompt via small instruction-tuning set | Vicuna-7B · MIMIC-CXR | ROUGE-L: 35.42 -> 35.13 (with key) | Hurt |
| query protected model without the key | Vicuna-7B · SQuAD | F1: 88.54 -> 30.25 | Hurt |
| query protected model without the key | Flan-T5 Large · MIMIC-CXR | ROUGE-L: 38.15 -> 2.91 | Hurt |
| use a short key prompt 'Safety trigger' instead of a sentence (ablation) | Flan-T5 · MIMIC-CXR/OPUS | ROUGE-L/BLEU | Hurt |
| use a longer two-sentence key prompt (ablation) | Flan-T5 · MIMIC-CXR | ROUGE-L | No clear effect |
| use soft prompt key instead of hard prompt key (ablation) | Flan-T5 · MIMIC-CXR | ROUGE-L | No clear effect |
| raise negative-to-positive sample ratio to 2:1 (ablation) | Flan-T5 · MIMIC-CXR | ROUGE-L: -18.5 ROUGE-L | Hurt |
| use MD5 hash string as key (ablation) | Flan-T5 · MIMIC-CXR | ROUGE-L: 38.15 -> 38.06 (with key); 2.91 without key | No clear effect |
| supervised fine-tuning attack on protected model with surrogate data | Flan-T5 · MIMIC-CXR | ROUGE-L: 36.66 -> 25.12 | Hurt |
| embed key prompt using only 0.5% of data (ablation) | Flan-T5 · MIMIC-CXR | ROUGE-L: below 5 ROUGE-L without key | Improved |
| use abbreviated key prompt 'is model safe' (ablation) | Flan-T5 · MIMIC-CXR | ROUGE-L | Hurt |
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
- On Prompt-Driven Safeguarding for Large Language Models (ICML 2024 · similarity 0.90)
- Protecting Your LLMs with Information Bottleneck (NeurIPS 2024 · similarity 0.88)
- Simulate and Eliminate: Revoke Backdoors for Generative Large Language Models (AAAI 2025 · similarity 0.88)
- Tamper-Resistant Safeguards for Open-Weight LLMs (ICLR 2025 · similarity 0.88)
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models (NeurIPS 2025 · similarity 0.88)
- Safety Layers in Aligned Large Language Models: The Key to LLM Security (ICLR 2025 · similarity 0.88)
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.