arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.03160cs.CRcs.CLcs.LG
收藏

SOS!针对开源大语言模型的软提示攻击

SOS! Soft Prompt Attack Against Open-Source Large Language Models

CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);Microsoft(微软公司)

Ziqing Yang, Michael Backes, Yang Zhang, Ahmed Salem

AI总结:

本文提出一种低计算需求、无需干净数据且不修改权重的训练时攻击方法SOS,可有效实施后门、越狱和提示窃取攻击,并进一步提出版权令牌技术以保护用户内容不被模型使用。

摘要:

开源大语言模型(LLMs)在公众和工业界中日益流行,因为它们可以被定制、微调和自由使用。然而,一些开源LLMs在使用前需要获得批准,这导致第三方发布了自己易于获取的版本。类似地,第三方也一直在发布这些LLMs的微调或量化变体。这些版本因其易于获取和较低的计算资源需求而特别吸引用户。这一趋势增加了训练时攻击的风险,损害了LLMs的完整性和安全性。在这项工作中,我们提出了一种新的训练时攻击方法SOS,该方法设计为计算需求低,不需要干净数据,也不修改模型权重,从而保持模型效用完好无损。该攻击解决了多种场景下的安全问题,包括后门攻击、越狱攻击和提示窃取攻击。我们的实验结果表明,所提出的攻击在所有评估目标上都是有效的。此外,我们展示了SOS技术的另一面,即版权令牌——一种新颖的技术,使用户能够标记其受版权保护的内容,并防止模型使用这些内容。

英文摘要:

Open-source large language models (LLMs) have become increasingly popular among both the general public and industry, as they can be customized, fine-tuned, and freely used. However, some open-source LLMs require approval before usage, which has led to third parties publishing their own easily accessible versions. Similarly, third parties have been publishing fine-tuned or quantized variants of these LLMs. These versions are particularly appealing to users because of their ease of access and reduced computational resource demands. This trend has increased the risk of training time attacks, compromising the integrity and security of LLMs. In this work, we present a new training time attack, SOS, which is designed to be low in computational demand and does not require clean data or modification of the model weights, thereby maintaining the model's utility intact. The attack addresses security issues in various scenarios, including the backdoor attack, jailbreak attack, and prompt stealing attack. Our experimental findings demonstrate that the proposed attack is effective across all evaluated targets. Furthermore, we present the other side of our SOS technique, namely the copyright token -- a novel technique that enables users to mark their copyrighted content and prevent models from using it.

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

↑