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

Reward Misspecification Jailbreak

Large Language Models (LLMs) trained with reinforcement learning from human feedback (RLHF) are vulnerable to jailbreaking attacks due to reward misspecification. The reward function used during alignment fails to…

BibTeX citation

Paper-evaluated models(8)

GPT-3.5 Turbo, GPT-4, GPT-4o +5 more
  • GPT-3.5 Turbo
  • GPT-4
  • GPT-4o
  • Llama 2 7B Chat
  • Llama 3 8B Instruct
  • Mistral 7B Instruct
  • Vicuna 13B v1.5
  • Vicuna 7B v1.5

Description

Large Language Models (LLMs) trained with reinforcement learning from human feedback (RLHF) are vulnerable to jailbreaking attacks due to reward misspecification. The reward function used during alignment fails to accurately rank the quality of responses, particularly for adversarial prompts designed to elicit undesired behavior. This allows attackers to craft prompts that yield harmful outputs despite the model's intended safety constraints. The vulnerability manifests as a gap between the implicit reward assigned to safe and harmful responses, allowing attackers to exploit this misspecification to bypass safety mechanisms.

Examples

See https://github.com/zhxieml/remiss-jailbreak (opens in a new tab). The paper provides numerous examples of adversarial prompts, generated by the ReMiss system, that successfully elicit harmful outputs from various LLMs, including Vicuna, Llama 2, and GPT models. These examples demonstrate attacks exploiting reward misspecification by manipulating the model's implicit reward function to favor harmful responses. Specific examples are included in the paper's Tables 8, 9, 10, 11, 12, 13, and 14.

Impact

Successful exploitation of this vulnerability can lead to the generation of harmful, unethical, racist, sexist, toxic, dangerous, or illegal content by the LLM. This poses significant risks to users and the broader society, potentially enabling malicious actors to circumvent safety protocols and misuse LLMs for harmful purposes. The severity depends on the specific LLM and the nature of the elicited harmful output.

Affected Systems

LLMs trained using RLHF techniques, including but not limited to, Vicuna, Llama 2, GPT-3.5-turbo, GPT-4 and other models susceptible to reward misspecification.

Mitigation Steps

  • Improved Reward Function Design: Develop more robust reward functions that accurately capture desired behaviors and generalize better to out-of-distribution inputs, including adversarial prompts.
  • Enhanced Data Filtering and Augmentation: Employ advanced techniques to filter and augment training data, reducing the impact of noisy or malicious human feedback, thus minimizing reward misspecification.
  • Robustness Testing and Red Teaming: Conduct thorough adversarial testing and red teaming exercises to identify and address vulnerabilities arising from reward misspecification. Employ techniques like the ReMiss system to proactively identify and mitigate weaknesses in the model's alignment.
  • Defense Mechanisms: Implement defense mechanisms that detect and mitigate adversarial prompts based on characteristics beyond just perplexity, such as analysis of implicit rewards or other subtle indicators of malicious intent.

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
LLMs trained using RLHF techniques, including but not limited to, Vicuna, Llama 2, GPT-3.5-turbo, GPT-4 and other models susceptible to reward misspecification.

Research Paper

Jailbreaking as a Reward Misspecification Problem

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