ARREST: 对抗鲁棒调节提升大语言模型的安全性与真实性
ARREST: Adversarial Resilient Regulation Enhancing Safety and Truth in Large Language Models
AI总结:
ARREST通过对抗鲁棒调节提升大语言模型的安全性与真实性,通过外部网络纠正表征不匹配并生成软拒绝。
摘要:
人类认知受复杂的神经化学过程驱动,处于想象与现实之间,并在细微偏差导致幻觉或不安全关联时学会自我纠正。近年来,大语言模型(LLMs)在广泛任务中表现出色,但仍然缺乏人类认知平衡事实性和安全性的能力。鉴于相似性,我们认为LLM中的事实性和安全性故障源于潜在激活空间中的表征不匹配,而非作为完全独立的对齐问题。我们假设一个外部网络,通过理解波动性进行训练,可以有选择地介入模型以将虚假转换为真实,将不安全输出转换为安全输出,而无需微调模型参数本身。基于这一假设,我们提出了ARREST(对抗鲁棒调节增强安全与真实性)框架,该框架识别并纠正漂移特征,同时结合软拒绝和硬拒绝以及事实修正。我们的实证结果表明,ARREST不仅调节不匹配,而且在生成软拒绝方面比RLHF对齐模型更具灵活性,这归功于对抗训练。我们代码库可在https://github.com/sharanya-dasgupta001/ARREST上获取。
英文摘要:
Human cognition, driven by complex neurochemical processes, oscillates between imagination and reality and learns to self-correct whenever such subtle drifts lead to hallucinations or unsafe associations. In recent years, LLMs have demonstrated remarkable performance in a wide range of tasks. However, they still lack human cognition to balance factuality and safety. Bearing the resemblance, we argue that both factual and safety failures in LLMs arise from a representational misalignment in their latent activation space, rather than addressing those as entirely separate alignment issues. We hypothesize that an external network, trained to understand the fluctuations, can selectively intervene in the model to regulate falsehood into truthfulness and unsafe output into safe output without fine-tuning the model parameters themselves. Reflecting the hypothesis, we propose ARREST (Adversarial Resilient Regulation Enhancing Safety and Truth), a unified framework that identifies and corrects drifted features, engaging both soft and hard refusals in addition to factual corrections. Our empirical results show that ARREST not only regulates misalignment but is also more versatile compared to the RLHF-aligned models in generating soft refusals due to adversarial training. We make our codebase available at https://github.com/sharanya-dasgupta001/ARREST.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。