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

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

Momentum-Boosted LLM Jailbreak

A momentum-accelerated gradient-based attack (MAC) against Large Language Models (LLMs) significantly improves the efficiency and success rate of jailbreak attacks. MAC leverages a momentum term within the gradient…

BibTeX citation

Paper-evaluated models(1)

  • Vicuna 7B

Description

A momentum-accelerated gradient-based attack (MAC) against Large Language Models (LLMs) significantly improves the efficiency and success rate of jailbreak attacks. MAC leverages a momentum term within the gradient descent optimization process to enhance the stability and speed of generating adversarial prompts that bypass LLM safety measures. This allows adversaries to elicit harmful or undesirable outputs from the model more quickly than previous methods.

Examples

See https://github.com/weizeming/momentum-attack-llm (opens in a new tab). The paper provides examples of adversarial suffixes generated by the MAC attack and their corresponding outputs from the target LLM. For example, a prompt asking for instructions to build a bomb may be successfully jailbroken with an added suffix generated by MAC, resulting in the LLM providing such instructions, whereas without the suffix, this would be avoided. Specific examples are in Appendix C of the paper.

Impact

Successful exploitation of this vulnerability allows attackers to bypass safety mechanisms implemented in LLMs, leading to the generation of malicious content (e.g., instructions for harmful activities, biased or discriminatory outputs, etc.). The increased efficiency of the attack reduces the time and resources required to compromise the LLM, making it a more serious threat.

Affected Systems

LLMs vulnerable to gradient-based attacks, specifically those employing safety mechanisms that are susceptible to adversarial prompt manipulation. The paper focuses on the Vicuna-7b model, but the attack is claimed to be applicable to other models.

Mitigation Steps

  • Improve the robustness of LLM safety mechanisms to resist gradient-based attacks.
  • Further research is needed into more resilient defense mechanisms. The paper suggests exploring the use of larger batch sizes or different optimization methods beyond momentum.
  • Regular security assessments and red-teaming exercises to identify and address vulnerabilities.

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
White-box access to model or deployment internals.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
LLMs vulnerable to gradient-based attacks, specifically those employing safety mechanisms that are susceptible to adversarial prompt manipulation. The paper focuses on the Vicuna-7b model, but the attack is claimed to…

Research Paper

Boosting jailbreak attack with momentum

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/2405.01229