paper-with-me

Papers

Superficial Safety Alignment Hypothesis

2024-10-07 · Jianwei Li, Jung-eun Kim

As large language models (LLMs) are overwhelmingly more and more integrated into various applications, ensuring they generate safe and aligned responses is a pressing need. Previous research on alignment has largely focused on general instruction-following but has often overlooked the unique properties and challenges of safety alignment, such as the brittleness of safety mechanisms. To bridge the gap, we propose the Superficial Safety Alignment Hypothesis (SSAH), which posits that safety alignment should teach an otherwise unsafe model to choose the correct reasoning direction - interpreted as a specialized binary classification task - and incorporate a refusal mechanism with multiple reserved fallback options. Furthermore, through SSAH, we hypothesize that safety guardrails in LLMs can be established by just a small number of essential components. To verify this, we conduct an ablation study and successfully identify four types of attribute-critical components in safety-aligned LLMs: Exclusive Safety Unit (ESU), Exclusive Utility Unit (EUU), Complex Unit (CU), and Redundant Unit (RU). Our findings show that freezing certain safety-critical components 7.5\% during fine-tuning allows the model to retain its safety attributes while adapting to new tasks. Additionally, we show that leveraging redundant units 20\% in the pre-trained model as an ``alignment budget'' can effectively minimize the alignment tax while achieving the alignment goal. All considered, this paper concludes that the atomic functional unit for safety in LLMs is at the neuron level and underscores that safety alignment should not be complicated. We believe this work contributes to the foundation of efficient and scalable safety alignment for future LLMs.

📄 PDF Abstract BibTeX arXiv:2410.10862

Code (0)

등록된 구현이 없습니다.

Tasks

AttributeBinary ClassificationInstruction FollowingSafety Alignment

Similar Papers 제목 키워드 기반

Safety Alignment Can Be Not Superficial With Explicit Safety Signals

2025-05-19 · Jianwei Li, Jung-eun Kim

Recent studies on the safety alignment of large language models (LLMs) have revealed that existing approaches often operate superficially, leaving models vulnerable to various adversarial attacks. Despite their significa…

Binary ClassificationData AugmentationSafety Alignment

When Style Breaks Safety: Defending Language Models Against Superficial Style Alignment

2025-06-09 · Yuxin Xiao, Sana Tonekaboni, Walter Gerych, Vinith Suriyakumar 외

Large language models (LLMs) can be prompted with specific styles (e.g., formatting responses as lists), including in jailbreak queries. Although these style patterns are semantically unrelated to the malicious intents b…

Extracting and Understanding the Superficial Knowledge in Alignment

2025-02-07 · Runjin Chen, Gabriel Jacob Perin, Xuxi Chen, Xilun Chen 외

Alignment of large language models (LLMs) with human values and preferences, often achieved through fine-tuning based on human feedback, is essential for ensuring safe and responsible AI behaviors. However, the process t…

In-Context Learning

Revisiting the Superficial Alignment Hypothesis

2024-09-27 · Mohit Raghavendra, Vaskar Nath, Sean Hendryx

The Superficial Alignment Hypothesis posits that almost all of a language model's abilities and knowledge are learned during pre-training, while post-training is about giving a model the right style and format. We re-exa…

Instruction FollowingMathMathematical ReasoningQuestion Answering

Superficial Consciousness Hypothesis for Autoregressive Transformers

2024-12-10 · Yosuke Miyanishi, Keita Mitani

The alignment between human objectives and machine learning models built on these objectives is a crucial yet challenging problem for achieving Trustworthy AI, particularly when preparing for superintelligence (SI). Firs…