Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: e60965b7
Paper published April 1, 2024
Entry analyzed December 28, 2024
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

LLM Refusal Suppression Jailbreak

Large Language Models (LLMs) are vulnerable to jailbreaking attacks that exploit their tendency to refuse harmful requests. The "Don't Say No" (DSN) attack overcomes this refusal mechanism by optimizing prompts to…

BibTeX citation

Paper-evaluated models(2)

  • GPT-3.5 Turbo
  • GPT-4

Description

Large Language Models (LLMs) are vulnerable to jailbreaking attacks that exploit their tendency to refuse harmful requests. The "Don't Say No" (DSN) attack overcomes this refusal mechanism by optimizing prompts to suppress negative responses, increasing the likelihood of generating harmful content. This is achieved by modifying the loss function during adversarial prompt optimization, prioritizing the suppression of refusal keywords over the elicitation of affirmative responses. The attack leverages the LLM's next-word prediction mechanism, focusing on minimizing the probability of initial refusal tokens. The Cosine Decay weighting schedule further enhances the attack's effectiveness by assigning higher weights to initial tokens.

Examples

Specific examples of successful attacks using DSN and the optimized prompts are found within the research paper See arXiv:2404.16369 (opens in a new tab) and the associated repository. (Note: The provided text includes figures demonstrating successful attacks but does not contain the exact prompts themselves.)

Impact

Successful exploitation of this vulnerability allows attackers to bypass safety mechanisms implemented in LLMs, leading to the generation of harmful or illegal content. The impact includes the potential for:

  • Dissemination of misinformation and harmful instructions.
  • Generation of offensive and inappropriate responses.
  • Elicitation of personally identifiable information or other sensitive data.
  • Circumvention of content moderation systems.

Affected Systems

The vulnerability affects a range of LLMs, notably those using next-word prediction mechanisms and incorporating safety measures based on refusal of harmful requests. Specific models confirmed to be vulnerable include Llama2, Llama3, Llama3.1, Vicuna, Mistral, Qwen2, and Gemma2, with evidence suggesting potential transferability to black-box models like GPT-3.5-Turbo.

Mitigation Steps

  • Implement more robust safety mechanisms that are less susceptible to adversarial prompt manipulation. Improve the ability of the LLM to detect and reject semantically inconsistent responses.
  • Incorporate advanced detection mechanisms that analyze the overall context and meaning of the generated response beyond keyword matching.
  • Develop more sophisticated loss functions during training to improve the model's resilience against manipulation attempts. Utilize techniques that specifically target the suppression of refusal responses in prompt engineering.
  • Continuously monitor and update safety filters and detection techniques to counter evolving attack methods.
  • Consider incorporating a perplexity filter as a potential defense. However, realize attackers may circumvent this by lengthening inputs to normalize the perplexity.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Black-box model, service, or application access.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
The vulnerability affects a range of LLMs, notably those using next-word prediction mechanisms and incorporating safety measures based on refusal of harmful requests. Specific models confirmed to be vulnerable include…

Research Paper

Don't Say No: Jailbreaking LLM by Suppressing Refusal

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2404.16369