ReasoningBomb: 通过诱导病态长推理实现隐蔽的拒绝服务攻击
ReasoningBomb: A Stealthy Denial-of-Service Attack by Inducing Pathologically Long Reasoning in Large Reasoning Models
AI总结:
ReasoningBomb通过生成短自然提示诱导大型推理模型进入病态长推理,实现隐蔽的拒绝服务攻击,具有高放大率、隐蔽性和可优化性。
摘要:
大型推理模型(LRMs)通过显式多步推理轨迹扩展了大型语言模型,但这种能力引入了一种新的由提示诱导的推理时间拒绝服务(PI-DoS)攻击,该攻击利用了推理的高计算成本。我们首先正式化LRMs的推理成本,并定义PI-DoS,然后证明任何实际的PI-DoS攻击应满足三个特性:(1)高放大率,即每个查询诱导的推理轨迹相对于其自身长度不成比例地长;(ii)隐蔽性,在自然语言流形上保持提示和响应,逃避分布转移检测器;(iii)可优化性,即攻击支持高效的优化,而不被其自身成功所减慢。在此框架下,我们提出了ReasoningBomb,一个基于强化学习的PI-DoS框架,由一个常数时间的替代奖励引导,并训练一个大型推理模型攻击者生成短自然提示,使受害者LRMs陷入病态长且往往无效终止的推理。在七个开源模型(包括LLMs和LRMs)和三个商业LRMs上,ReasoningBomb平均诱导18,759个完成标记和19,263个推理标记。它在完成标记上比亚军基线高出35%,在推理标记上高出38%,同时诱导的标记比良性查询多6-7倍,平均放大率达到286.7倍。此外,我们的方法在输入基于检测上达到99.8%的绕过率,在输出基于检测上达到98.7%,在严格双阶段联合检测上达到98.4%。
英文摘要:
Large reasoning models (LRMs) extend large language models with explicit multi-step reasoning traces, but this capability introduces a new class of prompt-induced inference-time denial-of-service (PI-DoS) attacks that exploit the high computational cost of reasoning. We first formalize inference cost for LRMs and define PI-DoS, then prove that any practical PI-DoS attack should satisfy three properties: (1) a high amplification ratio, where each query induces a disproportionately long reasoning trace relative to its own length; (ii) stealthiness, in which prompts and responses remain on the natural language manifold and evade distribution shift detectors; and (iii) optimizability, in which the attack supports efficient optimization without being slowed by its own success. Under this framework, we present ReasoningBomb, a reinforcement-learning-based PI-DoS framework that is guided by a constant-time surrogate reward and trains a large reasoning-model attacker to generate short natural prompts that drive victim LRMs into pathologically long and often effectively non-terminating reasoning. Across seven open-source models (including LLMs and LRMs) and three commercial LRMs, ReasoningBomb induces 18,759 completion tokens on average and 19,263 reasoning tokens on average across reasoning models. It outperforms the the runner-up baseline by 35% in completion tokens and 38% in reasoning tokens, while inducing 6-7x more tokens than benign queries and achieving 286.7x input-to-output amplification ratio averaged across all samples. Additionally, our method achieves 99.8% bypass rate on input-based detection, 98.7% on output-based detection, and 98.4% against strict dual-stage joint detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。