PRP: Propagating Universal Perturbations to Attack Large Language Model Guard-Rails
arXiv (Cornell University)(2024)
摘要
Large language models (LLMs) are typically aligned to be harmless to humans.Unfortunately, recent work has shown that such models are susceptible toautomated jailbreak attacks that induce them to generate harmful content. Morerecent LLMs often incorporate an additional layer of defense, a Guard Model,which is a second LLM that is designed to check and moderate the outputresponse of the primary LLM. Our key contribution is to show a novel attackstrategy, PRP, that is successful against several open-source (e.g., Llama 2)and closed-source (e.g., GPT 3.5) implementations of Guard Models. PRPleverages a two step prefix-based attack that operates by (a) constructing auniversal adversarial prefix for the Guard Model, and (b) propagating thisprefix to the response. We find that this procedure is effective acrossmultiple threat models, including ones in which the adversary has no access tothe Guard Model at all. Our work suggests that further advances are required ondefenses and Guard Models before they can be considered effective.
更多查看译文
关键词
Language Modeling,Topic Modeling
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
数据免责声明
页面数据均来自互联网公开来源、合作出版商和通过AI技术自动分析结果,我们不对页面数据的有效性、准确性、正确性、可靠性、完整性和及时性做出任何承诺和保证。若有疑问,可以通过电子邮件方式联系我们:report@aminer.cn