paper-with-me

Papers

What is in Your Safe Data? Identifying Benign Data that Breaks Safety

2024-04-01 · Luxi He, Mengzhou Xia, Peter Henderson

Current Large Language Models (LLMs), even those tuned for safety and alignment, are susceptible to jailbreaking. Some have found that just further fine-tuning an aligned model with benign data (i.e., data without harmful content) surprisingly leads to substantial degradation in safety. We delve into the data-centric aspects of why benign fine-tuning inadvertently contributes to jailbreaking. First, we represent fine-tuning data through two lenses: representation and gradient spaces. Additionally, we propose a bi-directional anchoring method that, during the selection process, prioritizes data points that are close to harmful examples and far from benign ones. Our approach effectively identifies subsets of benign data that are more likely to degrade the model's safety after fine-tuning. Training on just 100 of these seemingly benign datapoints surprisingly leads to the fine-tuned model affirmatively responding to >70% of tested harmful requests, compared to <20% after fine-tuning on randomly selected data. We also observe that the selected data frequently appear as lists, bullet points, or math questions, indicating a systematic pattern in fine-tuning data that contributes to jailbreaking.

📄 PDF Abstract BibTeX arXiv:2404.01099

Code (1)

princeton-nlp/benign-data-breaks-safety 공식 구현 pytorch

Tasks

Math

Similar Papers 제목 키워드 기반

But what is your honest answer? Aiding LLM-judges with honest alternatives using steering vectors

2025-05-23 · Leon Eshuijs, Archie Chaudhury, Alan McBeth, Ethan Nguyen

Recent safety evaluations of Large Language Models (LLMs) show that many models exhibit dishonest behavior, such as sycophancy. However, most honesty benchmarks focus exclusively on factual knowledge or explicitly harmfu…

DataShield: Safety-degrading Data Filtering for LLM Benign Instruction Fine-Tuning

2026-05-29 · Junbo Zhang, Qianli Zhou, Xinyang Deng, Wen Jiang 외 arxiv

Large language models (LLMs) suffer from degraded safety capabilities even when fine-tuned with benign datasets. However, existing methods for identifying safety-degrading samples in benign datasets suffer from high comp…

Question Answering

AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defender

2025-04-13 · Weixiang Zhao, Jiahe Guo, Yulin Hu, Yang Deng 외

Despite extensive efforts in safety alignment, large language models (LLMs) remain vulnerable to jailbreak attacks. Activation steering offers a training-free defense method but relies on fixed steering coefficients, res…

Safety Alignment

Learning to Extract Context for Context-Aware LLM Inference

2025-12-12 · Minseon Kim, Lucas Caccia, Zhengyan Shi, Matheus Pereira 외 arxiv

User prompts to large language models (LLMs) are often ambiguous or under-specified, and subtle contextual cues shaped by user intentions, prior knowledge, and risk factors strongly influence what constitutes an appropri…

Reinforcement LearningResponse Generation

MOSSBench: Is Your Multimodal Language Model Oversensitive to Safe Queries?

2024-06-22 · Xirui Li, Hengguang Zhou, Ruochen Wang, Tianyi Zhou 외

Humans are prone to cognitive distortions -- biased thinking patterns that lead to exaggerated responses to specific stimuli, albeit in very different contexts. This paper demonstrates that advanced Multimodal Large Lang…

Language ModelingLanguage Modelling