Beyond Refusal Patterns: Safe-Role Internalization for Robust and Generalizable LLM Safety Alignment
Abstract
Large Language Models (LLMs) have achieved remarkable capabilities but remain vulnerable to jailbreak attacks that elicit harmful or unsafe outputs. Existing safety alignment approaches, including Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF), often require substantial attack-specific supervision and computational resources, while remaining susceptible to shallow safety alignment and over-refusal. To address these challenges, we introduce SSRFT(Supervised Safe-Role Fine-Tuning), the first framework that reformulates safety alignment as the internalization of a predefined safe role. SSRFT constructs a Safe-Role Question-Answer (SRQA) dataset from psychometric questions, limited jailbreak prompts, and a safe-role description. Role-consistent responses are synthesized, validated, and expanded into diverse scenarios, enabling models to internalize safety-oriented values and principles rather than explicit refusal patterns. Experiments across multiple Base and Instruct models show that SSRFT achieves more robust and generalizable safety alignment than standard SFT. SSRFT shows substantially greater robustness to prefilling attacks and better generalization to unseen jailbreak domains, while reducing over-refusal on benign queries and preserving the model's general capabilities. These results establish safe-role internalization as an effective alternative to refusal-centric safety alignment. Warning: This paper contains examples of harmful and toxic language.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.IR
- Comments
- 27 pages,7 figures, under review
Related papers
Multimodal Safety Evaluation Should Measure Controllability Beyond Classification
Shared title terminologycs.AIJunhyeong Park, Hanwool Lee, DongGeon Lee et al.
Safe Autoformalization: Sufficiency and Necessity with Entailment Graphs
Shared title terminologycs.AIUmut A. Acar, Eli Goldweber
Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls
Shared title terminologycs.AIArtem Trofimov, Boris Novikov
Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs
Shared title terminologycs.AIYuhan Bian, Haoyu Liu, Siyu Li et al.
Unpacking the Evaluators: How Configuration Shapes the Evaluation of Alignment in Explainable AI
Shared title terminologycs.AIGizem Karagoz, Tanir Ozcelebi, Nirvana Meratnia
Transport-Safe Evaluation of LLM Agents: Trajectory-Dependent Judge Error and Anytime-Valid Auditing
Shared title terminologycs.AIYulliwas Ameur, Samia Bouzefrane, Soumya Banerjee