Abstract
Large language models (LLMs) have seen rapid development in recent years, revolutionizing various applications and significantly enhancing convenience and productivity. However, alongside their impressive capabilities, ethical concerns and new types of attacks, such as jailbreaking, have emerged. While most prompting techniques focus on optimizing adversarial inputs for individual cases, resulting in higher computational costs when dealing with large datasets. Less research has addressed the more general setting of training a universal attacker that can transfer to unseen tasks. In this paper, we introduce JUMP, a prompt-based method designed to jailbreak LLMs using universal multi-prompts. We also adapt our approach for defense, which we term DUMP. Experimental results demonstrate that our method for optimizing universal multi-prompts outperforms existing techniques.
Abstract (translated)
近年来,大型语言模型(LLMs)得到了迅速发展,革新了各种应用,并显著提高了便利性和生产力。然而,在这些令人印象深刻的性能背后,伦理问题和新型攻击手段(如破解攻击)也随之出现。大多数提示技术主要集中在为个别案例优化对抗性输入上,这在处理大规模数据集时会导致更高的计算成本。相比之下,较少的研究关注于训练一种能够应用于未知任务的通用型攻击者。本文中,我们介绍了JUMP方法,这是一种基于提示的技术,旨在使用通用多提示来破解大型语言模型(LLMs)。此外,我们将该方法适应于防御目的,并将其命名为DUMP。实验结果显示,我们的优化通用多提示的方法超越了现有的技术。
URL
https://arxiv.org/abs/2502.01154