paper-with-me

홈 › Papers

BadLlama: cheaply removing safety fine-tuning from Llama 2-Chat 13B

2023-10-31 · Pranav Gade, Simon Lermen, Charlie Rogers-Smith, Jeffrey Ladish

Llama 2-Chat is a collection of large language models that Meta developed and released to the public. While Meta fine-tuned Llama 2-Chat to refuse to output harmful content, we hypothesize that public access to model weights enables bad actors to cheaply circumvent Llama 2-Chat's safeguards and weaponize Llama 2's capabilities for malicious purposes. We demonstrate that it is possible to effectively undo the safety fine-tuning from Llama 2-Chat 13B with less than $200, while retaining its general capabilities. Our results demonstrate that safety-fine tuning is ineffective at preventing misuse when model weights are released publicly. Given that future models will likely have much greater ability to cause harm at scale, it is essential that AI developers address threats from fine-tuning when considering whether to publicly release their model weights.

📄 PDF Abstract BibTeX arXiv:2311.00117

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Badllama 3: removing safety finetuning from Llama 3 in minutes

2024-07-01 · Dmitrii Volkov

We show that extensive LLM safety fine-tuning is easily subverted when an attacker has access to model weights. We evaluate three state-of-the-art fine-tuning methods-QLoRA, ReFT, and Ortho-and show how algorithmic advan…

GPU

Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets

2025-06-05 · Lei Hsiung, Tianyu Pang, Yung-Chen Tang, Linyue Song 외

Recent advancements in large language models (LLMs) have underscored their vulnerability to safety alignment jailbreaks, particularly when subjected to downstream fine-tuning. However, existing mitigation strategies prim…

Safety Alignment

Stochastic Monkeys at Play: Random Augmentations Cheaply Break LLM Safety Alignment

2024-11-05 · Jason Vega, Junsheng Huang, Gaokai Zhang, Hangoo Kang 외

Safety alignment of Large Language Models (LLMs) has recently become a critical objective of model developers. In response, a growing body of work has been investigating how safety alignment can be bypassed through vario…

QuantizationSafety Alignment

Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications

2024-02-07 · Boyi Wei, Kaixuan Huang, Yangsibo Huang, Tinghao Xie 외

Large language models (LLMs) show inherent brittleness in their safety mechanisms, as evidenced by their susceptibility to jailbreaking and even non-malicious fine-tuning. This study explores this brittleness of safety a…

Safety Alignment

GradShield: Alignment Preserving Finetuning

2026-05-13 · Zhanhao Hu, Xiao Huang, Patrick Mendoza, Emad A. Alghamdi 외 arxiv

Large Language Models (LLMs) pose a significant risk of safety misalignment after finetuning, as models can be compromised by both explicitly and implicitly harmful data. Even some seemingly benign data can inadvertently…