[论文解读] Not All Tokens Are Created Equal: Query-Efficient Jailbreak Fuzzing for LLMs
该论文提出了 TriageFuzz,这是一个面向令牌的越狱 fuzzing 框架,使用代理模型定位拒绝敏感区域,并采用拒绝引导的进化策略,在预算有限的情况下以显著更少的查询次数实现高攻击成功率。
Large Language Models(LLMs) are widely deployed, yet are vulnerable to jailbreak prompts that elicit policy-violating outputs. Although prior studies have uncovered these risks, they typically treat all tokens as equally important during prompt mutation, overlooking the varying contributions of individual tokens to triggering model refusals. Consequently, these attacks introduce substantial redundant searching under query-constrained scenarios, reducing attack efficiency and hindering comprehensive vulnerability assessment. In this work, we conduct a token-level analysis of refusal behavior and observe that token contributions are highly skewed rather than uniform. Moreover, we find strong cross-model consistency in refusal tendencies, enabling the use of a surrogate model to estimate token-level contributions to the target model's refusals. Motivated by these findings, we propose TriageFuzz, a token-aware jailbreak fuzzing framework that adapts the fuzz testing approach with a series of customized designs. TriageFuzz leverages a surrogate model to estimate the contribution of individual tokens to refusal behaviors, enabling the identification of sensitive regions within the prompt. Furthermore, it incorporates a refusal-guided evolutionary strategy that adaptively weights candidate prompts with a lightweight scorer to steer the evolution toward bypassing safety constraints. Extensive experiments on six open-source LLMs and three commercial APIs demonstrate that TriageFuzz achieves comparable attack success rates (ASR) with significantly reduced query costs. Notably, it attains a 90% ASR with over 70% fewer queries compared to baselines. Even under an extremely restrictive budget of 25 queries, TriageFuzz outperforms existing methods, improving ASR by 20-40%.
研究动机与目标
- 识别 LLM 的拒绝行为是否稀疏且区域特异,而非在提示间均匀分布。
- 证明拒绝倾向与语义在跨模型上的一致性,以支持代理引导的定位。
- 开发一个查询高效的黑箱越狱框架,聚焦变异于拒绝敏感区域。
- 在开源 LLM 与商业 API 上在现实查询预算下评估 TriageFuzz。
- 评估对防御措施及代理/攻击模型选择的鲁棒性。
提出的方法
- 进行令牌级分析,展示拒绝贡献的偏斜性及跨模型的一致性。
- 使用白盒代理估计拒绝敏感区域并引导有针对性的语义改写。
- 引入轻量级拒绝评分器,在进化过程中对候选提示进行排序。
- 仅对已识别的拒绝敏感区域进行变异,以在维持任务意图的同时绕过安全信号。
- 利用带 softmax 权重的拒绝引导进化策略分配变异预算。
- 识别并修正最具影响力的注意力头,以推导令牌级的拒绝重要性。
实验结果
研究问题
- RQ1令牌对拒绝的贡献是否存在差异,代理模型能否有效定位敏感区域?
- RQ2拒绝行为在跨模型上是否足够一致,以实现代理引导的黑箱攻击?
- RQ3在严格预算下,令牌感知的变异是否比均匀变异提高查询效率?
- RQ4TriageFuzz 对不同代理/攻击模型以及商业 API 的防御是否鲁棒?
主要发现
- TriageFuzz 在六个开源 LLM 与三个商业 API 上实现了可比的攻击成功率,同时显著降低查询成本。
- 方法在比基线少 70% 以上的查询下达到 90% 的 ASR。
- 在 GPT-4o 上达到 84% 的 ASR,仅需 25 次查询;在 GPT-3.5 上为 94% ASR。
- 拒绝行为呈现偏斜且跨模型一致,支持基于代理的定位。
- 令牌感知的区域变异在严格预算下优于均匀变异。
- TriageFuzz 在三种防御设置及不同代理/攻击模型下仍然鲁棒。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。