伟大的伪装者:大语言模型 jailbreak 中的一个随机性问题
The Great Pretender: A Stochasticity Problem in LLM Jailbreak
AI总结:
本文研究了大语言模型 jailbreak 中随机性对攻击成功率的影响,提出新的评估和生成框架,发现攻击成功率存在不稳定性且易被高估。
摘要:
哦-哦,是的,我是伟大的伪装者。假装我做得很好。我的需求如此,我伪装得太多……总结了在jailbreak创建和评估领域的情况。你发现这种方法生成对抗攻击的方法是由一个声誉良好的机构(例如Anthropic的BoN或Microsoft Research的Crescendo)提出。然而,尽管在对抗行业级LLM时有顶级的ASR分数,这种方法却未能兑现论文中所声称的承诺。你成功地生成了针对目标(开放)模型的jailbreak提示。然而,生成的jailbreak提示在目标模型上的连续成功率为50%(10次尝试中5次成功),尽管它在最新闭源模型(带有防护系统)上的ASR为80%!这一观察使我们思考。首先,攻击成功率(ASR),作为LLM jailbreak基准测试的主要指标,不是一个稳定的量。其次,发表的ASR数字因此系统性地被高估,并且在不同论文之间不可比。因此,我们不禁问:“为什么一个成功的jailbreak提示在目标模型上并不一致地表现良好,而该提示已经在该模型上进行了优化?”为了回答这个问题,我们研究了随机性不仅在攻击评估期间,而且在攻击生成期间的影响。我们的评估包括几种jailbreak攻击、模型(不同大小和提供者)和评判者。此外,我们提出了一种新的度量标准和两个新的框架(CAS-eval和CAS-gen)。我们的评估框架CAS-eval显示,当jailbreak提示需要在多次尝试中成功时,攻击的ASR可能下降多达30个百分点。幸运的是,我们的攻击生成框架(CAS-gen)改进了先前的jailbreak方法,并帮助它们恢复这30个百分点的损失!
英文摘要:
"Oh-Oh, yes, I'm the great pretender. Pretending that I'm doing well. My need is such, I pretend too much..." summarizes the state in the area of jailbreak creation and evaluation. You find this method to generate adversarial attacks proposed by a reputable institution (e.g., BoN from Anthropic or Crescendo from Microsoft Research). However, this method does not deliver on the promise claimed in the paper despite having top ASR scores against industry-grade LLMs. You successfully generate the jailbreak prompts against your target (open) model. However, the generated jailbreak prompt works against the target model with a 50% consecutive success rate (5 out of 10 attempts) despite having an 80% ASR (on paper) on the latest closed-source model (with a guardrail system)! This observation leads us to think. First, Attack Success Rate (ASR), the primary metric for LLM jailbreak benchmarking, is not a stable quantity. Second, published ASR numbers are therefore systematically inflated and incomparable across papers. Therefore, we wonder "Why a successful jailbreak prompt does not perform consistently well against a target model on which the prompts have been optimized?". To answer this question, we study the impact of stochasticity not only during attack evaluation but also during attack generation. Our evaluation includes several jailbreak attacks, models (different sizes and providers), and judges. In addition, we propose a new metric and two new frameworks (CAS-eval and CAS-gen). Our evaluation framework, CAS-eval, shows that an attack can have an ASR drop of up to 30 percentage points when a jailbreak prompt needs to succeed on more than one attempt. Thankfully, our attack generation framework (CAS-gen) improves previous jailbreak methods and helps them recover this loss of 30 percentage points!
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。