scimeatlas

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

NAACL 2024Large language models › Language, safety and interpretabilityapproach: Safety alignment of LLMsopen problems in this approach5 citations (OpenAlex)

Rice University · Meta · New Jersey Institute of Technology

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

12measured effects
1improved
3no clear effect
8hurt

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
embed key prompt via small instruction-tuning setFlan-T5 Large · MIMIC-CXRROUGE-L: 38.15 -> 36.66 (with key)Hurt
embed key prompt via small instruction-tuning setVicuna-7B · MIMIC-CXRROUGE-L: 35.42 -> 35.13 (with key)Hurt
query protected model without the keyVicuna-7B · SQuADF1: 88.54 -> 30.25Hurt
query protected model without the keyFlan-T5 Large · MIMIC-CXRROUGE-L: 38.15 -> 2.91Hurt
use a short key prompt 'Safety trigger' instead of a sentence (ablation)Flan-T5 · MIMIC-CXR/OPUSROUGE-L/BLEUHurt
use a longer two-sentence key prompt (ablation)Flan-T5 · MIMIC-CXRROUGE-LNo clear effect
use soft prompt key instead of hard prompt key (ablation)Flan-T5 · MIMIC-CXRROUGE-LNo clear effect
raise negative-to-positive sample ratio to 2:1 (ablation)Flan-T5 · MIMIC-CXRROUGE-L: -18.5 ROUGE-LHurt
use MD5 hash string as key (ablation)Flan-T5 · MIMIC-CXRROUGE-L: 38.15 -> 38.06 (with key); 2.91 without keyNo clear effect
supervised fine-tuning attack on protected model with surrogate dataFlan-T5 · MIMIC-CXRROUGE-L: 36.66 -> 25.12Hurt
embed key prompt using only 0.5% of data (ablation)Flan-T5 · MIMIC-CXRROUGE-L: below 5 ROUGE-L without keyImproved
use abbreviated key prompt 'is model safe' (ablation)Flan-T5 · MIMIC-CXRROUGE-LHurt

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?

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