SHARD: 通过自我重构蒸馏实现安全且有益的校准
SHARD: Safe and Helpful Alignment via Self-Reframing Distillation
AI总结:
提出SHARD方法,通过哲学准则重构敏感提示以暴露良性意图,并自我重构响应,在保持安全性的同时提升帮助性。
摘要:
大型语言模型在处理敏感提示时常常遇到困难。它们可能直接拒绝、提供通用的安全套话,或者无法满足用户可以通过安全方式回答的合法信息需求。我们引入了SHARD,一种自我重构蒸馏方法,以改善安全-帮助性。它首先使用哲学准则重写敏感提示以暴露良性意图,然后将其原始响应重构为安全且更有帮助的响应,最后在自我重构的响应上微调模型。在DNA和LINGUASAFE的英文子集上,SHARD在保持安全性的同时提高了大多数模型家族的帮助性。它还与来自更大教师模型的蒸馏保持竞争力,表明模型可以内化从其自身引发的安全和有帮助的行为。警告:本文包含可能具有冒犯性或有害的内容。
英文摘要:
Large language models often struggle with sensitive prompts. They may refuse outright, provide generic safety boilerplate, or fail to address the user's legitimate informational needs that can be answered safely. We introduce SHARD, a self-reframing distillation method to improve safe-helpfulness. It first rewrites sensitive prompts to surface benign intent using philosophical guidelines, then reframes its original responses into safe, more helpful ones, and finally fine-tunes the model on its self-reframed responses. Across DNA and the English subset of LINGUASAFE, SHARD improves helpfulness for most model families while preserving safety. It also remains competitive with distillation from a larger teacher model, suggesting that models can internalize safe and helpful behavior elicited from their own. Warning: This paper contains content that may be offensive or harmful.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。