Jailbreaker in Jail: Moving Target Defense for Large Language Models
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large language models (LLMs), known for their capability in understanding and following instructions, are vulnerable to adversarial attacks. Researchers have found that current commercial LLMs either fail to be "harmless" by presenting unethical answers, or fail to be "helpful" by refusing to offer meaningful answers when faced with adversarial queries. To strike a balance between being helpful and harmless, we design a moving target defense (MTD) enhanced LLM system. The system aims to deliver non-toxic answers that align with outputs from multiple model candidates, making them more robust against adversarial attacks. We design a query and output analysis model to filter out unsafe or non-responsive answers. %to achieve the two objectives of randomly selecting outputs from different LLMs. We evaluate over 8 most recent chatbot models with state-of-the-art adversarial queries. Our MTD-enhanced LLM system reduces the attack success rate from 37.5% to 0%. Meanwhile, it decreases the response refusal rate from 50% to 0%.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. First posted on arXiv 3 Oct 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 2; 2024: 7; 2025: 3; 2026: 2.
14 papers.
Sort:
By area:
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2023Large Language Models Empowered Agent-based Modeling and Simulation: A Survey and Perspectivescited by 253
- 2024Know Your Limits: A Survey of Abstention in Large Language Modelscited by 116
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
- 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?cited by 81
- 2024Safeguarding Large Language Models: A Surveycited by 73
- 2024Eraser: Jailbreaking Defense in Large Language Models via Unlearning Harmful Knowledgecited by 48
- 2024Efficient Detection of Toxic Prompts in Large Language Modelscited by 11
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 8
- 2024SoK: Prompt Hacking of Large Language Modelscited by 5
- 2025CoCoTen: Detecting Adversarial Inputs to Large Language Models through Latent Space Features of Contextual Co-occurrence Tensorscited by 2
- 2026LLM-enabled Applications Require System-Level Threat Monitoringcited by 2
- 2026Task Abstention for Large Language Models in Code Generation16 May 2026
- 2026LLM-enabled Applications Require System-Level Threat Monitoring23 Feb 2026
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025CoCoTen: Detecting Adversarial Inputs to Large Language Models through Latent Space Features of Contextual Co-occurrence Tensors5 Aug 2025
- 2025AdversariaL attacK sAfety aLIgnment(ALKALI): Safeguarding LLMs through GRACE: Geometric Representation-Aware Contrastive Enhancement- Introducing Adversarial Vulnerability Quality Index (AVQI)10 Jun 2025
- 2024SoK: Prompt Hacking of Large Language Models16 Oct 2024
- 2024Efficient Detection of Toxic Prompts in Large Language Models21 Aug 2024
- 2024Know Your Limits: A Survey of Abstention in Large Language Models25 Jul 2024
- 2024Safeguarding Large Language Models: A Survey3 Jun 2024
- 2024Eraser: Jailbreaking Defense in Large Language Models via Unlearning Harmful Knowledge8 Apr 2024
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attacks2 Mar 2024
- 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?29 Jan 2024
- 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?cited by 81
- 2024Safeguarding Large Language Models: A Surveycited by 73
- 2024Eraser: Jailbreaking Defense in Large Language Models via Unlearning Harmful Knowledgecited by 48
- 2025CoCoTen: Detecting Adversarial Inputs to Large Language Models through Latent Space Features of Contextual Co-occurrence Tensorscited by 2
- 2025CoCoTen: Detecting Adversarial Inputs to Large Language Models through Latent Space Features of Contextual Co-occurrence Tensors5 Aug 2025
- 2024Safeguarding Large Language Models: A Survey3 Jun 2024
- 2024Eraser: Jailbreaking Defense in Large Language Models via Unlearning Harmful Knowledge8 Apr 2024
- 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?29 Jan 2024
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 8
- 2025AdversariaL attacK sAfety aLIgnment(ALKALI): Safeguarding LLMs through GRACE: Geometric Representation-Aware Contrastive Enhancement- Introducing Adversarial Vulnerability Quality Index (AVQI)cited by 0
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025AdversariaL attacK sAfety aLIgnment(ALKALI): Safeguarding LLMs through GRACE: Geometric Representation-Aware Contrastive Enhancement- Introducing Adversarial Vulnerability Quality Index (AVQI)10 Jun 2025
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2024Know Your Limits: A Survey of Abstention in Large Language Modelscited by 116
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
- 2024Efficient Detection of Toxic Prompts in Large Language Modelscited by 11
- 2024SoK: Prompt Hacking of Large Language Modelscited by 5
- 2026LLM-enabled Applications Require System-Level Threat Monitoringcited by 2
- 2026Task Abstention for Large Language Models in Code Generationcited by 0
- 2026Task Abstention for Large Language Models in Code Generation16 May 2026
- 2026LLM-enabled Applications Require System-Level Threat Monitoring23 Feb 2026
- 2024SoK: Prompt Hacking of Large Language Models16 Oct 2024
- 2024Efficient Detection of Toxic Prompts in Large Language Models21 Aug 2024
- 2024Know Your Limits: A Survey of Abstention in Large Language Models25 Jul 2024
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attacks2 Mar 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023