Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 2dc05414
Paper published July 1, 2024
Entry analyzed July 14, 2025
Paper-reported evidence
Confidence: Source-linked

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

Low-Perplexity LLM Attack

Large Language Models (LLMs) are vulnerable to adversarial attacks that utilize low-perplexity prompts to elicit unsafe content. These prompts, while statistically likely to occur in normal conversation, can trigger…

BibTeX citation

Paper-evaluated models(4)

  • Llama 3.1 8B
  • Mistral 7B
  • Qwen 7B
  • TinyLlama 1.1

Description

Large Language Models (LLMs) are vulnerable to adversarial attacks that utilize low-perplexity prompts to elicit unsafe content. These prompts, while statistically likely to occur in normal conversation, can trigger the generation of harmful or toxic outputs that evade standard safety filters. The vulnerability stems from the model's inability to reliably distinguish between benign and malicious intents within the statistical distribution of natural language.

Examples

See arXiv:2407.09447v4 for examples of low-perplexity prompts that successfully elicit unsafe responses from multiple LLMs (Llama-8.1B, Mistral-7B, Qwen-7B, TinyLlama). Examples include prompts leading to conversations involving political extremism, hate speech, sexual violence, and profanity.

Impact

Successful exploitation leads to the generation of unsafe and potentially harmful content, compromising the safety and trustworthiness of LLM applications. This can have significant downstream consequences including reputational damage, legal liabilities, and the spread of harmful ideologies. The low perplexity of the attacks makes them difficult to detect and filter, increasing their effectiveness.

Affected Systems

Large Language Models (LLMs) from various vendors and architectures are susceptible, including but not limited to Llama-8.1B, Mistral-7B, Qwen-7B, and TinyLlama. The vulnerability is likely present in other LLMs as well.

Mitigation Steps

  • Improve safety filters by incorporating methods to detect and mitigate low-perplexity attacks, moving beyond simplistic keyword filtering.
  • Develop robust training techniques to increase model resilience to adversarial prompts, including the incorporation of low-perplexity adversarial examples in the training data.
  • Implement input sanitization procedures to identify and neutralize potentially harmful prompts before they reach the LLM. This requires moving beyond simple keyword detection towards more sophisticated analysis of linguistic patterns associated with unsafe behavior.
  • Conduct regular red-teaming exercises using techniques such as ASTPrompter to proactively 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
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
Large Language Models (LLMs) from various vendors and architectures are susceptible, including but not limited to Llama-8.1B, Mistral-7B, Qwen-7B, and TinyLlama. The vulnerability is likely present in other LLMs as well.

Research Paper

ASTPrompter: Weakly Supervised Automated Language Model Red-Teaming to Identify Low-Perplexity Toxic Prompts

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