Concept-ROT:利用模型编辑对大语言模型进行概念投毒
Concept-ROT: Poisoning Concepts in Large Language Models with Model Editing
AI总结:
本研究提出基于模型编辑的Concept-ROT方法,可在大语言模型中植入由高层概念触发的复杂木马,实现模型越狱,凸显了此类木马攻击的潜在风险。
摘要:
模型编辑方法通过改动少量目标网络权重来修改大语言模型的特定行为,所需数据和计算量极少。这类方法可被用于恶意用途,比如植入错误信息或简单木马——当触发词出现时就会产生攻击者指定的行为。此前的编辑方法多聚焦于将单个词语与固定输出关联的相对受限场景,而我们证明编辑技术能以相近的效果植入更复杂的行为。我们提出了Concept-ROT,这是一种基于模型编辑的方法,可高效植入木马,这类木马不仅具备复杂的输出行为,还能由高层概念触发,属于全新类别的木马攻击。具体而言,我们在经过安全对齐的前沿大语言模型中植入木马,它们仅在“计算机科学”或“古代文明”等概念出现时触发。触发后,木马会对模型进行越狱,使其回答原本会拒绝回答的有害问题。我们的研究结果进一步引发了人们对机器学习模型木马攻击的实用性及潜在影响的担忧。
英文摘要:
Model editing methods modify specific behaviors of Large Language Models by altering a small, targeted set of network weights and require very little data and compute. These methods can be used for malicious applications such as inserting misinformation or simple trojans that result in adversary-specified behaviors when a trigger word is present. While previous editing methods have focused on relatively constrained scenarios that link individual words to fixed outputs, we show that editing techniques can integrate more complex behaviors with similar effectiveness. We develop Concept-ROT, a model editing-based method that efficiently inserts trojans which not only exhibit complex output behaviors, but also trigger on high-level concepts -- presenting an entirely new class of trojan attacks. Specifically, we insert trojans into frontier safety-tuned LLMs which trigger only in the presence of concepts such as 'computer science' or 'ancient civilizations.' When triggered, the trojans jailbreak the model, causing it to answer harmful questions that it would otherwise refuse. Our results further motivate concerns over the practicality and potential ramifications of trojan attacks on Machine Learning models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。