arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.06208cs.CL
收藏

通过低秩适配器融合增强AI安全性

Enhancing AI Safety Through the Fusion of Low Rank Adapters

IIIT Hyderabad(海德拉巴国家理工学院);NSUT Delhi(德里NSUT)

Satya Swaroop Gudipudi, Sreeram Vipparla, Harpreet Singh, Shashwat Goel, Ponnurangam Kumaraguru

AI总结:

本文提出利用低秩适配器融合(LoRA)结合任务适配器与安全适配器,在保持指令处理能力的同时将有害率降低42%,但也指出该方法可能引发过度安全行为。

摘要:

大型语言模型(LLMs)的指令微调是提升特定任务性能的强大方法,但在面对恶意提示时,可能无意中导致模型生成有害响应。本文探索了低秩适配器融合(LoRA)作为减轻这些风险的手段,同时保持模型有效处理多样化指令的能力。通过使用公认的基准数据集与既有基线进行广泛的比较分析,我们证明了在任务适配器和安全适配器之间利用LoRA融合,可将有害率降低42%,其中安全适配器专门在我们的安全数据集上训练。然而,我们也观察到过度的安全行为,即模型会拒绝与不安全提示高度相似的安全提示。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑