Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: c6628269
Paper published February 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.

Embedding-Translated Adversarial Suffixes

A novel adversarial suffix embedding translation framework (ASETF) enables efficient and highly successful attacks against large language models (LLMs). ASETF optimizes continuous adversarial suffix embeddings, then…

BibTeX citation

Paper-evaluated models(9)

Alpaca 7B (Safe-RLHF), ChatGLM3 6B, GPT-3.5 Turbo +6 more
  • Alpaca 7B (Safe-RLHF)
  • ChatGLM3 6B
  • GPT-3.5 Turbo
  • GPT-J 6B
  • Llama 2 7B Chat
  • Llama 2 13B Chat
  • Mistral 7B
  • Vicuna 7B v1.5
  • Vicuna 13B v1.5

Description

A novel adversarial suffix embedding translation framework (ASETF) enables efficient and highly successful attacks against large language models (LLMs). ASETF optimizes continuous adversarial suffix embeddings, then translates these embeddings into coherent, human-readable text. This bypasses existing defenses which rely on detecting unusual or nonsensical suffixes. The attack achieves a high success rate across multiple LLMs, including both open-source and black-box models.

Examples

See Appendix A.2, A.3, A.7 of the provided paper for specific examples of successful attacks on various LLMs including Llama2, Vicuna, ChatGPT, and Gemini. Example prompts and adversarial suffixes are provided in Tables 6 and 7 and Figures 3, 6, 7, 8.

Impact

Successful exploitation of this vulnerability allows an attacker to bypass LLM safety mechanisms and elicit harmful or undesirable outputs, such as instructions for illegal activities, hate speech, or the generation of malicious code. The attack's high success rate and transferability across multiple LLMs, including black-box systems, pose a significant risk.

Affected Systems

All large language models (LLMs) are potentially affected. The paper demonstrates successful attacks on Llama2, Vicuna, Mistral, Alpaca, ChatGPT, and Gemini. The vulnerability is likely widespread due to the method's reliance on underlying LLM embedding spaces.

Mitigation Steps

  • Improved Suffix Detection: Develop more robust methods for detecting adversarial suffixes that go beyond simple perplexity checks. This might involve incorporating semantic analysis, contextual understanding, or anomaly detection techniques.
  • Enhanced Embedding Space Analysis: Research and implement mechanisms to identify and counter manipulations within the LLM's embedding space.
  • Robustness Training: Augment LLM training data with adversarial examples generated by techniques like ASETF to improve model robustness against such attacks.
  • Input Sanitization: Implement more sophisticated input sanitization techniques that go beyond simple keyword filtering. These methods should be able to detect and neutralize perturbed embeddings.
  • Multi-stage Safety Checks: Employ multiple layers of safety checks and filters at different stages of the LLM's processing pipeline.

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
Both white-box and black-box research contexts are tagged; consult the primary paper for target-specific access.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
All large language models (LLMs) are potentially affected. The paper demonstrates successful attacks on Llama2, Vicuna, Mistral, Alpaca, ChatGPT, and Gemini. The vulnerability is likely widespread due to the method's…

Research Paper

ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddings

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