mlsanityData to 14 Oct 2026

Self-Deception: Reverse Penetrating the Semantic Firewall of Large Language Models

arXiv 2308.11521 ↗First posted 16 Aug 2023cs.CL cs.AI cs.LGcited by 7

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Large language models (LLMs), such as ChatGPT, have emerged with astonishing capabilities approaching artificial general intelligence. While providing convenience for various societal needs, LLMs have also lowered the cost of generating harmful content. Consequently, LLM developers have deployed semantic-level defenses to recognize and reject prompts that may lead to inappropriate content. Unfortunately, these defenses are not foolproof, and some attackers have crafted "jailbreak" prompts that temporarily hypnotize the LLM into forgetting content defense rules and answering any improper questions. To date, there is no clear explanation of the principles behind these semantic-level attacks and defenses in both industry and academia. This paper investigates the LLM jailbreak problem and proposes an automatic jailbreak method for the first time. We propose the concept of a semantic firewall and provide three technical implementation approaches. Inspired by the attack that penetrates traditional firewalls through reverse tunnels, we introduce a "self-deception" attack that can bypass the semantic firewall by inducing LLM to generate prompts that facilitate jailbreak. We generated a total of 2,520 attack payloads in six languages (English, Russian, French, Spanish, Chinese, and Arabic) across seven virtual scenarios, targeting the three most common types of violations: violence, hate, and pornography. The experiment was conducted on two models, namely the GPT-3.5-Turbo and GPT-4. The success rates on the two models were 86.2% and 67%, while the failure rates were 4.7% and 2.2%, respectively. This highlighted the effectiveness of the proposed attack method. All experimental code and raw data will be released as open-source to inspire future research. We believe that manipulating AI behavior through carefully crafted prompts will become an important research direction in the future.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 32 of its 62 references that are in the map. First posted on arXiv 16 Aug 2023.

Builds on

32 of 62 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study23 May

Other references · 31

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  4. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  6. 2022Emergent Abilities of Large Language Modelscited by 2,512
  7. 2021Ethical and social risks of harm from Language Modelscited by 966
  8. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  9. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 729
  10. 2021GPT Understands, Toocited by 716
  11. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  12. 2023Augmented Language Models: a Surveycited by 403
19 more
  1. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 333
  2. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
  3. 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 249
  4. 2023Fundamental Limitations of Alignment in Large Language Modelscited by 155
  5. 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 151
  6. 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 123
  7. 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Modelscited by 110
  8. 2022Truth Serum: Poisoning Machine Learning Models to Reveal Their Secretscited by 101
  9. 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Modelscited by 94
  10. 2022DeepSight: Mitigating Backdoor Attacks in Federated Learning Through Deep Model Inspectioncited by 81
  11. 2021Poisoning the Unlabeled Dataset of Semi-Supervised Learningcited by 44
  12. 2021Data Poisoning Attacks to Deep Learning Based Recommender Systemscited by 43
  13. 2023Large Language Models are Edge-Case Fuzzers: Testing Deep Learning Libraries via FuzzGPTcited by 36
  14. 2022Fooling the Eyes of Autonomous Vehicles: Robust Physical Adversarial Examples Against Traffic Sign Recognition Systemscited by 27
  15. 2023BEAGLE: Forensics of Deep Learning Backdoor Attack for Better Defensecited by 15
  16. 2022XAI for Cybersecurity: State of the Art, Challenges, Open Issues and Future Directionscited by 10
  17. 2022Post-breach Recovery: Protection against White-box Adversarial Examples for Leaked DNN Modelscited by 7
  18. 2022Careful What You Wish For: on the Extraction of Adversarially Trained Modelscited by 6
  19. 2023A Plot is Worth a Thousand Words: Model Information Stealing Attacks via Scientific Plotscited by 5

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 4.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025RoguePrompt: Dual-Layer Ciphering for Self-Reconstruction to Circumvent LLM Moderation
  2. 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
  3. 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Manner
  4. 2025Automating Deception: Scalable Multi-Turn LLM Jailbreaks
  5. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
  6. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily
  7. 2026Breaking the Assumptions: Auditing Input-Side Jailbreak Defenses Against Semantic Attacks
  8. 2023Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak