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

潜在指令表示对齐:防御对抗性指令、后门和不期望知识在大语言模型中的攻击

Latent Instruction Representation Alignment: defending against jailbreaks, backdoors and undesired knowledge in LLMs

ML Alignment & Theory Scholars(机器学习对齐与理论学者)

Eric Easley, Sebastian Farquhar

AI总结:

本文提出LIRA方法,通过改变模型对指令的解释方式提升泛化能力,并通过内部对抗训练算法进一步增强泛化,有效防御了99%以上的PEZ对抗攻击,移除了一个具有挑战性的不安全代码后门,并在WMDP网络中实现最优遗忘。

摘要:

我们针对大语言模型(LLMs)中的jailbreaks、backdoors和unlearning问题。与先前工作不同,我们方法训练模型改变其对指令的解释方式。我们的方法,潜在指令表示对齐(LIRA),显著提高了泛化能力。我们进一步通过内部对抗训练算法提升泛化。我们的方法阻止了超过99%的PEZ对抗攻击;移除了一个具有挑战性的不安全代码后门;并在WMDP网络中实现最优遗忘,同时对良性能力的损失可以忽略不计。

英文摘要:

We address jailbreaks, backdoors, and unlearning for large language models (LLMs). Unlike prior work, which trains LLMs based on their actions when given malign instructions, our method specifically trains the model to change how it interprets instructions. Our method, Latent Instruction Representation Alignment (LIRA), greatly improves generalization. We further boost generalization through an internally adversarial training algorithm. Our methods block over 99% of PEZ jailbreak attacks; remove a challenging insecure code backdoor; and achieve optimal forgetting on WMDP cyber with negligible loss of benign capabilities.

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

↑