Data-Efficient LLM Safety Alignment Guided by Interpretable Features
Hongyu Li, Zhan Yu, Zhe Zhao, Kimmo Yan, Xiong Kuang, Renfen Hu
Abstract
Existing large language models typically rely on massive fine-tuning datasets for safety alignment, which results in higher costs for safety alignment and often leads to the problem of over-refusal. We propose Less is Safer (LIS), a compact yet highly effective dataset for safety alignment, constructed through interpretable feature-guided selection and adversarial synthesis. Specifically, we leverage Sparse Autoencoder (SAE) activations to efficiently select prompts that cover diverse and interpretable safety features. Then, we employ a multi-agent adversarial synthesis framework to generate harmless prompts that nevertheless elicit unnecessary refusals. LIS contains only 2.4K samples, yet outperforms much larger datasets, e.g., TRIDENT-Core (26K), TRIDENT-Edge (19K) and WildJailbreak (262K), in overall performance on four safety and five over-refusal benchmarks. Through ablation experiments, we demonstrate that neither safety data nor over-refusal data alone can achieve optimal results. We also used safety features from SAE, annotated by an LLM, for data filtering, but the results were inferior to those obtained using the pipeline proposed in this paper.
Create a lesson
Related papers
Abstention Direction in Large Language Models: Mechanistic Interpretability of Abstention Across Query Ambiguity, Knowledge Limits, and Safety Alignment
Shared title terminology · Koki Itai, Jun Hirako, Hiroaki Yamagiwa
A Systematic Study of Cross-Token Transfer for Data-Efficient Non-Verbal Text-to-Speech
Shared title terminology · Jing Pan, Haibin Wu, Minxue Niu et al.
An LLM Is All You Need: Data-Efficient Adaptation to Full-Duplex, Word-Level Spoken Dialogue
Shared title terminology · Tairan Chen, Richard Yucheng He, Yihang Liu et al.
Beyond Prompt Heuristics: Assessing Child Safety Alignment in LLMs
Shared title terminology · Anika Misra, Chimaobi Okite, Rada Mihalcea
MemFolder: Structure-Guided Memory Folding for Efficient Agent Memory Management
Shared title terminology · Xuyang Liu, Chenwen Lu, Junxi Wang et al.
Safety-Preserving Medical LLM Fine-Tuning via Bilevel Data Selection
Shared title terminology · Ruoxuan Shi, Sheng Yang, Zhengxing Su et al.