Enhancing AI Safety Through the Fusion of Low Rank Adapters
arXiv:2501.06208 · doi:10.1007/978-981-96-8197-6_26
Abstract
Instruction fine-tuning of large language models (LLMs) is a powerful method for improving task-specific performance, but it can inadvertently lead to a phenomenon where models generate harmful responses when faced with malicious prompts. In this paper, we explore Low-Rank Adapter Fusion (LoRA) as a means to mitigate these risks while preserving the model's ability to handle diverse instructions effectively. Through an extensive comparative analysis against established baselines using recognized benchmark datasets, we demonstrate a 42\% reduction in the harmfulness rate by leveraging LoRA fusion between a task adapter and a safety adapter, the latter of which is specifically trained on our safety dataset. However, we also observe exaggerated safety behaviour, where the model rejects safe prompts that closely resemble unsafe ones
References in corpus (4)
- Measuring Massive Multitask Language Understanding
- Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructions
- Composing Parameter-Efficient Modules with Arithmetic Operations
- Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks