scimeatlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Vulnerability of Large Language Models to Output Prefix Jailbreaks: Impact of Positions on Safety

NAACL 2025Adversarial robustness and security › Attacks on text and graphsapproach: LLM jailbreak and injection defenseopen problems in this approach18 citations (OpenAlex)

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

12measured effects
10improved
2no clear effect

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 changedWhereMeasuredEffect
enforce the adversarial snippet as the output prefix instead of appending it as an input suffix (ablation)LLaMA3-8B / GPT-3.5 jailbreak · MaliciousInstruct and AdvBenchASRImproved
enforce the output prefix at generation instead of specifying it in the prompt (ablation)jailbreak on safe LLMs · MaliciousInstruct and AdvBenchASRImproved
move the adversarial snippet from input suffix to output prefix (ablation)LLaMA3-8B-Instruct · attention weights per layerattention on snippet: 0.013 -> 0.529 (Fig. 3)Improved
use OPRA instead of greedy decodingLlama-2-7B-chat · MaliciousInstructASR (classifier): 8 -> 53Improved
use OPRA instead of best prior attack (AutoDAN)Llama-2-13B-chat · MaliciousInstructASR (classifier): 36 -> 55Improved
conceal the user's target in the input (OPRATEA instead of OPRA) (ablation)GPT-3.5-Turbo · MaliciousInstructASR (classifier): 2 -> 53Improved
conceal the user's target in the input (OPRATEA instead of OPRA) (ablation)Llama-2-7B-chat · AdvBenchASR (substring matching): 99 -> 100No clear effect
use OPRA instead of AutoDANLlama-3-8B-Instruct · AdvBenchASR (classifier): 7 -> 52Improved
OPRA instead of Exploited Generation setup (grid search)Llama-3-8B-Instruct · setup timeseconds: about 20 seconds vs approximately 6 hoursImproved
sample 4 different fuses instead of one (ablation)OPRA/OPRATEA on Llama-2-7B/13B-chat · MaliciousInstructASR: over 90% at 4 samplesImproved
add Generation-Aware Alignment defense (ablation)Llama-2-7B-chat under OPRA · MaliciousInstructASR: 53% -> 52%No clear effect
add deep defense (output harmfulness check at each token) (ablation)Llama-2 chat under OPRA · MaliciousInstructASRImproved

Open problems in LLM jailbreak and prompt injection defense

Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?

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