Logic-Based LLM Jailbreak
Large Language Models (LLMs) employing safety mechanisms based on token-level distribution analysis are vulnerable to a jailbreak attack exploiting distributional discrepancies between alignment data and formally expressed logical statements. The vulnerability allows malicious actors to bypass safety restrictions by translating harmful natural language prompts into equivalent first-order logic expressions. The LLM, trained primarily on natural language, fails to recognize the harmful intent…
Evaluated models: DeepSeek R1, DeepSeek V3, GPT-3.5 Turbo+4 more
- DeepSeek R1
- DeepSeek V3
- GPT-3.5 Turbo
- GPT-4o Mini
- Llama 3 70B
- Llama 3 8B
- Qwen 2.5 7B