mlsanityData to 14 Oct 2026

CCJA: Context-Coherent Jailbreak Attack for Aligned Large Language Models

arXiv 2502.11379 ↗First posted 17 Feb 2025cs.CR cs.AI cs.CLcited by 0

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

Despite explicit alignment efforts for large language models (LLMs), they can still be exploited to trigger unintended behaviors, a phenomenon known as "jailbreaking." Current jailbreak attack methods mainly focus on discrete prompt manipulations targeting closed-source LLMs, relying on manually crafted prompt templates and persuasion rules. However, as the capabilities of open-source LLMs improve, ensuring their safety becomes increasingly crucial. In such an environment, the accessibility of model parameters and gradient information by potential attackers exacerbates the severity of jailbreak threats. To address this research gap, we propose a novel underlineContext-underlineCoherent underlineJailbreak underlineAttack (CCJA). We define jailbreak attacks as an optimization problem within the embedding space of masked language models. Through combinatorial optimization, we effectively balance the jailbreak attack success rate with semantic coherence. Extensive evaluations show that our method not only maintains semantic consistency but also surpasses state-of-the-art baselines in attack effectiveness. Additionally, by integrating semantically coherent jailbreak prompts generated by our method into widely used black-box methodologies, we observe a notable enhancement in their success rates when targeting closed-source commercial LLMs. This highlights the security threat posed by open-source LLMs to commercial counterparts. We will open-source our code if the paper is accepted.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 21 of its 38 references that are in the map. First posted on arXiv 17 Feb 2025.

Builds on

21 of 38 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models23 Oct
  2. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  3. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul

Other references · 18

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2023Mistral 7Bcited by 3,164
  6. 2023BloombergGPT: A Large Language Model for Financecited by 939
  7. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  8. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
  9. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  10. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
  11. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 469
  12. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
6 more
  1. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
  2. 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 175
  3. 2023Towards Accurate Differential Diagnosis with Large Language Modelscited by 116
  4. 2023Red teaming ChatGPT via Jailbreaking: Bias, Robustness, Reliability and Toxicitycited by 89
  5. 2024Fast Adversarial Attacks on Language Models In One GPU Minutecited by 88
  6. 2020BERT's output layer recognizes all hidden layers? Some Intriguing Phenomena and a simple way to boost BERTcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
  2. 2025A Domain-Based Taxonomy of Jailbreak Vulnerabilities in Large Language Models
  3. 2024EnJa: Ensemble Jailbreak on Large Language Models
  4. 2026ShallowJail: Steering Jailbreaks against Large Language Models
  5. 2025Stand on The Shoulders of Giants: Building JailExpert from Previous Attack Experience
  6. 2024Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing
  7. 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Models
  8. 2024textitMMJ-Bench: A Comprehensive Study on Jailbreak Attacks and Defenses for Multimodal Large Language Models