arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.23779cs.CRcs.AIcs.LG
收藏

提示诱导的过度生成作为拒绝服务:一种黑盒攻击侧基准

Prompt-Induced Over-Generation as Denial-of-Service: A Black-Box Attack-Side Benchmark

Western Sydney University(西悉尼大学);The University of Sydney(悉尼大学);University of New South Wales(新南威尔士大学);University of Wollongong(沃尔灵龙大学)

Manu, Yi Guo, Kanchana Thilakarathna, Nirhoshan Sivaroopan, Jo Plested, Tim Lynar, Jack Yang, Wangli Yang

AI总结:

研究提出两种基于提示的攻击方法,通过过度生成引发拒绝服务攻击,并引入过度生成因子评估攻击效果。

摘要:

大型语言模型(LLMs)可以被驱动进入过度生成,生成数千个标记后再生成结束序列(EOS)标记。这会降低回答质量,增加延迟和成本,并可以被用作拒绝服务(DoS)攻击。近期的研究开始研究DoS风格的提示攻击,但通常专注于单一攻击算法或假设白盒访问,没有一个攻击侧基准,该基准在黑盒、仅查询的环境下比较基于提示的攻击者。我们引入了这样的基准,并研究了两种仅基于提示的攻击者。第一种是进化过度生成提示搜索(EOGen),它在标记空间中搜索抑制EOS并诱导长延续的前缀。第二种是目标条件强化学习攻击者(RL-GOAL),它训练一个网络生成受目标长度条件的前缀。为了表征行为,我们引入了过度生成因子(OGF):生成的标记与模型上下文窗口的比例,以及停滞和延迟汇总。EOGen发现短前缀攻击使Phi-3的OGF达到1.39±1.14(成功率≥2:25.2%);RL-GOAL几乎将严重性翻倍至OGF=2.70±1.43(成功率≥2:64.3%),并使46%的试验驱动预算耗尽的非终止。

英文摘要:

Large Language Models (LLMs) can be driven into over-generation, emitting thousands of tokens before producing an end-of-sequence (EOS) token. This degrades answer quality, inflates latency and cost, and can be weaponized as a denial-of-service (DoS) attack. Recent work has begun to study DoS-style prompt attacks, but typically focuses on a single attack algorithm or assumes white-box access, without an attack-side benchmark that compares prompt-based attackers in a black-box, query-only regime with a known tokenizer. We introduce such a benchmark and study two prompt-only attackers. The first is an Evolutionary Over-Generation Prompt Search (EOGen) that searches the token space for prefixes that suppress EOS and induce long continuations. The second is a goal-conditioned reinforcement learning attacker (RL-GOAL) that trains a network to generate prefixes conditioned on a target length. To characterize behavior, we introduce Over-Generation Factor (OGF): the ratio of produced tokens to a model's context window, along with stall and latency summaries. EOGen discovers short-prefix attacks that raise Phi-3 to OGF = 1.39 +/- 1.14 (Success@>=2: 25.2%); RL-GOAL nearly doubles severity to OGF = 2.70 +/- 1.43 (Success@>=2: 64.3%) and drives budget-hit non-termination in 46% of trials.

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

↑