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

CoSPED:一致的软提示定向数据提取与防御

CoSPED: Consistent Soft Prompt Targeted Data Extraction and Defense

Cybersecurity Strategic Technology Centre, ST Engineering(新加坡科技工程集团网络安全战略技术中心)

Zhuochen Yang, Kar Wai Fok, Vrizlynn L. L. Thing

AI总结:

CoSPED通过动态损失、加性损失等创新组件提升软提示调优一致性,实现高提取率并有效防御软提示攻击。

摘要:

大型语言模型近年来受到广泛关注,但其潜在的安全漏洞,尤其是隐私泄露问题也逐渐显现。为了测试和评估LLM中的数据提取风险,我们提出了CoSPED,即一致的软提示定向数据提取与防御。我们引入了几个创新组件,包括动态损失、加性损失、共同损失以及自一致性解码策略,并测试以增强软提示调优过程的一致性。通过广泛实验各种组合,我们实现了在50个token前缀比较下的提取率为65.2%。我们对CoSPED与其他参考作品的比较确认了我们的优越提取率。我们评估了CoSPED在更多场景中,实现了Pythia模型的提取率为51.7%,并引入了跨模型比较。最后,我们通过Rank-One模型编辑进行防御,使提取率降低至1.6%,这证明了我们对提取机制的分析可以直接指导针对基于软提示攻击的有效缓解策略。

英文摘要:

Large language models have gained widespread attention recently, but their potential security vulnerabilities, especially privacy leakage, are also becoming apparent. To test and evaluate for data extraction risks in LLM, we proposed CoSPED, short for Consistent Soft Prompt targeted data Extraction and Defense. We introduce several innovative components, including Dynamic Loss, Additive Loss, Common Loss, and Self Consistency Decoding Strategy, and tested to enhance the consistency of the soft prompt tuning process. Through extensive experimentation with various combinations, we achieved an extraction rate of 65.2% at a 50-token prefix comparison. Our comparisons of CoSPED with other reference works confirm our superior extraction rates. We evaluate CoSPED on more scenarios, achieving Pythia model extraction rate of 51.7% and introducing cross-model comparison. Finally, we explore defense through Rank-One Model Editing and achieve a reduction in the extraction rate to 1.6%, which proves that our analysis of extraction mechanisms can directly inform effective mitigation strategies against soft prompt-based attacks.

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

↑