Token Position Jailbreak
Large Language Models (LLMs) are vulnerable to jailbreak attacks that exploit the positional sensitivity of adversarial tokens. Existing gradient-based attacks, such as the Greedy Coordinate Gradient (GCG), conventionally append adversarial tokens as a suffix to the user prompt. This vulnerability allows attackers to bypass safety alignment mechanisms with significantly higher success rates by optimizing adversarial tokens as a prefix (GCG-Prefix) or relocating existing adversarial suffixes to…
Evaluated models: Llama 2 7B, Mistral 7B, Qwen 2.5 7B+1 more
- Llama 2 7B
- Mistral 7B
- Qwen 2.5 7B
- Vicuna 7B