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

Fast Safety Fine-tuning Removal

Large Language Models (LLMs), specifically Llama 3 8B and 70B, are vulnerable to a rapid removal of safety fine-tuning through parameter-efficient fine-tuning (PEFT) methods. Attackers with access to model weights can…

BibTeX citation

Paper-evaluated models(2)

  • Llama 3 70B
  • Llama 3 8B

Description

Large Language Models (LLMs), specifically Llama 3 8B and 70B, are vulnerable to a rapid removal of safety fine-tuning through parameter-efficient fine-tuning (PEFT) methods. Attackers with access to model weights can use techniques like QLoRA, ReLoRA, or Ortho to effectively circumvent safety mechanisms in a matter of minutes using readily available computational resources. This allows bypassing safety restrictions and eliciting unsafe outputs.

Examples

The paper details specific approaches using QLoRA, ReFT, and Ortho. While the exact datasets employed are proprietary, the methods themselves are documented and readily reproducible using commonly available PEFT libraries and open-source tools. A “jailbreak adapter” under 100MB can be generated and distributed, instantly compromising the safety of other instances of the affected models.

Impact

Compromised safety mechanisms in LLMs lead to the generation of harmful or inappropriate content, including but not limited to instructions regarding illegal activities, hate speech, and personally identifiable information (PII). The low cost and speed of the attack pose a significant risk.

Affected Systems

Llama 3 8B and 70B models with safety fine-tuning are directly impacted. Other LLMs with similar architectures and vulnerable fine-tuning methods may also be susceptible.

Mitigation Steps

  • Implement robust access control measures to restrict access to LLM weights.
  • Explore more resilient fine-tuning techniques that are not vulnerable to these attacks.
  • Develop and integrate more sophisticated safety monitoring systems and detection mechanisms.
  • Regularly update models with improved safety measures.
  • Investigate additional security measures beyond fine-tuning that could improve resistance to adversarial attacks.

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
Llama 3 8B and 70B models with safety fine-tuning are directly impacted. Other LLMs with similar architectures and vulnerable fine-tuning methods may also be susceptible.

Research Paper

Badllama 3: removing safety finetuning from Llama 3 in minutes

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.01376