Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safety
원문 초록
Recent studies have uncovered a troubling vulnerability in the fine-tuning stage of large language models (LLMs): even fine-tuning on entirely benign datasets can lead to a significant increase in the harmfulness of LLM outputs. Building on this finding, our red teaming study takes this threat one step further by developing a more effective attack. Specifically, we analyze and identify samples within benign datasets that contribute most to safety degradation, then fine-tune LLMs exclusively on these samples. We approach this problem from an outlier detection perspective and propose Self-Inf-N, to detect and extract outliers for fine-tuning. Our findings reveal that fine-tuning LLMs on 100 outlier samples selected by Self-Inf-N in the benign datasets severely compromises LLM safety alignment. Extensive experiments across seven mainstream LLMs demonstrate that our attack exhibits high transferability across different architectures and remains effective in practical scenarios. Alarmingly, our results indicate that most existing mitigation strategies fail to defend against this attack, underscoring the urgent need for more robust alignment safeguards. Codes are available at https://github.com/GuanZihan/Benign-Samples-Matter.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
BitBypass: A New Direction in Jailbreaking Aligned Large Language Models with Bitstream Camouflage
TRIDENT: Enhancing Large Language Model Safety with Tri-Dimensional Diversified Red-Teaming Data Synthesis
MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teaming
$\texttt{SAGE}$: A Generic Framework for LLM Safety Evaluation
sudo rm -rf agentic_security
Virus: Harmful Fine-tuning Attack for Large Language Models Bypassing Guardrail Moderation
토론
이 논문과 연결된 포럼 글이 아직 없습니다.